HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Deny changing root password in Restricted SAM
Operating System - HP-UX
1830026
Members
16030
Online
109998
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
08-04-2006 08:04 AM
08-04-2006 08:04 AM
Deny changing root password in Restricted SAM
How do you give your helpdesk rights though Restricted SAM on HP-UX 11.11 to change user passwords, but prevent them from changing root or other system accounts?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2006 08:08 AM
08-04-2006 08:08 AM
Re: Deny changing root password in Restricted SAM
How do I do it with SAM restricted or not? I don't. I write my own password manipulation tools.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2006 12:42 PM
08-08-2006 12:42 PM
Re: Deny changing root password in Restricted SAM
Set up a custom area in Restricted SAM to run a script in /usr/sam/lbin that does something along the lines of
/bin/echo 'Enter username: ' \
&& read input && echo $input | grep -vq -e root -e adm -e bin \
&& /bin/passwd $input && echo "Changed" || echo "NOT changed"
Modify the grep appropriately and test it.
Marlou
/bin/echo 'Enter username: ' \
&& read input && echo $input | grep -vq -e root -e adm -e bin \
&& /bin/passwd $input && echo "Changed" || echo "NOT changed"
Modify the grep appropriately and test it.
Marlou
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP