Jump to content

sudo anyone?


MoonChild
 Share

Recommended Posts

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]

Link to comment
Share on other sites

Guest Kamikaze_Gerbil
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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...