Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Problem Changing User Password

  1. #1
    Join Date
    Oct 2007
    Beans
    181

    Problem Changing User Password

    Hello Everyone,
    I've searched the forums and there are a few posts which describe how to change log in passwords. They all basically recommend to use passwd. I've tried to use this command in my log and in recovery mode but I keep getting this error message.


    user@user-desktop:~$ sudo passwd user
    [sudo] password for user:
    passwd: Authentication token manipulation error
    passwd: password unchanged
    user@user-desktop:~$
    What am I doing wrong? What is "token manipulation error"?
    CPU:AMD Turion(tm) 64 X2 Mobile Technology TL-52*slot: Socket S1,1600MHz*RAM: DIMM DDR2 667 MHz X 2 1GB*HDISK: Western Digital ATA Disk (320GB)*video: nVidia Geforce Go 6150 clock: 66MHz*wifi: Broadcom Corporation BCM4311
    eth0: nVidia MCP51

  2. #2
    wojox is offline I Ubuntu, Therefore, I Am
    Join Date
    Apr 2009
    Beans
    8,628

    Re: Problem Changing User Password

    Try it without sudo.

  3. #3
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!

    Re: Problem Changing User Password

    First of all, password is setuid root, you don't have use sudo to run it:
    Code:
    passwd username
    What's the output of:
    Code:
    ls -al /usr/bin/passwd
    and
    Code:
    ls -al /etc/{passwd,shadow}
    ?

  4. #4
    Join Date
    Oct 2007
    Beans
    181

    Re: Problem Changing User Password

    Quote Originally Posted by wojox View Post
    Try it without sudo.
    Same thing.

    user@user-desktop:~$ passwd
    Changing password for user.
    (current) UNIX password:
    passwd: Authentication token manipulation error
    passwd: password unchanged
    user@user-desktop:~$
    CPU:AMD Turion(tm) 64 X2 Mobile Technology TL-52*slot: Socket S1,1600MHz*RAM: DIMM DDR2 667 MHz X 2 1GB*HDISK: Western Digital ATA Disk (320GB)*video: nVidia Geforce Go 6150 clock: 66MHz*wifi: Broadcom Corporation BCM4311
    eth0: nVidia MCP51

  5. #5
    Join Date
    Nov 2009
    Location
    Chennai, India
    Beans
    503
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Problem Changing User Password

    Quote:
    user@user-desktop:~$ passwd
    Changing password for user.
    (current) UNIX password:
    passwd: Authentication token manipulation error
    passwd: password unchanged
    user@user-desktop:~$
    Just tried it on my comp and I get the same error....
    I like to keep it respectful with OpenRespect
    I write at The Void Ghost and 2buntu

  6. #6
    Join Date
    Oct 2007
    Beans
    181

    Re: Problem Changing User Password

    Quote Originally Posted by sisco311 View Post
    First of all, password is setuid root, you don't have use sudo to run it:
    Code:
    passwd username
    What's the output of:
    Code:
    ls -al /usr/bin/passwd
    and
    Code:
    ls -al /etc/{passwd,shadow}
    ?


    I tried passwd user but I still receive:


    user@user-desktop:~$ passwd user
    Changing password for user.
    (current) UNIX password:
    passwd: Authentication token manipulation error
    passwd: password unchanged
    user@user-desktop:~$


    Output of ls -al /usr/bin/passwd

    user@user-desktop:~$ ls -al /usr/bin/passwd
    -rwsr-xr-x 1 root root 41292 2009-07-31 06:55 /usr/bin/passwd
    user@user-desktop:~$



    The output of ls -al /etc/{passwd,shadow} is :
    user@user-desktop:~$ ls -al /etc/{passwd,shadow}
    -rw-r--r-- 1 root root 1708 2010-02-16 09:12 /etc/passwd
    -rw-r----- 1 root shadow 1178 2010-02-16 09:12 /etc/shadow
    user@user-desktop:~$
    CPU:AMD Turion(tm) 64 X2 Mobile Technology TL-52*slot: Socket S1,1600MHz*RAM: DIMM DDR2 667 MHz X 2 1GB*HDISK: Western Digital ATA Disk (320GB)*video: nVidia Geforce Go 6150 clock: 66MHz*wifi: Broadcom Corporation BCM4311
    eth0: nVidia MCP51

  7. #7
    Join Date
    Dec 2006
    Location
    Chicago
    Beans
    3,839

    Re: Problem Changing User Password

    Post this output
    Code:
    getent passwd $USER
    sudo getent shadow $USER|cut -d : -f 1,3-

  8. #8
    Join Date
    Nov 2009
    Location
    Chennai, India
    Beans
    503
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Problem Changing User Password

    Quote Originally Posted by chiques View Post
    I tried passwd user but I still receive:




    Output of ls -al /usr/bin/passwd






    The output of ls -al /etc/{passwd,shadow} is :

    When it asks for the Unix password put in your login password, not the super-user password ( i mean not the password that u give wen u type su in the terminal) . Worked for me that way just now...
    I like to keep it respectful with OpenRespect
    I write at The Void Ghost and 2buntu

  9. #9
    Join Date
    Dec 2006
    Location
    Chicago
    Beans
    3,839

    Re: Problem Changing User Password

    Quote Originally Posted by nitstorm View Post
    When it asks for the Unix password put in your login password, not the super-user password ( i mean not the password that u give wen u type su in the terminal) . Worked for me that way just now...
    Yes, apparently you get that error when you enter the wrong password. However, you do not get the token manipulation error when running passwd with sudo or as root due to an incorrect password, so you do not have the same problem as chiques.

  10. #10
    Join Date
    Nov 2009
    Location
    Chennai, India
    Beans
    503
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Problem Changing User Password

    <deleted>
    Sorry was making no sense there.
    I like to keep it respectful with OpenRespect
    I write at The Void Ghost and 2buntu

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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