[sudo-users] Sudo version 1.7.2

Morgan, Pat Pat.Morgan at bcbsfl.com
Mon Aug 10 09:54:09 EDT 2009


Does anyone have experience using the -i with this new version of sudo.
It seems the only way for me to source the users .profile is to have
/usr/bin/ksh in the /etc/sudoers file for the command.  I obviously do
not want to add /usr/bin/ksh among the commands to run as a particular
user because I could easily become that user by typing "sudo -u username
/usr/bin/ksh" and then run whatever I want.  I have noticed that when I
add /usr/bin/ksh to the sudoers file that what it effectively does is to
do an "su - username -c command" 

 

Thanks, Pat


Blue Cross Blue Shield of Florida, Inc., and its subsidiary and affiliate companies are not responsible for errors or omissions in this e-mail message. Any personal comments made in this e-mail do not reflect the views of Blue Cross Blue Shield of Florida, Inc.  The information contained in this document may be confidential and intended solely for the use of the individual or entity to whom it is addressed.  This document may contain material that is privileged or protected from disclosure under applicable law.  If you are not the intended recipient or the individual responsible for delivering to the intended recipient, please (1) be advised that any use, dissemination, forwarding, or copying of this document IS STRICTLY PROHIBITED; and (2) notify sender immediately by telephone and destroy the document. THANK YOU.



More information about the sudo-users mailing list