LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-27-2011, 12:23 PM   #1
kato.jacob
LQ Newbie
 
Registered: Apr 2011
Posts: 2

Rep: Reputation: 0
Thumbs up changing user to root user in obuntu 10.04lts


how to change user to root user in obuntu 10.04
 
Old 06-27-2011, 12:36 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Hi, welcome to LQ,

sudo -i


Cheers,
Tink
 
Old 06-27-2011, 12:57 PM   #3
kato.jacob
LQ Newbie
 
Registered: Apr 2011
Posts: 2

Original Poster
Rep: Reputation: 0
changing user to root user

i have user called keith . so my question how to add this user to be a root user
 
Old 06-27-2011, 01:34 PM   #4
Karl Godt
Member
 
Registered: Mar 2010
Location: Kiel , Germany
Distribution: once:SuSE6.2,Debian3.1, aurox9.2+3,Mandrake?,DSL? then:W7st,WVHB, #!8.10.02,PUPPY4.3.1 now:Macpup
Posts: 314

Rep: Reputation: 45
I once tried to change that on CrunchBang 8 also Ubuntu based with setting the minimum login number to 0
and changed also other entries , but in the end I had dialog(whiptail) running saying some obscure permission things , which I could bypass by another tty ,
but somehow I did not boot that installation a long time and when I tried it again , nothing worked anymore as expected .

It is possible to get a root screen on another tty from the menu @Xubuntu10.04 but I can not remember exactly anymore .

In fact I had a problem running firefox as user , because firefox had no write permissions in my username HOME directory . Took me quite a while to figure that out .
 
Old 06-27-2011, 01:40 PM   #5
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,194

Rep: Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182
Quote:
Originally Posted by kato.jacob View Post
i have user called keith . so my question how to add this user to be a root user
Add the user keith to the "admin" group; then Keith can use "sudo" to perform administrative tasks:

https://help.ubuntu.com/community/RootSudo#Allowing other users to run sudo
https://help.ubuntu.com/community/RootSudo
 
Old 06-28-2011, 04:46 AM   #6
digsecurity
Member
 
Registered: Apr 2010
Posts: 54

Rep: Reputation: 18
Quote:
Originally Posted by kato.jacob View Post
i have user called keith . so my question how to add this user to be a root user
Execute the following command from root:
Code:
echo 'username ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
Now you can use "sudo" to execute any administrative command.
 
1 members found this post helpful.
Old 06-28-2011, 07:28 AM   #7
Nauntilus
Member
 
Registered: Oct 2005
Distribution: All of them
Posts: 137

Rep: Reputation: 17
You can also add the account to the sudoers file in the /etc directory. At least I think that's where it is.
 
  


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
changing root directory of a user shanecaldeiro Linux - Newbie 10 05-19-2009 12:30 AM
changing user, root, password! itz2000 Linux - Newbie 3 11-19-2005 03:31 AM
changing login from root to a regular user paul62 Slackware 4 10-13-2004 02:17 AM
Changing user's passwords from the root accont Quartzophobia Linux - General 5 01-25-2004 07:27 AM
changing a regular user's password using root Pete Dogg Linux - General 2 11-28-2003 10:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration