Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-06-2011, 05:31 AM   #1
LQ Newbie
Registered: May 2010
Posts: 10

Rep: Reputation: 0
Password change problems

This seems like a small issue yet I'm not sure what's going on. I just loaded redhat 5.6 on my machine. For some reason when I force a password change (chage -d 0 username) and try this it won't change the password. It's really odd because when the user initially logs in, it tells him to change their password but when he tries it fails. Does anyone know why this is happening? It's as if it won't take the initial password. Here is what I'm seeing:

You are required to change your password immediately(root enforced)
Changing password for user
(current) Unix password:
Password unchanged

Old 05-07-2011, 06:42 AM   #2
Senior Member
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Hi there,

The problem appears to be the current password. Are you sure that you are entering the correct current password?

I think this is what you get after entering the current (Unix password):
passwd: Authentication token manipulation error
passwd: password unchanged

Try this on the username you are trying to enforce the password change:

passwd username
chage -d 0 username

Try logging in with that user name and this time the put the current password as the password you have just changed in the above step for that username and then it should prompt you for the new (Unix password)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change my root password in Debian Linux if I have the current password? panseluta Linux - Newbie 2 12-28-2008 02:02 AM
Locking out a user when password expires, but allowing them to change their password kaplan71 Linux - Security 5 06-27-2008 07:12 PM
Password change problems in Mandriva 2006 Bengan Mandriva 1 04-05-2006 06:06 AM
How can I change e-mail password(or linux account password) with php in website?? yusuf Programming 1 05-28-2004 09:39 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration