Find the answer to your Linux question:
Results 1 to 6 of 6
Hi, I tried to change my password but all i was getting is passwd: Authentication token manipulation error passwd: password unchanged Any suggestion? Thanks...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2011
    Posts
    68

    Authentication token manipulation error


    Hi,

    I tried to change my password but all i was getting is

    passwd: Authentication token manipulation error
    passwd: password unchanged

    Any suggestion?

    Thanks

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    are you running passwd as a regular user or as root? If as a regular user, your password may not be complex enough. If root, there is a bigger problem.

    To change the password of a regular (let's say "joeblow"), you can su to root and do:

    Code:
    echo "newpassword"|passwd --stdin joeblow
    that will set user joeblow's password to newpassword and you should be able to log in as that user w/that password immediately.

  3. #3
    Just Joined!
    Join Date
    Nov 2011
    Posts
    68
    Quote Originally Posted by atreyu View Post
    are you running passwd as a regular user or as root? If as a regular user, your password may not be complex enough. If root, there is a bigger problem.

    To change the password of a regular (let's say "joeblow"), you can su to root and do:

    Code:
    echo "newpassword"|passwd --stdin joeblow
    that will set user joeblow's password to newpassword and you should be able to log in as that user w/that password immediately.
    Hi,
    I ran 'passwd' as root only bcz i want to change root password. I created a new user but for that i couldn set password. The same error is showing all the times.

    Thanks

  4. #4
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    sounds like your shadow file is screwed up, or something even lower level and more sinister.

    try this first:
    Code:
    pwconv
    that will try to fix the shadow file.

    if that doesn't work, check out your system logs:

    /var/log/messages
    /var/log/secure

    see if anything there gives you a specific error.

  5. #5
    Just Joined!
    Join Date
    Nov 2011
    Posts
    68
    Quote Originally Posted by atreyu View Post
    sounds like your shadow file is screwed up, or something even lower level and more sinister.

    try this first:
    Code:
    pwconv
    that will try to fix the shadow file.

    if that doesn't work, check out your system logs:

    /var/log/messages
    /var/log/secure

    see if anything there gives you a specific error.
    Hi,
    pwconv is also not working.Nothing is there in /var/log/messages and there is secure file.

    Thanks

  6. #6
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Quote Originally Posted by steffi View Post
    Hi,
    pwconv is also not working.Nothing is there in /var/log/messages and there is secure file.

    Thanks
    Did you build this system from scratch or remove system files or something? You may need a reinstall...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •