tarballed
September 15th, 2003, 17:26
Hello everyone...

I was doing some testing today on a OpenBSD box. I ran into a problem in that I created a user account, but it appears, that I accidently locked the account, so you cannot 'su' to it or SSH with the account..

I've been flipping through some man pages, but cant seem to find the way to unlock it...

Any have any idea on how to unlock it?

Tarballed

soup4you2
September 15th, 2003, 17:37
vipw

remove the *LOCKED*

|MiNi0n|
September 15th, 2003, 17:40
Huh? I don't follow.

What do you mean exactly? What happens (errors) when you try to su to it? Did you specify an incorrect shell or something?

v902
September 15th, 2003, 19:02
I know that when you lock an account in Linux (Slack at least) using passwd -w or -u (I think, check the passwd pages) that all it does is replaces the password for $HASH or * to ! (Impossible value) I'd look to see if that's the problem.

soup4you2
September 15th, 2003, 19:15
when a account is locked in fbsd it places a *LOCKED* before their password.. thats why you gotta do vipw and remove the *LOCKED* and it works.. there might be other ways but this way works great.

v902
September 15th, 2003, 19:34
Ah, I thought you meant something else by *LOCKED*, like you meant as $LOCKED (a variable...)