LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-06-2011, 06:31 AM   #1
linuxeth123
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

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

Rep: Reputation: 476Reputation: 476Reputation: 476Reputation: 476Reputation: 476
@ 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)
 
  


Reply


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 03:02 AM
Locking out a user when password expires, but allowing them to change their password kaplan71 Linux - Security 5 06-27-2008 08:12 PM
Password change problems in Mandriva 2006 Bengan Mandriva 1 04-05-2006 07:06 AM
How can I change e-mail password(or linux account password) with php in website?? yusuf Programming 1 05-28-2004 10:39 AM


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

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