LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-10-2008, 03:37 PM   #1
RHLinuxGUY
Member
 
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889
Blog Entries: 1

Rep: Reputation: 30
Erased old account for new one; forgot to give admin priv to new account.


On a laptop I recently sold, I erased the old account and made a new one. But for the new one, I forgot to give admin privileges. (i.e. Account Settings -> User Priv. -> "Administer the System")

Now I can't login as root from login screen, (only through one of the virtual terminals) or admin the system from my new account. Since I can login through the virtual terminal, how would I go about changing the new user account to have admin privileges?
 
Old 08-10-2008, 04:07 PM   #2
Clemente
Member
 
Registered: Aug 2003
Distribution: Debian, Ubuntu
Posts: 188

Rep: Reputation: 30
Hi,
if you really can login as root - from any terminal - you can run
Code:
adduser $(USER) adm 
adduser $(USER) admin
to add the $(USER) to the groups adm and admin. I am pretty sure that one of these groups is the Ubuntu admin group. I think the admin group is the correct one.
If you can not login as root, you have to work with a boot CD - but this would be topic of another posting.
Greet-o-mente

Last edited by Clemente; 08-11-2008 at 02:51 AM.
 
Old 08-10-2008, 05:19 PM   #3
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
Quote:
Originally Posted by Clemente View Post
Hi,
if you really can login as root - from any terminal - you can run
Code:
adduser $(USER) adm 
adduser $(USER) admin
to add the $(USER) to the groups adm and admin. I am pretty sure that one of these groups is the Ubuntu admin group. I think the admin group is the correct one.
If can not login as root, you have to wirk with a boot CD - but this would be topic of another posting.
Greet-o-mente
admin is the correct group.
 
Old 08-10-2008, 07:56 PM   #4
RHLinuxGUY
Member
 
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889

Original Poster
Blog Entries: 1

Rep: Reputation: 30
Thanks I forgot about that.
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
creating admin account venki Linux - Networking 2 10-26-2006 02:15 AM
is it legitimate and allowed and can be done to make another user account set uid and gid to null 0 to make another root account with different name and possibly not damage the debian system creating and using that new account BenJoBoy Linux - Newbie 12 01-29-2006 10:02 AM
domain admin account ? alris Linux - Networking 0 11-01-2004 08:15 PM
Forgot my user account password Gilbert Linux - Newbie 1 02-22-2004 11:51 PM
Resetting Admin Account mcronin Linux - Software 0 07-03-2002 12:29 AM

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

All times are GMT -5. The time now is 11:15 AM.

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