penguins_rule
asked on
Allow user to mount removable disk in Red Hat EL 6.4
Running Red Hat Enterprise Linux RHEL 6.4
How do i allow user patty to mount and unmount a RD1000 disk?
# /sbin/mount /dev/sdb /mnt/rd1000
when patty tries, get the error:
mount: only root can do that
How do i allow user patty to mount and unmount a RD1000 disk?
# /sbin/mount /dev/sdb /mnt/rd1000
when patty tries, get the error:
mount: only root can do that
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
@Seth's answer is an alternative to mine, but his answer gives the user mount authority to any/all devices. My answer only gives authority for /dev/sdb.
right, both methods work
just a matter of what context does the user want to give access
just a matter of what context does the user want to give access
ASKER
in my case, patty needed to be able to mount multiple devices, but as mentioned, both solutions work and handle different situations.