- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Allow common user run some commands
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
05-19-2008 05:49 AM
05-19-2008 05:49 AM
I would like to know how to allow a common user to execute lvm commands on Unix operating system without typing the root's password.
Regards,
Gustavo
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2008 05:55 AM
05-19-2008 05:55 AM
SolutionYes, you could setup sudo.
Sofware
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.9p15/
Docs
http://www.aplawrence.com/Basics/sudo.html
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2008 05:59 AM
05-19-2008 05:59 AM
Re: Allow common user run some commands
While I agree with Robert-Jan that 'sudo' is an appropriate choice if you must, I have to ask WHY?
Why would you want a non-root user to execute LVM commands? Certainly, you don't want configuration changes made! Which command(s) do the non-root users need and what is it from their output that is required?
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2008 06:12 AM
05-19-2008 06:12 AM
Re: Allow common user run some commands
James,
I would like do this because in my company the root user will be used only in an extreme situation, such as, re-configure kernel. But to execute daily tasks, such as, create a new user or extend a filesystem, volume group or lvol, I would like to use a non-root user because I could audit what that user did.
Did you understand what I meant??
If you have another solution, please let me know...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2008 06:25 AM
05-19-2008 06:25 AM
Re: Allow common user run some commands
What you have described is the daily task on system admin. As he/she would need to use the root login to achieve these task. I don't quite understand. If your worried about command being issued you can create audit logs to have monitor what going on. Anyway 'SUDO" would be your best bet to allow non root users to issue root commands.
Just my $0.02
Sp,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2008 08:10 AM
05-19-2008 08:10 AM
Re: Allow common user run some commands
If you wanna track the user, you can go for SUDO.
If the user is trusted !!!!!, you can go for ACL.