Hello,

I am running user in old fashion

I wanted that a user be able to do:
mount /dev/mapper/VolGrpUsr_DK0-home /mnt/USB

With visudo, I did
pdupre  localhost=/usr/bin/mount /dev/mapper/VolGrpUsr_DK0-home /mnt/USB/

(pdupre is also member of pdupre
I tried also
%pdupre  localhost=/usr/bin/mount /dev/mapper/VolGrpUsr_DK0-home /mnt/USB/)


But it does not work
/usr/bin/mount /dev/mapper/VolGrpUsr_DK0-home /mnt/USB
mount: only root can do that

or
sudo /usr/bin/mount /dev/mapper/VolGrpUsr_DK0-home /mnt/USB
[sudo] password for pdupre: 
pdupre is not allowed to run sudo on Teucidide.  This incident will be reported.

I also tried to put pdupre as member of wheel, but it does not help.

Where is my mistake?

Thank


===========================================================================
 Patrick DUPRÉ                                 | | email: pdu...@gmx.com
===========================================================================
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to