Using the PATH variable in sudo
Ladner, Eric (Eric.Ladner)
Eric.Ladner at chevrontexaco.com
Tue Aug 19 10:51:35 EDT 2003
Sudo uses the PATH from the users environment unless sudo was compiled
with the SECURE_PATH set to something.
Either the admins need to add the paths to THEIR environment (i.e. add
/usr/sbin/ or whatever to their path) or recompile sudo with SECURE_PATH
set to something sane like /usr/bin:/usr/sbin/:.. Etc.
From: Salum, Felipe [mailto:felipe.salum at eds.com]
Sent: Tuesday, August 19, 2003 8:32 AM
To: 'sudo-users at sudo.ws'
Subject: Using the PATH variable in sudo
I have a problem in sudo that when the sys admins have to run a command
as root the need to run via sudo because I blocked the "sudo su -"
command. So they need to type the full path of the command to execute.
Many times they dont know the full path of the command, for example, to
I would like to know how could I import the path variable of root to the
sudo configuration ?
sudo-users mailing list <sudo-users at sudo.ws>
For list information, options, or to unsubscribe, visit:
More information about the sudo-users