- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: stop users from changing 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
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
12-04-2001 08:07 AM
12-04-2001 08:07 AM
stop users from changing password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2001 08:09 AM
12-04-2001 08:09 AM
Re: stop users from changing password
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2001 08:13 AM
12-04-2001 08:13 AM
Re: stop users from changing password
You can remove the execute permission on the /usr/bin/passwd binary.
chmod 5550 /usr/sbin/passwd
Or since this is a trusted system, you can set the minimum time required between password changes to a very largenumber.
Any reason to do this?
-raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2001 08:15 AM
12-04-2001 08:15 AM
Re: stop users from changing password
I dont see any other way.
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2001 08:15 AM
12-04-2001 08:15 AM
Re: stop users from changing password
Hope this helps
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2001 08:18 AM
12-04-2001 08:18 AM
Re: stop users from changing password
Good Luck,
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2001 08:18 AM
12-04-2001 08:18 AM
Re: stop users from changing password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2001 08:19 AM
12-04-2001 08:19 AM
Re: stop users from changing password
Haven't seen this request for a while now. why would you want to do this?
In any case, just remove the setuid bid off on the /usr/bin/passwd, or remove the execute permissions of the binary.
chmod 4550 /usr/bin/passwd or
chmod 555 /usr/bin/passwd
The user will get different errors based on how you change it.
-HTH
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2001 08:29 AM
12-04-2001 08:29 AM
Re: stop users from changing password
I suppose that you want to know and contol the password that your users have. But you don't need it because you as user root can change th passwords when you want and can use the "su" command to change to any users. Then you can give license to your users to change their passwords and if there are problems you can solve it.
Hope this help you.
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2001 08:40 AM
12-04-2001 08:40 AM
Re: stop users from changing password
To answer your question, I see 2 solutions:
1) Change the permissions on the passwd command so only root can run it.
2) Set the minimum time to change a password to the same amount as the password life, but set the password life as high as you can.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2001 08:42 AM
12-04-2001 08:42 AM
Re: stop users from changing password
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2001 08:49 AM
12-04-2001 08:49 AM
Re: stop users from changing password
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2001 08:55 AM
12-04-2001 08:55 AM
Re: stop users from changing password
Regards.
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2001 08:56 AM
12-04-2001 08:56 AM
Re: stop users from changing password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2001 08:59 AM
12-04-2001 08:59 AM
Re: stop users from changing password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2001 09:05 AM
12-04-2001 09:05 AM
Re: stop users from changing password
Regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2001 09:32 AM
12-04-2001 09:32 AM
Re: stop users from changing password
Thanks again.
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2001 09:49 AM
12-04-2001 09:49 AM
Re: stop users from changing password
o MIN_PASSWORD_LENGTH (introduced in 11.00 via PHCO_24390)
http://www.faqs.org/faqs/hp/hpux-faq/section-67.html
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2001 09:53 AM
12-04-2001 09:53 AM
Re: stop users from changing password
Mike,
We get a lot of "strange" questions here, were people could make their systems open to hackers.
First you stated that the machine is "trusted", then you say you don't want users to change their passwords, which in my mind is an oxymoron. So, it wasn't an attack on you, just a clarification as to the goals you are trying to accomplish.
live free or die
harry