Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-01-2007, 11:06 PM   #1
Registered: Aug 2005
Distribution: Debian Stable
Posts: 216

Rep: Reputation: 17
adduser adding an administrator

How do I add an administrative user via terminal after hiting "ctrl+alt+1"?

At the moment, I'm using Ubuntu Feisty's Live-CD; it's giving me login problems.

I figure I need to know what group the user "ubuntu" is in. That's the one that gives me administrative control.

I can't figure this out. I can't really find too much information on the web to make an admin account. All I end up doing is making user accounts; I need admin control.
Old 09-02-2007, 03:45 AM   #2
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You use root for "admin" purposes. With Ubuntu, just prefix all commands with "sudo" when you need to do something as root (e.g. "sudo ifconfig eth0 up"), then enter your user password when prompted. If you want to be able to use the root account as you would in another distro, then set a password for it with "sudo passwd -l root". You'll then be able to use su to get root powers.
Old 09-02-2007, 09:08 PM   #3
Registered: Aug 2005
Distribution: Debian Stable
Posts: 216

Original Poster
Rep: Reputation: 17
That's not the answer I was looking for. I tried using adduser, and it gave me a basic account that couldn't sudo.
Old 09-02-2007, 09:30 PM   #4
Senior Member
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
just use the account it gives you and use sudo
Old 09-03-2007, 11:43 AM   #5
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 233Reputation: 233Reputation: 233
Warning: I don't use the *buntu's in large measure for this reason, so my advice may not work & I have no way to test it.

I think:
 sudo usermod -G admin <user_name>
will fix your problem.

groups ubuntu
should answer your Q about what groups the user "ubuntu" belongs to.

Last edited by archtoad6; 09-03-2007 at 11:47 AM.


adduser, administrator, terminal

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
"adduser" not adding users to default group "users" PunkPT Slackware 2 09-23-2004 12:50 PM
adduser how? hraposo Slackware 8 08-20-2004 08:35 AM
adduser bally Linux - General 7 08-09-2004 02:28 PM
adduser help qages Linux - General 7 01-27-2003 07:16 PM
Adduser... Chijtska Linux - General 5 02-15-2002 08:53 AM

All times are GMT -5. The time now is 03:43 AM.

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