Dear Bruce, Hears what I GOT: Sudo version 1.6.7p5
Authentication methods: 'pam' Syslog facility if syslog is being used for logging: authpriv Syslog priority to use when user authenticates successfully: notice Syslog priority to use when user authenticates unsuccessfully: alert Ignore '.' in $PATH Send mail if the user is not in sudoers Use a separate timestamp for each user/tty combo Lecture user the first time they run sudo Require users to authenticate by default Root may run sudo Allow some information gathering to give useful error messages Visudo will honor the EDITOR environment variable Set the LOGNAME and USER environment variables Length at which to wrap log file lines (0 for no wrap): 80 Authentication timestamp timeout: 5 minutes Password prompt timeout: 5 minutes Number of tries to enter a password: 3 Umask to use or 0777 to use user's: 022 Path to mail program: /usr/sbin/sendmail Flags for mail program: -t Address to send mail to: root Subject line for mail messages: *** SECURITY information for %h *** Incorrect password message: Sorry, try again. Path to authentication timestamp dir: /var/run/sudo Default password prompt: Password: Default user to run commands as: root Path to the editor for use by visudo: /bin/vi Environment variables to check for sanity: LANGUAGE LANG LC_* Environment variables to remove: BASH_ENV ENV TERMCAP TERMPATH TERMINFO_DIRS TERMINFO _RLD* LD_* PATH_LOCALE NLSPATH HOSTALIASES RES_OPTIONS LOCALDOMAIN IFS When to require a password for 'list' pseudocommand: any When to require a password for 'verify' pseudocommand: all Local IP address and netmask pairs: ----- Original Message ----- From: "Phillip Bruce" <pbbr...@dslextreme.com> To: "nonlin" <non...@erols.com> Sent: Tuesday, November 03, 2009 1:02 PM Subject: Re: [Perl-unix-users] Permistion Problem when run from the Web > nonlin wrote: > > Dear Bruce, > > > > How do I check the sudo setup on the box? > > > > > > Nonlin > > > > > Nonlin, > > First try running the following command: > > # sudo -l > > what this will show you is what command sudo will allow you to run. > Then you can run visudo command which will allow you to modify the > sudoers file. > > # sudo -V > > The above will tell you which version of sudo is installed. > > If those command don't show up, more likely the problem may be either it > isn't installed or you do not > have the sudo PATH setup correctly. > > To be sure sudo is install will depend on the OS your running. > > Linux use the rpm command: > > # rpm -qi sudo > > On Solaris: > > # pkginfo | grep sudo > > others let me know what your running and I'll tell you how to find it. > > Phillip _______________________________________________ Perl-Unix-Users mailing list Perl-Unix-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs