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
LVL 1
penguins_ruleAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ThomasMcA2Commented:
fstab needs a user entry to allow users to mount the device, like this:

/dev/sdb      /mnt/rd1000             ext4 discard,user,noatime,nodiratime,errors=remount-ro 0 1
0
Seth SimmonsSr. Systems AdministratorCommented:
as root, run visudo and go near the bottom to the line where you see it start with root ALL=(ALL)...

add a line under it like this:

patty ALL=/bin/mount

or to do without prompting for her password:

patty ALL= NOPASSWD: /bin/mount

then she just runs sudo /bin/mount /dev/sdb /mnt/rd1000 or for any device to be mounted
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ThomasMcA2Commented:
@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.
0
Seth SimmonsSr. Systems AdministratorCommented:
right, both methods work
just a matter of what context does the user want to give access
0
penguins_ruleAuthor Commented:
in my case, patty needed to be able to mount multiple devices, but as mentioned, both solutions work and handle different situations.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.