Hmmmm .... good question. It appears that gmail lost most of the original
mail. So, trying again ....
The problem is that having used visudo to give user geoff (a member of
wheel) the necessary permissions to access root without password,i.e.,,
%wheel ALL=(ALL) NOPASSWD: ALL
it appears that everything is set up correctly,
geoff@webster[94] ~: sudo -l
Matching Defaults entries for geoff on webster:
always_set_home, match_group_by_gid, always_query_group_plugin,
env_reset,
env_keep="COLORS DISPLAY HOSTNAME HISTSIZE KDEDIR LS_COLORS",
env_keep+="MAIL QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE",
env_keep+="LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES",
env_keep+="LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE",
env_keep+="LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET XAUTHORITY",
secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin\:/var/lib/snapd/snap/bin
User geoff may run the following commands on webster:
(ALL) NOPASSWD: ALL
Yet the simplest test fails:
geoff@webster[95] ~: touch /foo
touch: cannot touch '/foo': Permission denied
Running a script that requires mount (which works as intended in v35
geoff@webster[100] ~/Perl: perl fix.pl
mount: /Media/USB/usb2: must be superuser to use mount.
So I'm perplexed.
On Sat, Nov 19, 2022 at 6:36 PM Sam Varshavchik <mrsam(a)courier-mta.com>
wrote:
Geoffrey Leach writes:
> any suggestion as what might be my probem (yes, change made with visudo)
Perhaps if you try to actually describe what your problem is, someone
might
be able to figure it out for you.
But merely stating that you have some kind of a "problem with sudo" is
not
very illuminating.
_______________________________________________
users mailing list -- users(a)lists.fedoraproject.org
To unsubscribe send an email to users-leave(a)lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue