LinuxQuestions.org
Review your favorite Linux distribution.
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 09-20-2006, 01:33 PM   #1
royeo
Member
 
Registered: Jun 2006
Posts: 150

Rep: Reputation: 15
What is the difference between su and su -


I'm often in a terminal and need to be in super user mode. I used to just enter "su" but now I use "su -". I figure I can't lose by having too much but I just don't know. Are there times when you shouldn't use "su -"?

Thanks,

royeo
 
Old 09-20-2006, 01:46 PM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
nice question, even I wanted to know the diff.
here is what I found
http://www.linuxquestions.org/questi...d.php?t=303999
 
Old 09-20-2006, 04:01 PM   #3
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
su - turns you into root while su just gives you the privileges.
 
  


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
Difference between RH AS vs. RH ES davidtcw Linux - Newbie 1 03-31-2006 10:07 AM
what is the difference? mjm70 Mandriva 1 06-14-2005 12:04 PM
What's the difference? fannymites Linux - Software 4 12-01-2004 06:01 PM
What a difference... perry General 3 12-04-2003 06:52 PM
What's the Difference New2Linux1978 Linux - Newbie 4 05-14-2003 07:58 PM


All times are GMT -5. The time now is 11:43 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