- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- unable to change password
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2004 08:29 PM
тАО07-21-2004 08:29 PM
unable to change password
hostname> ssh server2
user@server2's password:
Last login: Wed Jul 21 21:45:16 2004 from server1
WARNING: Your password has expired.
You must change your password now and login again!
Usage: passwd [ -F file ] [ name ]
Connection to server2 closed.
The user could not login to change the password. Anyone know how to resolve this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2004 08:54 PM
тАО07-21-2004 08:54 PM
Re: unable to change password
This will generate a random pronouncable password for them. Then do a passwd -f, to force them to change it on next logon.
Give them the random password, and they can login.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2004 08:59 PM
тАО07-21-2004 08:59 PM
Re: unable to change password
/usr/lbin/getprpw -m lockout "user_name"
It shoud return 00000, if not it has problems.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2004 09:07 PM
тАО07-21-2004 09:07 PM
Re: unable to change password
We are trying not to use the password generator.
It seems that it was trying to invoke the 'passwd' command to force the user to change the password but failed to pass the username to the command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2004 09:17 PM
тАО07-21-2004 09:17 PM
Re: unable to change password
Let user login with the password that you set. He will be forced to change the password once he logs in.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2004 09:31 PM
тАО07-21-2004 09:31 PM
Re: unable to change password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2004 09:40 PM
тАО07-21-2004 09:40 PM
Re: unable to change password
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2004 01:53 PM
тАО07-22-2004 01:53 PM
Re: unable to change password
and see if there more than one login entry for this user with an extension. I've had a problem before where there was a duplicate login file with the extention '_t' I believe.
We don't use ssh, however.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2004 06:06 PM
тАО08-19-2004 06:06 PM
Re: unable to change password
cd /tcb/files/auth/b (swap b with the letter that your user's login starts with)
edit the file in that directory with that persons name. for example in my case
vi /tcb/files/auth/b/bmarkus
bmarkus:u_name=bmarkus:u_id#1234:\
:u_pwd=aBcDeFG1a2b3c4:\
:u_bootauth:u_auditid#4321:\
:u_auditflag#1:\
:u_minchg#0:u_exp#0:u_life#0:u_succhg#1012272085:\
:u_unsucchg#1089997903:u_llogin#0:u_pw_expire_warning#0:u_suclog#1092279891:\
:u_suctty=ttyp3:u_unsuclog#1092371050:u_unsuctty=ttyp3:u_numunsuclog#0:\
:u_maxtries#5:u_lock@:chkent:
Remove the hash from the :u_pwd=:\ The user should have no password after doing this.
I wonder how many people are going to run crack against that fake hash :) hehe.
If this file some how got an odd character in it, it will have problems. Another thing to try is the following: Backup the file, then take a known good user's file and copy it in place.
Then change the u_id# etc...
Another possible issue is having a duplicate u_id on the system. Check every directory in /tcb/files/auth/* for a file with a dupe u_id.
If all else fails, remove the user and re-add them.
Hope this helps.
-Brian.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2004 06:22 PM
тАО08-19-2004 06:22 PM
Re: unable to change password
We have isolated the source of the problem. When root account forces the password change (ie. passwd -f $username), user cannot login even the account is not locked. It happen after we upgraded the SSH to 3.8p1. A workaround solution is to reset the users password without forcing them to change it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2004 06:37 PM
тАО08-19-2004 06:37 PM
Re: unable to change password
since you mentioned SSH 3.8p1,
i suggest you to have a look at the PAM paragraph, maybe you have choosen not to use it. WIth Trusted system, this may lead to strange behaviour.
HTH,
Massimo