Problem with password expire and sudo.

Hi,

I have a small problem that I need to address regarding the password expiration for a number of different oracle accounts. Currently I have the MAXWEEKS set to 12 in the /etc/default/passwd file for all accounts. I also have sudo installed on the server and users access the oracle accounts through sudo.

When a user logs into the oracle account using sudo it does not warn them that the password for that oracle account is about to expire or has expired. The expired password then stops that users cron jobs from running.

Is there any way or warning the DBAs that the password is about to expire on the account - lets say 5 days before hand? Any suggestions are welcome.

Thanks,

Sparcman:(

May be following link can help :

http://www.sun.com/bigadmin/scripts/submittedScripts/check_root_expire.ksh.txt

Just check it out, you can modify as per your requirements....

Thanks reboot. Will check it out.:b:

Sparcman