- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: passwd -f
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
03-26-2007 10:10 PM
03-26-2007 10:10 PM
passwd -f
It's 11.23 OS.
Anyone have any ideas ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2007 10:25 PM
03-26-2007 10:25 PM
Re: passwd -f
the -f option is a priviledged user option, so are running this as root ?
What are the permissions on passwd ?
ll `which passwd`
What user are you trying to force to change password ?
Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
You have awarded points to 14 of 30 answers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2007 10:52 PM
03-26-2007 10:52 PM
Re: passwd -f
Either permissions on the /etc/passwd file are denied or this command is being run as an unpriviledged user or the passwd command itself has lost its suid powers.
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
03-27-2007 05:52 PM
03-27-2007 05:52 PM
Re: passwd -f
I can duplicate the error if it is run by non-root user:
$ passwd -f testuser
Permission denied
But it should works if run by user with root capability:
# passwd -f testuser
login: testuser
Password:
Your password has expired. Choose a new one
Changing password for testuser
Old password:
Please let us know if you have executed it as root user but still received "Permission denied" message.
Cheers,
Pau Cen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2007 06:38 PM
03-27-2007 06:38 PM
Re: passwd -f
We are root when trying this command but it's still not working.
I'll check the permissions of the passwd and /etc/passwd command and let you all know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2007 06:57 PM
03-27-2007 06:57 PM
Re: passwd -f
Please also ensure you don't have duplicate entries in your /etc/passwd.
Is the system converted to trusted system?
Are you using NIS?
Regards.