When adding a user to a system, I am required by a client's security policies 
to set a one time password that must be changed by the user the first time 
she logs in. Is there a simple way to do this?

1) Obviously, a slightly complex way would be to add the user, and then insert 
the present day and time into the change field in his entry in master.passwd 
(with appropriate setting of password-dead, etc. in login.conf). Is there a 
program that will give the present date and time as seconds since the Epoch?

2) This also helps with the interesting 'feature' that when root sets a 
password for a user, a password expire time is NOT set, even with 
passwordtime set in login.conf. Is there a way to change this behavior 
without modifying the source?

Thanks!

-- 
Jeff Simmons                                   [EMAIL PROTECTED]
Simmons Consulting - Network Engineering, Administration, Security
"You guys, I don't hear any noise. Are you sure you're doing it right?"
        --My Life With The Thrill Kill Kult

Reply via email to