Security
cancel
Showing results for 
Search instead for 
Did you mean: 

Mounting permissions by non root

Mounting permissions by non root

I am trying to find out whether a non root user can mount/unmount filesystems/devices like cdrom,NFS shares,Local FS.
Hello
2 REPLIES
Venkatesh BL
Honored Contributor

Re: Mounting permissions by non root

From the manpage of 'mount':

To use the mount and unmount commands, you must be the root user, with the
following exceptions:

+ If NFS file systems have been explicitly exported to allow nonroot
users to mount the file system. Refer to the -n option of mountd(8)
for more information.

+ If a CD-ROM is mounted (by specifying the -t cdfs option) and the user
owns the mount point.
Ann Majeske
Honored Contributor

Re: Mounting permissions by non root

If you need to have non-root users mount other devices you could look into using dop or sudo.