HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to control user's privilige?
Operating System - HP-UX
1825769
Members
2096
Online
109687
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
Go to solution
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
10-25-2005 03:59 PM
10-25-2005 03:59 PM
I want to limit some user's privilige.
Such as:
an system administrator: root
a application administrator: appctl
a server startup and shutdown user: operator
I want the user operator only own some commands executive privilige.
1. shutdown
2. ping
3. traceroute
4. netstat
I don't want him to execute such as: vi, mkdir, rmdir etc.
How can I do ?
Such as:
an system administrator: root
a application administrator: appctl
a server startup and shutdown user: operator
I want the user operator only own some commands executive privilige.
1. shutdown
2. ping
3. traceroute
4. netstat
I don't want him to execute such as: vi, mkdir, rmdir etc.
How can I do ?
Ryan Gu
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 04:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 04:35 PM
10-25-2005 04:35 PM
Re: How to control user's privilige?
Hi,
Use SUDO, available at this url below :
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.8p9/
This is a package to allow commands to be run as the superuser, from description :
"Sudo determines who is an authorised user by consulting your /etc/sudoers database. The program prompts for a user's password to initiate a validation period of N minutes, here N is defined at installation time. N.B. There is no easy way to prevent a user from gaining a root shell if he has access to commands that are shell scripts or that allow shell escapes."
Hope this information can help you.
Cheers,
AW
Use SUDO, available at this url below :
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.8p9/
This is a package to allow commands to be run as the superuser, from description :
"Sudo determines who is an authorised user by consulting your /etc/sudoers database. The program prompts for a user's password to initiate a validation period of N minutes, here N is defined at installation time. N.B. There is no easy way to prevent a user from gaining a root shell if he has access to commands that are shell scripts or that allow shell escapes."
Hope this information can help you.
Cheers,
AW
now working, next not working ... that's unix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 04:44 PM
10-25-2005 04:44 PM
Re: How to control user's privilige?
Hi,
In addition, you can use Restricted SAM. As "root", type "sam -r" and then you can define what the users can do in SAM.
Let's say you choose to configure the user "operator". Then disable all the menus you don't want him/her to use, and enable the ones you want ( in "normal" SAM, as root, you can define previously new groups for your own scripts ).
You can even change the default shell for the operator, and put instead the path to SAM, so once logged he/she can only see the restricted SAM.
Only an idea to play with ...
Regards,
Zigor
In addition, you can use Restricted SAM. As "root", type "sam -r" and then you can define what the users can do in SAM.
Let's say you choose to configure the user "operator". Then disable all the menus you don't want him/her to use, and enable the ones you want ( in "normal" SAM, as root, you can define previously new groups for your own scripts ).
You can even change the default shell for the operator, and put instead the path to SAM, so once logged he/she can only see the restricted SAM.
Only an idea to play with ...
Regards,
Zigor
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP