Article 4W9D0 Mount a directory with out needing to input root password

Mount a directory with out needing to input root password

by
Dain_Bramage
from LinuxQuestions.org on (#4W9D0)
Hi All,

I am trying to figure out a way of mounting and unmounting directories with out needing to input the root password.

I have made the following addition to my sudoers file:

Code:mike ALL=(root) NOPASSWD:/bin/mount, /bin/umountbut it hasn't worked.

Does anyone know how it can be done?latest?d=yIl2AUoC8zA latest?i=hXeH605mhQE:5_yQiQTDWY4:F7zBnMy latest?i=hXeH605mhQE:5_yQiQTDWY4:V_sGLiP latest?d=qj6IDK7rITs latest?i=hXeH605mhQE:5_yQiQTDWY4:gIN9vFwhXeH605mhQE
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments