applies to: linux, debian based (Mepis), mount, sudo
While testing many things often I have to mount/unmount resources, and I became tired of using 'su' and supplying password.
The easy but not very secure solution is to allow some (or all) users to execute mount/unmount as root without being prompted for password by adding them to /etc/sudoers file like this:
%users ALL=NOPASSWD: /bin/mount, /bin/umount
'users' is a group name.
Now I can use...