I’m still fairly new to Suse(and Linux) I have an account on my system that is locked when i run passwd -S accountname i get ‘accountname lk’ as the response. However when i try to unlock it using passwd -u accountname i get ‘Cannot unlock the password for accountname!’. Any ideas on why i can’t unlock the account?
On 08/02/2011 10:06 PM, timothysomalley wrote:
>
> Any ideas on why i can’t unlock the account?
man passwd tells me: “-u A system administrator can unlock the
specified account, if the account is not passwordless afterwards (it
will not unlock an account that has only “!” as a password).”
so i guess to unlock a locked account you need to first become the
administrator (aka: root or super user), do that by entering
su -
and enter your password when asked (you won’t see the password as you
type it, so be careful)…and, note: don’t forget the - dash
when you finish as root, it is good practice to close the root session with
exit
–
DD Caveat-Hardware-Software
openSUSE®, the “German Engineered Automobiles” of operating systems!
And when you want to show us what the system tells you when you type specific commands, the copy/past the complete text (that is including commad and output) into a post here. And put that between CODE tags: Posting in Code Tags - A Guide
This leads to not posting the endless sentences like: “when i run passwd -S accountname i get ‘accountname lk’ as the response.”, but we will then see exactly what you see.