- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: not allowed to run passwd
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
06-13-2003 02:57 PM
06-13-2003 02:57 PM
not allowed to run passwd
I've a HP9000 D270 and Operating System HP-UX 10.20 in Trusted System (TCB), when I assign an administrative number a any user with "/usr/lbin/modprpw -x username" and they enter for firts time, the System say follow:
Your password was changed by conif on Thu Jan 1 00:00:00 GMT 1970
Last successful login for prueba: Fri Jun 13 21:59:32 GMT 2003
Last unsuccessful login for prueba: Fri Jun 13 22:17:57 GMT 2003 on ttyp9
You don't have a password.
Enter your user number here: 613
Last successful password change for prueba: NEVER
Last unsuccessful password change for prueba: Fri Jun 13 18:03:17 2003
passwd: not allowed to run passwd
Login aborted due to no password.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2003 03:20 PM
06-13-2003 03:20 PM
Re: not allowed to run passwd
There is a solution linked in this thread.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xddf6585fae8bd711abdc0090277a778c,00.html
Also, check the permissions on passwd
That program needs suid root so it can update a file, /etc/passwd and the tcb files owned by root.
Also, as root, attempt passwd prueba
That should work.
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
06-13-2003 03:46 PM
06-13-2003 03:46 PM
Re: not allowed to run passwd
"Account for users and groups" -> "users"
Select "root" (or others accounts you want to
modify), select "Action"->"Modify security policies"->"Password aging". Or modify as "disable"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2003 04:45 PM
06-13-2003 04:45 PM
Re: not allowed to run passwd
As Steven suggested, look at the permissions on the passwd executable. It should have a suid bit set.
I have seen trusted systems bumping out errors to ordinary users due to no passwords. Instead of using -x with modprpw, do
Just enabling in case it is disabled
#/usr/lbin/modprpw -k user
#passwd user
Set some initial password and let he user use it login and change the password.
If it still does not work, then it is most probably due to the permissions on the password executable.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2003 10:44 PM
06-13-2003 10:44 PM
Re: not allowed to run passwd
Check your permissions of passwd that it
have suid on, maybe you or some one else
change it.
The passwd must have the suid because it made
operations that only root can make.
Caesar