Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Send Passwd expiration date to Baan users

Status
Not open for further replies.

hbone

IS-IT--Management
Sep 19, 2002
7
US
I need to send the password expiration date to Baan users with the Baan command.... bshcmd6.1 -M &quot;message&quot; -w1 -u1 <bshell PID> This command starts a shell and sends it via a terminal session to PC users when they login. I have looked at the &quot;epoch date&quot; conversion in the forum but not quit what I want. I need to look for the user in the /etc/security/passwd file find the &quot;lastupdate&quot; for the user. Convert the epoch date.. look in /etc/security/user for maxage, pwdwarntime, calculate then send the message out. Anyone have a script that does this already? OR have a simpler way? I'm not a perl programmer.... not a big scriptwriter either. no time... Thanks!!!!
hbone
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top