On April 5, 2005 06:42 pm, Bob Ababurko wrote:
Hello all-
I am trying to figure out how to suspend a login for a user. Do I have to do this with password aging or is there an easier(read brute force) way to disallow a user from logging in?
the safest way is to set the shell to /sbin/nologin and the home directory to /nonexistant in your auth system. The latter is especially needed if you allow ssh for remote login since the public-key authentication mechanisms sometimes bypass the normal login restrictions.
That is perfect...just what I was trying to do.
I am used to solaris... where if my memory serves me, can lock a user account using the -l flag with the passwd command or comment them out in the passwd file. I still like freebsd way more though.
thanks, Bob _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
