- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Cannot change password when su'ing
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
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
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
05-01-2006 07:13 AM
05-01-2006 07:13 AM
Due to lack of use, zzzzzzz was disabled due to the password expiration interval being exceeded. We used sam to reactivate/enable the account - which also genned a new random password. We passed the new temporary password along to the user.
When they su'ed over to the application ID, they received the following messages in rapid succession:
Your password has expired.
su: Password for zzzzzzz has expired. Choose new password and try again
su: Sorry
They are never given a chance to enter the old (temporary) password.
The only way I could get the user going was to su as root over to zzzzzzz, then enter the passwd command (which allowed me to enter the temporary password and then pick a new one).
But certainly the user needs the ability to su over and enter the temporary password.
Is there something special (or broken) when using su over to these application ID's?
Scott
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2006 07:23 AM
05-01-2006 07:23 AM
Re: Cannot change password when su'ing
I've done the same sequence as you on trusted systems and not yielded the same results.
pwck
grpck
Lets see the intergrity of the databases here.
Also check /var/adm/syslog/syslog.log for messages. Maybe there was a short term problem.
You may wish to try re-enabling the password at the command line (man passwd) and see if you get a specific response.
Seems to me you did everything right.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2006 07:37 AM
05-01-2006 07:37 AM
Re: Cannot change password when su'ing
How are the users connecting? Xterm, vt100 emulation?
Some emulators will send an unwanted, unseen, code when the neter key is pressed.
You could try either a different emulation package, or a different term type.
HTH
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2006 12:29 AM
05-02-2006 12:29 AM
Re: Cannot change password when su'ing
You have to login directly into the target account using either telnet, rlogin, ssh or whatever you use, change the password and logout.
You will then be able to su to the account.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2006 12:34 AM
05-02-2006 12:34 AM
Re: Cannot change password when su'ing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2006 03:03 AM
05-02-2006 03:03 AM
Re: Cannot change password when su'ing
We use Hummingbird Exceed Secure Shell 10.0 that sets up a xterm session. I can try this with Putty and see what happens.
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2006 03:04 AM
05-02-2006 03:04 AM
Re: Cannot change password when su'ing
No - the old password (generated by the system) was just 8 lower case characters.
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2006 03:06 AM
05-02-2006 03:06 AM
Re: Cannot change password when su'ing
Is this a restriction of the OS? We spedifically require users sign in with their personal ID's before they su over to application ID's (so we have an audit trail). If the OS disallows password change when coming in via su, this would be a problem.
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2006 03:56 AM
05-02-2006 03:56 AM
SolutionPossible workarounds could be to have the sysadmin reset the password and communicate it to the users or maybe setup a sudoers file that allows running the passwd command by the user with a NOPASSWD entry.
Some sites will just make an exception to the rule and allow users to login directly to a generic account ONCE to change the password.