1754412 Members
3461 Online
108813 Solutions
New Discussion юеВ

user mount permission

 
honor
Occasional Contributor

user mount permission

how to give user permission to mount cdrom
without use su
3 REPLIES 3
Roger Baptiste
Honored Contributor

Re: user mount permission

Hi,

You can use "SUDO" utility , which is
a free-downloadable pkg. With sudo you
can allow selected user(s) to run specific
command(s), without giving them root access.
It is availble at the HP download site.

But, back to your question: why would
you want to allow a user to mount a CDROM??
If users need to mount a CDrom often (for
instance Oracle8i to install), you can
make a copy of the CD on a Server and
set up NFS-automount to allow other servers
to access it. Or you can remote mount the
CD and give NFS access.
Allowing users to do CD mount is asking for
trouble. If it is a PFS-format CD, it
is just not worth it.

HTH
raj
Take it easy.
someone_4
Honored Contributor

Re: user mount permission

Hello
WHen you say with out su .. I assume you mean with out using the su command. If I am not mistaken you have to be root or have a userid of 0 to use the mount or u mount command. If I am wrong some plese correct me. But if you are sure you want to give this person the all the power of root (think about that). Here is how you would have that user a user id of 0.
Loged in as root go to
sam -> Accounts for Users and Groups -> Users -> pick the user you want to modify -> tab up and across to actions -> then down to modify ->
tab down where it says User ID (UID) put only a 0 there. Go down and select ok after that you will get a warning telling you that the user id 0 has already been assigned. Say ok. Now this user has all of the power of root. So becarfull who you give this power to. If someone knows a better way I am sure they will let us know.

Richard
Wodisch
Honored Contributor

Re: user mount permission

Hello Hon,

at least two ways come to (my) mind:
1) use "sam -r" to integrate new menu entries into
SAM's menu, and permit these entries for your "plain"
users only. These menu entries would execute the
"mount" commands as they are needed, but under
the UID of "root".

2) Configure your "automounter" to do this for you/your
users.

HTH,
Wodisch