On Wed, 2004-06-02 at 12:55, Jeffrey L. Taylor wrote:
On Monday 31 May 2004 01:34, Doug McGarrett wrote:
On Sunday 30 May 2004 14:59, Patrick Shanahan wrote: /snip/
/bin/ls: kde3: Permission denied
you need root access, ie: su or sudo or sux...
I can't believe that so much stuff is perms denied in these later versions of Linux. I could deal with the eralier versions. Now, someone please tell me what is the difference between su and sudo and sux. And why?
"su" is the standard command to change users. Plain "su" changes to root with the current environment (environment variables like $HOME, aliases, etc.). I.e., you run with root's permissions only. "su -" changes to root and adopts root's environment. I.e., you are essentially logged in as root (there are slight differences that usually can be ignored). And "su - user" changes to a user "user" with that user's environment.
Also you might note that "su" does -not- stand for "SuperUser" it stands for "Switch User". -- Ken Schneider unix user since 1989 linux user since 1994 SuSE user since 1998 (5.2)