HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: uNABLE TO CHANGE USERPASSWD IN LINUX
Operating System - Linux
1827831
Members
1905
Online
109969
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-11-2002 05:32 AM
05-11-2002 05:32 AM
uNABLE TO CHANGE USERPASSWD IN LINUX
Hi,
I am unable to change the passwd of my account in a linux system while using my own accnt name and passwd but i can do so if i log in as root.
Can anybody help me?
thanks in advance,
Vipin.
I am unable to change the passwd of my account in a linux system while using my own accnt name and passwd but i can do so if i log in as root.
Can anybody help me?
thanks in advance,
Vipin.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2002 02:02 PM
05-11-2002 02:02 PM
Re: uNABLE TO CHANGE USERPASSWD IN LINUX
Hello,
What Linux distribution are you using ? What error message do you receive when trying to change password ?
Without further information, I can just give you 2 tips :
=> Are you sure the password you try to set is conform to the default password choice rules ? Try 8-character password, with at least 2 numerical digits.
=> Are you sure a non-root user is allowed its own password ? Check /etc/shadow for password expiration rules. I don't know the exact syntax, but I can recommend you the manpage (man 5 shadow).
Good luck.
Kodjo
What Linux distribution are you using ? What error message do you receive when trying to change password ?
Without further information, I can just give you 2 tips :
=> Are you sure the password you try to set is conform to the default password choice rules ? Try 8-character password, with at least 2 numerical digits.
=> Are you sure a non-root user is allowed its own password ? Check /etc/shadow for password expiration rules. I don't know the exact syntax, but I can recommend you the manpage (man 5 shadow).
Good luck.
Kodjo
Learn and explain...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2002 08:24 PM
05-12-2002 08:24 PM
Re: uNABLE TO CHANGE USERPASSWD IN LINUX
hi,
check the permissions of /usr/bin/passwd executable
ll /usr/bin/passwd
the output should be
r-sr-xr-x root bin passwd
if the s is not there you will face the problem
which you have mentioned.
if it is not there do this
log in as root
#chmod +s /usr/bin/passwd
try again to log in as that user and change it's password.
regards,
U.SivaKumar
check the permissions of /usr/bin/passwd executable
ll /usr/bin/passwd
the output should be
r-sr-xr-x root bin passwd
if the s is not there you will face the problem
which you have mentioned.
if it is not there do this
log in as root
#chmod +s /usr/bin/passwd
try again to log in as that user and change it's password.
regards,
U.SivaKumar
Innovations are made when conventions are broken
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2002 06:50 PM
05-13-2002 06:50 PM
Re: uNABLE TO CHANGE USERPASSWD IN LINUX
Might need to look at your pam configuration also.
Should look something like:
$ cat /etc/pam.d/passwd
#%PAM-1.0
auth required /lib/security/pam_stack.so service=system-auth
account required /lib/security/pam_stack.so service=system-auth
password required /lib/security/pam_stack.so service=system-auth
I think that U. SivaKumar is probably on the right track though, as Root can execute passwd, but a normal user can't (have you tested whether it is only the one account vs all non-root accounts that experience this behavior?).
Best regards
Mark
Should look something like:
$ cat /etc/pam.d/passwd
#%PAM-1.0
auth required /lib/security/pam_stack.so service=system-auth
account required /lib/security/pam_stack.so service=system-auth
password required /lib/security/pam_stack.so service=system-auth
I think that U. SivaKumar is probably on the right track though, as Root can execute passwd, but a normal user can't (have you tested whether it is only the one account vs all non-root accounts that experience this behavior?).
Best regards
Mark
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP