Are you logged in as root? The passwd command should allow you to change the
password for the locked out user. It works for me on Solaris 7, at least.

Rgrds

Peter

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Vikas Gandhi
> Sent: 07 January 2004 08:58
> To: Solaris-Users mailing list; [EMAIL PROTECTED]
> Subject: [Solaris-Users] Locked Accounts
>
>
> Hi All
>   I face a peculiar problem. When I am creating new accounts
> using command
> prompts(useradd), I have *LK* in the shadow (given below)
> temp5:*LK*:12424::::::
>
> Now when I do
> bash-2.03# passwd temp5
> New Password:
> Permission denied
>
> How can I change my passwd thru passwd command.
> FYI: I do not want to manually edit /etc/shadow under any
> circumstances.
>
> Regards
> Vikas
> _______________________________________________
> Solaris-Users mailing list
> [EMAIL PROTECTED]
> http://www.filibeto.org/mailman/listinfo/solaris-users
>
>

_______________________________________________
Solaris-Users mailing list
[EMAIL PROTECTED]
http://www.filibeto.org/mailman/listinfo/solaris-users

Reply via email to