- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to authorized non-root user to executed some p...
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
Discussions
Discussions
Forums
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
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-29-2002 11:50 PM
тАО12-29-2002 11:50 PM
how to authorized non-root user to executed some programs??
Currently i'm running on HP-UX11.0, i would like to know how can i authorize other user to run certain scripts files or program?? Now the other user account are not authorized to do a single things..so how am i goin to solve the problem??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-30-2002 12:50 AM
тАО12-30-2002 12:50 AM
Re: how to authorized non-root user to executed some programs??
Sudo is better but if want to customize those scripts for some users only best would be to write a c program with the setuid and run those programs.
I have some programs posted before.
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-30-2002 02:29 AM
тАО12-30-2002 02:29 AM
Re: how to authorized non-root user to executed some programs??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-30-2002 02:44 AM
тАО12-30-2002 02:44 AM
Re: how to authorized non-root user to executed some programs??
Try like suggested the sudo programm. We use it too and it wirks fine.
Also you can use the s-Bit for giving some users the rigth to execute dedicated binaries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-30-2002 11:51 AM
тАО12-30-2002 11:51 AM
Re: how to authorized non-root user to executed some programs??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2002 04:51 AM
тАО12-31-2002 04:51 AM
Re: how to authorized non-root user to executed some programs??
Then add the script to /etc/shells
Make this as the login shell for a particulare user.
Then give privilegies by adding the user to root group and set this as default GID.
----------
NB!
You must ensure that the script cant be trapped and thus let the user break out and into a ordinary shell.
Avoid using commands like more or vi or others that have built in functionality which allow users to start subshells
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-02-2003 08:08 AM
тАО01-02-2003 08:08 AM
Re: how to authorized non-root user to executed some programs??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-02-2003 10:00 AM
тАО01-02-2003 10:00 AM
Re: how to authorized non-root user to executed some programs??
HTH,
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-02-2003 03:37 PM
тАО01-02-2003 03:37 PM
Re: how to authorized non-root user to executed some programs??
The advice you've received has been summarized in 2 articles I have:
http://newfdawg.com/SHP-Articles.htm
Distributing root privileges Part 1 and 2. You can use these methods for distributing the privileges of any user to another.
There are also 3rd party purchaseable products, such as PowerBroker from Symark.
- Chris