[kwlug disc.] Doom 3 install permissions...
Chris Irwin
chris at chrisirwin.ca
Mon Nov 5 01:24:24 EST 2007
On Fri, 2007-11-02 at 13:46 -0400, R. Brent Clements wrote:
> Sudo lets you run a program with root privilages using your regular
> login password (tho it is possible to create users that don't have
> that ability obviously). su will start a shell under a different
> user--by default root--by specifying the root password. if you are
> root, you can use su to "log in" as any user without a password. so
> if you type "sudo su -" into your shell, it will ask you for your
> password if you haven't typed it in in the last couple of minutes, and
> the sudo program grants root permissions to the su program to create a
> shell for the default user--root--and doesn't need the root password
> to do it.
If you're going to do `sudo su -` , you may as well just use `sudo -i` .
The -i is for "simulate initial login" (from `man sudo`), which is what
the trailing dash does for su.
--
Chris Irwin <chris at chrisirwin.ca>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://listserv.ccjclearline.com/pipermail/kwlug-disc/attachments/20071105/3ca5e3ba/attachment.bin
More information about the KWLUG-Disc
mailing list