On 2006-02-08, BB <(E-Mail Removed)> wrote:
>
> I tried with SUDO like this:
>
> visudo:
>
> user1 ALL=/bin/mount /user1/home/mnt ,/bin/umount /user1/home/mnt
> I checked /sbin/mount and found it "-rwsr-sr-x".
>
> But when the user1 logs in and try to execute
> sudo mount -t nfs xx.xx.xx.xx:/mnt/inst mnt
>
> he gets "
> Sorry, user user1 is not allowed to execute '/bin/mount -t nfs
> xx.xx.xx.xx:/mnt/inst mnt/' as root on VmWare.localdomain."
This is the same exact problem you had with your mount set up as a user
mount in /etc/fstab. The user's command doesn't match your sudoers
entry, so sudo rejects it. Try making the commands match.
--keith
--
kkeller-(E-Mail Removed)
(try just my userid to email me)
AOLSFAQ=http://wombat.san-francisco.ca.us/cgi-bin/fom
see X- headers for PGP signature information