Help - Search - Members - Calendar
Full Version: sudo anyone?
MandrivaUsers.org > General Help > Software
MoonChild
Trying to get sudo to work for me....

QUOTE
# 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]
Kamikaze_Gerbil
QUOTE
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.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.