On 2/4/20 1:13 PM, stan via users wrote:
On Tue, 4 Feb 2020 12:25:39 -0800
Mike Wright <nob...@nospam.hostisimo.com> wrote:
Defaults    env_reset
Defaults    mail_badpass
Defaults    secure_path="some_path"

# Cmnd alias specification
Cmnd_Alias LXC=/usr/bin/lxc

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL

# Allow members of group sudo to execute any command
%sudo  ALL=(ALL:ALL) ALL

# User privilege specification
root   ALL=(ALL:ALL) ALL
mike   ALL=(ALL) NOPASSWD:LXC

----

sudoers.d is empty

launching an xterm from the cli then entering in the new xterm:

      lxc list

and I get a password prompt.  Absolutely no clue.

I'm not familiar with all this, but when I looked at the /usr/bin/
directory, there isn't an lxc in there.

$ ls /usr/bin/lxc*
/usr/bin/lxc-attach     /usr/bin/lxc-checkconfig  /usr/bin/lxc-console  
/usr/bin/lxc-destroy  /usr/bin/lxc-freeze  /usr/bin/lxc-monitor   
/usr/bin/lxc-stop      /usr/bin/lxc-unshare        /usr/bin/lxc-wait
/usr/bin/lxc-autostart  /usr/bin/lxc-checkpoint   /usr/bin/lxc-copy     
/usr/bin/lxc-device   /usr/bin/lxc-info    /usr/bin/lxc-snapshot  
/usr/bin/lxc-top       /usr/bin/lxc-update-config
/usr/bin/lxc-cgroup     /usr/bin/lxc-config       /usr/bin/lxc-create   
/usr/bin/lxc-execute  /usr/bin/lxc-ls      /usr/bin/lxc-start     
/usr/bin/lxc-unfreeze  /usr/bin/lxc-usernsexec

Could that be why it isn't working?

lxc-* files are from the original LXC. lxc is the base command for LXD which is based on LXC.

Thanks
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@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

Reply via email to