home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!aurora.cc.monash.edu.au!andrewc
- From: andrewc@aurora.cc.monash.edu.au (Andrew J. Cosgriff !)
- Subject: Re: How do I provide the floppys to normal users????
- Message-ID: <andrewc.724369870@aurora.cc.monash.edu.au>
- Sender: news@monu6.cc.monash.edu.au (Usenet system)
- Organization: Monash University, Melb., Australia.
- References: <1992Dec14.160121.10722@wega.rz.uni-ulm.de>
- Date: Mon, 14 Dec 1992 21:51:10 GMT
- Lines: 30
-
- S_ESPENLAUB@rzmain.rz.uni-ulm.de (Klaus Espenlaub) writes:
-
- >Is there any possibility to give normal users the right to mount
- >floppy drives???? I've been trying it with different success (it works only
- >when floppys already in at boot time........)
-
- >May anybody help me???????
-
- Well, it depends...If you don't mind the security risk you could just make
- mount and umount setuid root, although this is NOT a Good Thing (tm) if
- you've got dial-in access...
- (Or DOS partitions you don't want them to mount)
-
- So, take your chances if you like, but I don't recommend it...
- i guess you could make a setuid root script that checked what tty they're on
- and what they're mounting, so they can only mount floppies and only when
- they're at the console...
-
- Perhaps I'll give this idea a go - I must admit it's a hassle having to su
- all the time to mount disks...
-
-
- Enjoy !
-
- Cos !
- --
- -------------------------------------------------------------------------------
- * Andrew J. Cosgriff ! * #include <std_witty_quote.h>
- #define HERE cc.monash.edu.au #include <std_disclaimer.h>
- Hassle me at : andrewc@aurora.HERE ; andrewc@lindblat.HERE ; cos@yoyo.HERE
-