Operating System - HP-UX
1820107 Members
3213 Online
109618 Solutions
New Discussion

LVM management in Restricted SAM

 
Eric Mccann
New Member

LVM management in Restricted SAM

I'm wanting to distribute a restricted SAM environment for a few users at my
company which will allow them to modify logical volumes, filesystems, etc. No
problem, just set access priveleges in "sam -r", right?

Well that part works just great, but what I REALLY need to know is:

Is there a way to restrict the actual logical volumes which can be modified by
a particular user? Meaning that if I give user "test" access to only the LVM
commands in sam, can I define that he/she can modify every LVM/filesystem
EXCEPT for / (root)?

Thanks!

Eric McCann
1 REPLY 1
Anthony Goonetilleke_1
Regular Advisor

Re: LVM management in Restricted SAM

This one is a bit tricky, I needed to do something similar awhile back to do
with mountin/unmounting I wrote a simple C program with system calls and had a
small menu. Apply a SUID onto the binary and away you go.
Its probablt not the answer you are looking for but it worked.