comparable command in OpenBSD for linux's "passwd -l (name)"

i'm trying to get a samba server up and running.

however, there is no argument in OpenBSD's "passwd" command that i know of that will allow the following:

-l     This option is used to lock the  specified  account
	and  it  is  available to root only. The locking is
	performed by rendering the encrypted password  into
	an  invalid  string  (by prefixing  the encrypted string 
                with an !).

so no one knows eh? :slight_smile:

well i figured it out if anyone is interested.

you simply need to edit the password using vipw... just put in some asci characters and it'll do it

so with me... i put *LOCKED* and that does what the " -l " does in linux