Thank.

Right, but the behavior is exactly the same (with the /)
I need to find the glitch.

And

sudo -l /usr/bin/mount /dev/mapper/VolGrpUsr_DK0-home /mnt/USB/
[sudo] password for pdupre: 
Sorry, user pdupre may not run sudo on Teucidide.

instead of:

pdupre is not allowed to run sudo on Teucidide.

===========================================================================
 Patrick DUPRÉ                                 | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
===========================================================================


> Sent: Tuesday, January 08, 2019 at 5:38 PM
> From: "Ulf Volmer" <u.vol...@u-v.de>
> To: users@lists.fedoraproject.org
> Subject: Re: sudo
>
> On 08.01.19 10:57, Patrick Dupre wrote:
> 
> > With visudo, I did
> > pdupre  localhost=/usr/bin/mount /dev/mapper/VolGrpUsr_DK0-home /mnt/USB/
> 
> > sudo /usr/bin/mount /dev/mapper/VolGrpUsr_DK0-home /mnt/USB
> 
> When you allow a specific command for sudo, you *must* use *exactly* the
> same command. In this case the slash at the end is missing.
> 
> 'sudo -l' may be helpful.
> 
> best regards
> Ulf
> _______________________________________________
> 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
>
_______________________________________________
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