LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Cant change Password (https://www.linuxquestions.org/questions/ubuntu-63/cant-change-password-815639/)

toledano 06-22-2010 06:49 AM

Cant change Password
 
hey,

I cant login into my account(my admin account) because for some reason the password is changed.

I used ubuntu live cd and I chroot my ubuntu on the hd.
when I enter "passwd username" I get :
Quote:

passwd: Authentication token manipulation error
passwd: password unchanged
when I enter "vipw -s" i get:
Quote:

vipw: Couldn't get file context: No data available
vipw: /etc/shadow is unchange
d

when I create a new account with "useradd -m username" and try to set the password with "passwd" I get the same msg:
Quote:

passwd: Authentication token manipulation error
passwd: password unchanged
any ideas?

thanks,

danny.

p.s

I use "likewise" to login to ldap db and I remember I read somewhere that it can cause problems like this.
I dont want to uninstall it and reconfigure it again.

AlucardZero 06-22-2010 07:15 AM

What does /var/log/auth.log say?

tommcd 06-22-2010 10:10 AM

Quote:

Originally Posted by toledano (Post 4011282)
I cant login into my account(my admin account) because for some reason the password is changed.

Try booting into recovery mode to reset your password:
http://www.psychocats.net/ubuntu/resetpassword

toledano 06-23-2010 01:01 AM

Cant change Password
 
1 Attachment(s)
hi,

I attached a file with /var/log/auth.log.

I tried the recovery mode. I get the same msg.


All times are GMT -5. The time now is 02:41 AM.