LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 09-01-2007, 10:06 PM   #1
Cyberman
Member
 
Registered: Aug 2005
Distribution: Debian Stable
Posts: 187

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, 02:45 AM   #2
Nylex
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, 08:08 PM   #3
Cyberman
Member
 
Registered: Aug 2005
Distribution: Debian Stable
Posts: 187

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, 08:30 PM   #4
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

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

Rep: Reputation: 231Reputation: 231Reputation: 231
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:
Code:
 sudo usermod -G admin <user_name>
will fix your problem.

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

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


Reply

Tags
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 11:50 AM
adduser how? hraposo Slackware 8 08-20-2004 07:35 AM
adduser bally Linux - General 7 08-09-2004 01:28 PM
adduser help qages Linux - General 7 01-27-2003 06:16 PM
Adduser... Chijtska Linux - General 5 02-15-2002 07:53 AM


All times are GMT -5. The time now is 08:04 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration