linux poison RSS
linux poison Email

Allow normal users to mount drives

By default, Linux does not allow users to mount drives. Only root can do this

With a special command in the /etc/fstab file, you can change that. This is a typical line for the /dev/hda2 drive in /etc/fstab:

/dev/hda2 /mnt ext3 noauto,user 1 1

The keyword user allows any user to mount the drive into /mnt.


0 comments:

Post a Comment

Related Posts with Thumbnails