On Sun, 4 Jan 2004 00:53:52 +0000 Stacey Roberts <[EMAIL PROTECTED]> probably wrote:
> Hello, > I've just realised that I am unable to mount a cdrom disk as a > non-root user for *any* of my machines. > > All hosts concerned are running FreeBSD-4.9Stable, and running through: > http://www.freebsd.org/doc/en_US.IS...SER-FLOPPYMOUNT does *not* work > for me at all.., [snip] Why not use sudo (from the ports) and allow yourself (and anyone who needs) to mount the cdrom? Here's what I have in my sudoers file: df ALL=NOPASSWD: /sbin/umount /cdrom,\ /sbin/mount_cd9660 -o nosuid\,nodev /dev/acd0c /cdrom This means `df' can mount and unmount the cdrom. And I have a couple of scripts, `cdrom+' and `cdrom-', which contain the allowed commands above. As you see, I don't need a password or anything to mount the cdrom (NOPASSWD). HTH. > Regards, > > Stacey > -- > Stacey Roberts > B. Sc (HONS) Computer Science > > Web: www.vickiandstacey.com > -- DoubleF The penalty for laughing in a courtroom is six months in jail; if it were not for this penalty, the jury would never hear the evidence. -- H. L. Mencken
pgp00000.pgp
Description: PGP signature