D
D
Drjabaka2015-08-30 18:50:31
linux
Drjabaka, 2015-08-30 18:50:31

How to allow mount to user?

Hey! How to allow mount to normal user without entering password?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alex Chistyakov, 2015-08-30
@alexclear

Describe the mount point in /etc/fstab.
In the fourth column of the description line, add the word user, something like this:
/dev/sdc1 /mnt/sdc1 ext4 defaults,user 0 0

S
Saboteur, 2015-08-30
@saboteur_kiev

in sudoers set the user the right to execute sudo for the mount command without a password

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question