home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sources.wanted:5118 comp.unix.questions:13724 comp.unix.misc:4281
- Path: sparky!uunet!virgin!unhtel!mozz.unh.edu!nymph.msel.unh.edu!sch
- From: sch@nymph.msel.unh.edu (Shane Hutchins aka Xenos)
- Newsgroups: comp.sources.wanted,comp.unix.questions,comp.unix.misc
- Subject: Re: Floppy drive on a sparcstation...Thanks for your help
- Date: 21 Nov 1992 05:20:44 GMT
- Organization: UNH Marine Systems Engineering Lab/Computer Science
- Lines: 39
- Message-ID: <1ekgvcINN7ii@mozz.unh.edu>
- NNTP-Posting-Host: nymph.msel.unh.edu
-
- I a few days ago I posted:
- >I'd like allow users to transfer files from the floppy drive on our
- >Sun4 SPARCstation IPCs to their account. (/dev/fd0)
- >Unfortunately, it requires root permissions to mount the thing.
- >Is there some freeware out there that will allow a user to mount /pcfs
- >and eject (ie use the damn floppy drive) without root access.
-
- I'd like to thank all those that helped me in my search...
- (all 25+ that sent me mail, and the few that posted)
-
- I found 3 possible solutions: (I'm sure there are more)
- * use tar: tar cvf /dev/fd0 files (see the man page)
- * use sudo, with a program that contains: a system("/usr/etc/mount /pcfs");
- or any other program that sets setuid to root...
- I think a shell script would be considered bad security!!
- * or use mtools
-
- I decided to add Sudo AND Mtools 7.0.2. sept 92.
-
- o Sudo allows a permitted user to execute a command as root.
- Sudo determines who is an authorized user by consulting a file.
- This program is described in "Unix System Admin. Handbook".
- I found this was the best program to allow certain users to mount /pcfs,
- the cdrom, and other selected tasks.
-
- o I also added the mtools package. This is really a great package.
- Mtools is a public domain collection of programs to allow Unix systems
- to read, write, and manipulate files on an MSDOS filesystem (typically a
- diskette). Each program attempts to emulate the MSDOS equivalent
- command as closely as practical.
- Mtools doesn't mount the disk as a filesystem so there is no security risk!
-
- Use the "archie" program to hunt down the sources near you.
- sudo and mtools are avail from ftp.uu.net (I think?).
-
- Thanks again...
- --
- -Shane C Hutchins
- sch@unh.edu
-