LOSURS

Allowing Non-Root Users to Mount Filesystems

Sometimes it's rather a nuisance to have to be root just to mount a floppy disk or CD-ROM. Fortunately, it's easy to change it so you don't have to be. This explanation uses the floppy as an example, but you can apply it to your CD-ROM drive (or any other filesystem, for that matter).

What to mount and where is controlled by a file called "/etc/fstab". You need to edit that file. In it, you should see a line along the lines of:

/dev/fd0        /mnt/floppy             auto    noauto                  0 0

To allow mere mortals (i.e., non-root users) to mount and unmount this particular filesystem, you just add the "user" option, so the line looks like this:

/dev/fd0        /mnt/floppy             auto    noauto,user             0 0

That's all there is to it!