On Wed, 2004-06-02 at 13:17, Ken Schneider wrote:
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".
Close enough. man su NAME su - run a shell with SUBSTITUTE USER and group IDs I know... means the same thing, but I feel, what the heck, if yer gonna get technical, be correct. `*8) -- Brad Shelton On Line Exchange http://www.ole.net Phone: 313-526-1111 Fax: 313-526-3333