LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-04-2011, 06:07 PM   #1
TEC.Turtle
LQ Newbie
 
Registered: Jan 2011
Posts: 12

Rep: Reputation: 0
Ubuntu dual boot


I have windows 7 and ubuntu 10.04 on my laptop. when I attempt to update it sits at authenticating after I hit cancel it updates. Also it will not let me create users. I get that I need to be loggeded in as root But it will not except my password when I try to switch users to root.
 
Old 02-04-2011, 07:17 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
You add users by clicking on System at the top of the screen. The click on Administration, then click on Users and Groups. When it asks you for a password you enter your normal user password.
 
Old 02-04-2011, 07:41 PM   #3
TEC.Turtle
LQ Newbie
 
Registered: Jan 2011
Posts: 12

Original Poster
Rep: Reputation: 0
So you cant use adduser on the command line?
 
Old 02-04-2011, 07:44 PM   #4
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Quote:
Originally Posted by TEC.Turtle View Post
So you cant use adduser on the command line?
You can but it is easier to use the GUI application.

Command line version:
Code:
sudo adduser -m <newuser>
sudo passwd newuser
When sudo asks for a password you enter your normal user password.
If you enter the second command right away then sudo will not ask you for a password for that second invocation.

<newuser> should be replaced with the actual name of the new user account.

Last edited by stress_junkie; 02-04-2011 at 07:48 PM.
 
Old 02-04-2011, 07:59 PM   #5
TEC.Turtle
LQ Newbie
 
Registered: Jan 2011
Posts: 12

Original Poster
Rep: Reputation: 0
Ok then here is the deal when I add a new user it ask's for my password when I put it in it tells me that it is not a valid password. I know it is. I've used Ubuntu for the past 6 months so I've done this before but this is the first machine I've used duel boot and it seems to be doing things like this. Is there an issue with duel boot? Or is it just me?
 
Old 02-04-2011, 08:02 PM   #6
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
It has nothing to do with dual boot. Once the Linux kernel is running then neither the boot loader nor Windows has any effect on the running Linux system.

Do you use your password to log on when you turn the machine on? I only ask because if your machine automatically logs you on then it is possible that you have forgotten your password.
 
Old 02-04-2011, 08:16 PM   #7
TEC.Turtle
LQ Newbie
 
Registered: Jan 2011
Posts: 12

Original Poster
Rep: Reputation: 0
Nope I never let it just log on. It just seems to have an issue with autenticating my password when I do any administrative stuff. Are there any logs I can check?
 
Old 02-04-2011, 08:22 PM   #8
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
It is possible that your normal user account is no longer allowed to use sudo. Unfortunately if that is true then it will be difficult to fix. You need to be a member of an admin group to fix things like this.

Try this. Open a terminal window and enter the following command.
Code:
groups
You should see a list of user groups similar to this.
Quote:
adm dialout cdrom floppy plugdev users lpadmin admin
In Ubuntu any account that is a member of the admin user group is allowed to use sudo.
 
Old 02-04-2011, 08:39 PM   #9
TEC.Turtle
LQ Newbie
 
Registered: Jan 2011
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks for the help I figured out what I was doing. I was using su root instead of sudo sh.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual boot Dual hdds, Download of ubuntu 10.1, no vista or dual boot jim d Linux - Newbie 4 11-25-2010 04:18 PM
Dual boot Dual Drive Ubuntu Jaunty & XP - Advice on Best Way? Paul Langdon Linux - Newbie 4 05-28-2009 05:11 AM
Dual boot: Ubuntu 8.04 and XP. XP won't boot now - loops back to Ubuntu Slowbey Linux - Newbie 9 01-05-2009 02:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 08:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration