Adding FreeBSD user upon first login

Posted by Halik on Server Fault See other posts from Server Fault or by Halik
Published on 2011-05-11T14:40:41Z Indexed on 2012/06/08 22:42 UTC
Read the original article Hit count: 275

Is it possible, to achieve the proposed behavior on my FreeBSD 8.2 server:

New user ssh's into my server. He supplies as 'Login:' his student index number and a new, locked account is created with random password that is sent to his [email protected] mail as authentication method. After he logs in with this password, account is fully created and activated/unlocked and the user is asked/forced to change the pass for a new one.

© Server Fault or respective owner

Related posts about freebsd

Related posts about login