Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-30-2003, 10:25 AM   #1
LQ Newbie
Registered: Nov 2003
Posts: 4

Rep: Reputation: 0
Angry sudo


I don't know what sudo means...... it is somthing about giving speciel permissions to somthing.....but can anyone tell me what it is???

Old 11-30-2003, 10:28 AM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Welcome to LQ.

man sudo
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 (the group vector is also initialized when the target user is not root). By default,
sudo requires that users authenticate themselves with a password (NOTE: by default 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

sudo determines who is an authorized user by consulting the file /etc/sudoers. By giving sudo the -v
flag a user can update the time stamp without running a command. The password prompt itself will also
time out if the user's password is not entered within 5 minutes (unless overridden via sudoers).

If a user who is not listed in the sudoers file tries to run a command via sudo, mail is sent to the
proper authorities, as defined at configure time or the sudoers file (defaults to root). Note that the
mail will not be sent if an unauthorized user tries to run sudo with the -l or -v flags. This allows
users to determine for themselves whether or not they are allowed to use sudo.

sudo can log both successful and unsuccessful attempts (as well as errors) to syslog(3), a log file, or
both. By default sudo will log via syslog(3) but this is changeable at configure time or via the sudo-
ers file.
Old 11-30-2003, 10:32 AM   #3
LQ Newbie
Registered: Nov 2003
Posts: 4

Original Poster
Rep: Reputation: 0
ok.... I now I understand that......

thank you!


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Restricting Editing in Sudo (Advanced Sudo Question) LinuxGeek Linux - Software 4 11-04-2006 04:20 PM
su and sudo muman Linux - Security 9 12-30-2004 11:55 AM
sudo pk21 Linux - Newbie 7 10-07-2003 08:53 AM
need help with sudo mla Linux - Software 4 10-02-2003 12:05 PM
sudo? nabil Linux - Security 1 02-12-2001 02:18 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:18 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration