LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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
 
LinkBack Search this Thread
Old 09-20-2006, 12: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, 12: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, 03:01 PM   #3
jstephens84
Senior Member
 
Registered: Sep 2004
Distribution: (Home)Opensolaris, Ubuntu, CentOS, (Work - AIX, HP-UX, Red Hat)
Posts: 2,043

Rep: Reputation: 82
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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between RH AS vs. RH ES davidtcw Linux - Newbie 1 03-31-2006 09:07 AM
what is the difference? mjm70 Mandriva 1 06-14-2005 11:04 AM
What's the difference? fannymites Linux - Software 4 12-01-2004 05:01 PM
What a difference... perry General 3 12-04-2003 05:52 PM
What's the Difference New2Linux1978 Linux - Newbie 4 05-14-2003 06:58 PM


All times are GMT -5. The time now is 04:32 PM.

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
Open Source Consulting | Domain Registration