Brent Fortman Brent.Fortman at
Thu Dec 6 09:23:37 EST 2001

Consider using the NOPASSWD option in the sudoers file.


-----Original Message-----
From: WHITING Russell [mailto:R.Whiting at]
Sent: Thursday, December 06, 2001 5:25 AM
To: 'sudo-users at'
Subject: SUDO (AIX 4.3) - CRON JOBS


Wonder if any of you have had/resolved this problem.

I have a user that runs a cron job, part of this cron job requires the user
to 'su' to another user. Ordinarily, when you 'su' to this user you are
prompted with for the password, as we have to have authentication on. The
problem I'm having, is that the cron job will not run as it is prompting for
the password. Is there a way around this - is the '-p' option a viable

Hope this makes sense.


Russell Whiting

This is an email communication from Hermes Pensions Management Ltd.
Registered in England No. 1661776.

This electronic mail, together with any attachments, is for the exclusive
and confidential use of the recipient addressee. Any other distribution, use
or reproduction without our prior consent is unauthorised and strictly
prohibited. If you have received this message in error, please delete it
immediately and contact the sender directly or the Hermes IT Helpdesk on +44
(0)20 7680 2117.   Any views or opinions expressed in this message are those
of the author and do not necessarily represent those of Hermes Pensions
Management Ltd or of any of its associated companies. No reliance may be
placed on this message without written confirmation from an authorised
representative of the company.

Hermes Pensions Management Limited reserves the right to monitor all e-mail
communications through its network.

This message has been checked for viruses but the recipient is strongly
advised to rescan the message before opening any attachments or attached
executable files.

sudo-users mailing list <sudo-users at>
For list information, options, or to unsubscribe, visit:

More information about the sudo-users mailing list