Related Articles

5 users responded in this post

Subscribe to this post comment rss or trackback url
User Gravatar
Tim Wright said in August 29th, 2006 at 3:57 pm

I don’t get it.

User Gravatar
Adrienne said in August 29th, 2006 at 8:20 pm

THAT’S FUCKING AWESOME. I’m STEALING YOUR BANDWITH for all five people who will see it in my LiveJournal, ok? If that’s not ok let me know and I’ll steal it download and Put it somewhere. But THAT’S FUCKING AWESOME

User Gravatar
Chris' Squeeze said in August 30th, 2006 at 5:18 am

Is that supposed to be “pseudo” as in “kind of” — or is he asking for a pseudo sandwich?

Or is Sudo some analog for Please?

Seems there’s a knowledge base involved with this that I just don’t have.

User Gravatar
Christine said in August 30th, 2006 at 12:13 pm

- GEEK ON -

sudo allows a permitted user to execute a command as the superuser or another user, as specified in the sudoers file. The real and effective uid and gid are set to match those of the target user as specified in the passwd file and the group vector is initialized based on the group file (unless the -P option was specified). If the invoking user is root or if the targetuser is the same as the invoking user, no password is required. Otherwise, sudo requires that users authenticate themselves with a password by default (NOTE: in the default configuration this is the user’s password, not the root password). Once a user has been authenticated, a timestamp is updated and the user may then use sudo without a password for a short period of time (5 minutes unless overridden in sudoers).

- GEEK OFF -

Basically sudo allows you to execute a command as another user. I often use sudo because:

1. If I make an awesomely horrible mistake or a typo (rm -rf anyone?) I am not root and permission will be denied. If I really want to make that awesomely horrible mistake I have to type “sudo awesomely horrible mistake.” It wont stop me but it will make me stop and consider, if just for a second.
2. I use a logwatch and it records all sudo activities so I now have a record of my awesomely horrible mistake.

User Gravatar
Chris' Squeeze said in August 31st, 2006 at 5:43 am

And exicuting a command on you like “Sudo make me a sandwich” WOULD be an Awesomely Horrible Mistake®.

Leave A Reply

 Username (Required)

 Email Address (Remains Private)

 Website (Optional)