mike horansky <[EMAIL PROTECTED]> writes:

> Stephen Pitts wrote:
> 
> > I created a setuid script that attempted to mount my cdrom.
> 
> You might want to use the "super" utility to run scripts that set uid
> for you.

For the specific case of mount, you can just add a user parameter to
the options to let users mount it.  For example, this line from my
/etc/fstab:

/dev/scd0       /cdrom          iso9660 user,noauto,ro  0       0

lets any user mount the cdrom with `mount /cdrom'.  See mount(8) for
details.


Guy

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]

Reply via email to