example rule is parsable by visudo.
simply su(1) to www.
ALL CDROM = NOPASSWD: /sbin/umount /CDROM,\
- /sbin/mount -o nosuid,nodev /dev/cd0a /CDROM
+ /sbin/mount -o nosuid\,nodev /dev/cd0a /CDROM
Any user may mount or unmount a CD-ROM on the machines in the CDROM
Host_Alias (orion, perseus, hercules) without entering a password. This
.sp
.RS 0n
ALL CDROM = NOPASSWD: /sbin/umount /CDROM,\e
- /sbin/mount -o nosuid\,nodev /dev/cd0a /CDROM
+ /sbin/mount -o nosuid\e,nodev /dev/cd0a /CDROM
.RE
.fi
.PP
to www.
.Bd -literal
ALL CDROM = NOPASSWD: /sbin/umount /CDROM,\e
- /sbin/mount -o nosuid\,nodev /dev/cd0a /CDROM
+ /sbin/mount -o nosuid\e,nodev /dev/cd0a /CDROM
.Ed
.Pp
Any user may mount or unmount a CD-ROM on the machines in the CDROM