ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-unix-users
perl-unix-users
Re: [Perl-unix-users] Permistion Problem when run from the Web
by Nonlin other posts by this author
Nov 3 2009 10:24AM messages near this date
Re: [Perl-unix-users] Permistion Problem when run from the Web | Re: [Perl-unix-users] Permistion Problem when run from the Web
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" <pbbruce@[...].com> 
To: "nonlin" <nonlin@[...].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@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Nonlin
Phillip Bruce
Nonlin
Nonlin
Bill Luebkert
Phillip Bruce
Nonlin
Nonlin
Jimmy Schappet
Ingo Schwarze
kenneth
Ingo Schwarze

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved