MoonChild Posted November 30, 2002 Report Share Posted November 30, 2002 Trying to get sudo to work for me.... # sudoers file.# # This file MUST be edited with the 'visudo' command as root. # # See the sudoers man page for the details on how to write a sudoers file. # # Host alias specification Host_Alias CDROM = localhost # User privilege specification root ALL=(ALL) ALL # My thing for CDROMs support ALL CDROM = NOPASSWD: /sbin/umount /mnt/cdrom, /sbin/mount -o nosuid,nodev /dev/hdb /mnt/cdrom ALL CDROM = NOPASSWD: /sbin/umount /mnt/cdrom2, /sbin/mount -o nosuid,nodev /dev/scd0 /mnt/cdrom2 Unfortunately, when I try to "mount /dev/scd0 /mnt/cdrom2" or cdrom for that case, I am asked for a password. What is wrong?[/i] Quote Link to comment Share on other sites More sharing options...
Guest Kamikaze_Gerbil Posted November 30, 2002 Report Share Posted November 30, 2002 Trying to get sudo to work for me.... Unfortunately, when I try to "mount /dev/scd0 /mnt/cdrom2" or cdrom for that case, I am asked for a password. What is wrong?[/i] By default sudo requires your usernames password. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.