Linux - How to make mount available to users other than root

Linux - How to make mount available to users other than root

Post by Teoh Soh T » Tue, 06 Aug 1996 04:00:00



How do I allow users to use the mount command to mount and umount
partitions across a few linux systems ?

Any help is appreciated.

 
 
 

Linux - How to make mount available to users other than root

Post by Mikko Rauha » Tue, 06 Aug 1996 04:00:00



Quote:>How do I allow users to use the mount command to mount and umount
>partitions across a few linux systems ?

Put them in /etc/fstab with options 'user,noauto'.

        - Mjr, sivari



I speak for me, myself and I only

 
 
 

Linux - How to make mount available to users other than root

Post by DUPRE Christop » Tue, 13 Aug 1996 04:00:00



: How do I allow users to use the mount command to mount and umount
: partitions across a few linux systems ?

In your /etc/fstab file, you add the option "user" to the filesystems you want the users
to mount.
Note that the user option add "noexec, nosuid, nodev" unless overriden.

--
Christophe Dupre                              Universite de Montreal

Montreal, Qc, Canada
"Nous ne sommes pas libres de ne pas etre libres, nous sommes obliges de
l'etre"  -  Fernando Savater

-- Geek Code 2.1 --
GCS d-- H+ s:++ g+ !p au-* a19 w+ v+ C++(+++) UIL++>+++ P+>++ L++
    3- E---- N++ K W- M- V-- Y+ t++ 5++ !j R+ G- tv b++
    D+ e+ u** h->++ f+ r++ n---(----) y+

#include <disclaimer.h>

 
 
 

Linux - How to make mount available to users other than root

Post by Marcus Herbe » Sun, 25 Aug 1996 04:00:00



: How do I allow users to use the mount command to mount and umount
: partitions across a few linux systems ?

Install 'sudo' and edit /etc/sudoers with 'visudo' in this way:

Quote:> rhohost:~ # cat /etc/sudoers
> # sudoers file.

>  # Cmnd alias specification
> Cmnd_Alias  MISC=/bin/rm,/bin/cat,/bin/mount,/bin/umount

>  # User specification
> root    ALL=ALL
> rhoenie ALL=MISC

User 'rhoenie' then can do a 'sudo mount /dev/hda9 /mnt -t msdos' by only
giving his login-password to the system.

--

        Find my homepage on /\ www.franken.de \/
             As my mother said: "Don't eat *yellow* snow!"

 
 
 

Linux - How to make mount available to users other than root

Post by Cedric Le Goate » Sun, 25 Aug 1996 04:00:00



Quote:> How do I allow users to use the mount command to mount and umount
> partitions across a few linux systems ?

just add the option "user" in your /etc/fstab for the partition

--
Cedric LE GOATER

------------------------------------------------------------------
Civil Aviation                            TAHITI, French Polynesia

 
 
 

Linux - How to make mount available to users other than root

Post by Dan Nil » Wed, 28 Aug 1996 04:00:00


It is extremely easy to allow a user to mount/unmount drives in Linux.
All you have to do is add the user option in /etc/fstab.  

For example, I allow users to mount and unmount the cdrom drive.  Here
is my entry from /etc/fstab:

/dev/hdc        /cdrom  iso9660 ro,user,exec,async,noauto       1       1

Any user on my system can type 'mount /cdrom' or 'umount /cdrom' and
have it work.  If you want more precise controll, then you will need
to use some other method.  But if you just wany any user to be able
to mount/umount cd's and floppys, the /etc/fstab will do the trick.

Dan

#--------------------------------#
# Dan Niles      Signatures      #

#--------------------------------#