LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 03-31-2010, 10:27 AM   #1
jbumgarjr
LQ Newbie
 
Registered: Jul 2006
Posts: 28

Rep: Reputation: 15
setup myself up as root user


when i type in su in the terminal it asks me for a pwd. I type in my user pwd and it denies me. So how do I set myself up as a root user?
 
Old 03-31-2010, 10:29 AM   #2
JimBrewster
Member
 
Registered: Feb 2010
Location: usa:/dev/random
Distribution: Slackware, Salix
Posts: 237

Rep: Reputation: 59
You need to enter the root password. If you don't know it that's another issue. If you have sudo set up that takes your user password. Thus to run a root shell you can enter 'sudo su' or 'sudo su -'

Last edited by JimBrewster; 03-31-2010 at 10:31 AM. Reason: Posted too soon!
 
Old 03-31-2010, 10:36 AM   #3
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
In Ubuntu you run commands needing root permission with sudo command (then your own password).
 
Old 03-31-2010, 10:50 AM   #4
bret381
Member
 
Registered: Nov 2009
Location: Alabama
Distribution: Arch x86_64
Posts: 650

Rep: Reputation: 78
you can set a root password with sudo passwd, but sudo -i will give you the same access and you won't have to type sudo before everything
 
Old 03-31-2010, 11:02 AM   #5
jbumgarjr
LQ Newbie
 
Registered: Jul 2006
Posts: 28

Original Poster
Rep: Reputation: 15
Go back to being a user

ok that worked for being root. Now I want to return as a user. How would this noob do this?
 
Old 03-31-2010, 11:05 AM   #6
bret381
Member
 
Registered: Nov 2009
Location: Alabama
Distribution: Arch x86_64
Posts: 650

Rep: Reputation: 78
exit
 
Old 03-31-2010, 11:32 AM   #7
jbumgarjr
LQ Newbie
 
Registered: Jul 2006
Posts: 28

Original Poster
Rep: Reputation: 15
Thanks

A big thanks for all the help!
 
  


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
Adding root privaliges to user accounts or auto login as root Val-Ent Linux - General 15 03-02-2010 05:27 PM
How to change a process running in root-user to non-root user ???????????????????? narendra1310 Linux - Software 4 10-29-2009 03:11 AM
How can I have a script owned as root and run as root by a user: setuid? stickey bit? abefroman Linux - Newbie 9 04-19-2008 06:15 PM
NFS Root setup - can't log in as root after CHMOD ? gallwapa Linux - General 1 04-02-2007 05:31 AM
rh8 to xp non-root user setup via samba johnli2 Linux - Networking 2 05-31-2005 08:32 AM


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