On Tue, Jun 12, 2001 at 10:19:33AM -0300, Fernando Braga wrote:
> THAT won't just work for OpenBSD. I'd rather edit the shadow file for
> locking up users. And besides, what usermod does in Linux is exactly
> this: put an ! just before encrypted password in shadow.

BSD systems don't work with shadow passwords. They are using password
databases (/etc/pwd.db). The master file is /etc/master.passwd
I'd just run vipw and put a ! before the users password.

-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany               *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)

Reply via email to