- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- passwd without root permission
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
07-17-2001 05:42 AM
07-17-2001 05:42 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2001 05:50 AM
07-17-2001 05:50 AM
Re: passwd without root permission
You can use program super. I think it is third party sofroware.
Then you can assign
passwd "/usr/bin/passwd" info="Change password" sachin, dee etc......
in /opt/super/lib/super.tab
So now user sachin and dee can run passwd with user id=0 i.e as root.
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2001 05:51 AM
07-17-2001 05:51 AM
SolutionYou are a brave soul. You could use sudo to do this but the obvious danger is that this person could then change root's passwd and become root. For that reason, I would be much more tempted to write a setuid c program which could trap for uid's < 101 and not act on them.
Obviously, sudo could call a script to do the same checking but I would never put something like this in a script.
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2001 06:07 AM
07-17-2001 06:07 AM
Re: passwd without root permission
I think U can use restricted sam to achieve ur requirement.
Using root login go to sam using
#sam -r optiion Then enable user menu to particular user who wants to do passwd change or creation of user etc.
This user won't be able to change the passwd of super user (ie root)
I hope this will help u.
Regards
Joe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2001 06:10 AM
07-17-2001 06:10 AM
Re: passwd without root permission
this can be done using sudo.
later
ravi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2001 06:11 AM
07-17-2001 06:11 AM
Re: passwd without root permission
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2001 06:15 AM
07-17-2001 06:15 AM
Re: passwd without root permission
Restricetd sam access to user will help the users to change any one's password.
If you want to restrict the user to change only specific users/groups password, you can create a custom application in SAM. Write a script to check the requested user id is allowed id (eg. not root) then change password.
This script can be called from the custom application of SAM and run as root.
User sam -r to acccess/create the restricted SAM for user.
Thanks.
Prashant Deshpande.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2001 06:46 AM
07-17-2001 06:46 AM