> > If I have a user that has a nologin shell and they forget thier 
> > password, is there a way to give them a new password?
> > 
> > Right now I am resetting their password to nil, then
> > giving them a shell like /bin/sh, logging in on their 
> behalf, setting 
> > up a password, and then changing their shell back to /bin/nologin.
> > 
> > I would like to elliminate the noshell to shell and then
> > back to noshell part.
> 
> If you have root - you must have, just type  'passwd USERID' 
> Substitute the real user name for USERID and don't use the 
> quotes. Root can set password for any user - but make sure you put a 
> username because if you don't, you will set root's password.
> 

You can also install usermin (ports) so that once you give them a password,
they can change it without direct shell access.

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to