Operating System - HP-UX
1834926 Members
2747 Online
110071 Solutions
New Discussion

permissions on lvm* commands

 
SOLVED
Go to solution
Chris Little_1
Occasional Contributor

permissions on lvm* commands

we want the operators to be able to split and merge mirrored volumes, however WITH suid set, and operators added to the acl, we still get the message "must be root to use this command.

Any ideas?
2 REPLIES 2
Stefan Farrelly
Honored Contributor
Solution

Re: permissions on lvm* commands


One way to di it is to create an account called sysop or rootop and set it to the same uid:gid as root, and let your operators use that. Ensure you have a .history file setup for them so you can see what they get up to - ie. ensure they only run split/merge.

A safer way to do it is use a higher level backup tool such as Omniback. Within it you can set permissions for users (of omniback) and allow your ops to run scripts (as root) as part of a backup (eg split then merge after the backup) without them ever having root shell capabilities.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Kofi ARTHIABAH
Honored Contributor

Re: permissions on lvm* commands

How about using sudo? available at the porting centre
http://eigen.ee.ualberta.ca/hppd/hpux/Sysadmin/sudo-1.6.2b1/
nothing wrong with me that a few lines of code cannot fix!