Newsgroups: comp.unix.admin
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!menudo.uh.edu!karazm.math.uh.edu!jet
From: jet@karazm.math.uh.edu (J Eric Townsend)
Subject: Re: Giving users access to CDROM
Message-ID: <1991Jul1.025628.6435@menudo.uh.edu>
Sender: usenet@menudo.uh.edu (USENET News System)
Nntp-Posting-Host: karazm.math.uh.edu
Organization: University of Houston -- Department of Mathematics
References: <JC.91Jun30161309@condor.bu.edu>
Distribution: comp
Date: Mon, 1 Jul 1991 02:56:28 GMT

In article <JC.91Jun30161309@condor.bu.edu> jc@raven.bu.edu (James Cameron) writes:
>System: SunOS 4.1.1 on SparcStation 2 with a CDROM
>Problem: The cdrom needs to be used by general users.  However,
>	 mount and umount can only be used by root, regardless
>	 of the file attributes.  So, can someone show me how
>	 to make simple setuid and setgid programs to solve
>	 such dilemma?  

Why not either:
0.  Use the automounter (I haven't tried it with cdrom, bt should work);
1.  Leave the CD mounted all the time;
2.  Buy a jukebox, they're only $1200 or so from Young Minds...

--
J. Eric Townsend - jet@uh.edu - bitnet: jet@UHOU - vox: (713) 749-2126
Systems Wrangler, University of Houston Department of Mathematics
Skate UNIX! (curb fault: skater dumped)
PowerGlove mailing list: glove-list-request@karazm.math.uh.edu
