So, if I’m understanding, you have a user with wheel group membership, and wheel group has sudo ALL privileges, correct? But, Webmin isn’t recognizing that as a root-capable user?
I guess Webmin probably isn’t aware of that possibility. @Jamie ?
Most vps services I use only allow creation of a sudoer with Authentic key login. They disable root during the installation process. I would like to keep it that way as well.
Webmin doesn’t look at the group membership to determine sudo capabilities - instead it runs the command sudo -l -S as the user, and checks the output for a line like :
You don’t need to do that. If you have a system root user that has a password, Webmin will authenticate to it without need it to have a Webmin password. If you make both, now you have to worry about them either being in sync or keeping up with both.
Well obviously, I had to do it @Joe because your software didn’t pick up the sudoer and was unable to log into the gui. This is not the first time I had to go this route.
As per Webmin > Webmin Users > Convert Unix to Webmin Users has to option to sync passwords.
I restrict the root login so no need to worry about sync of passwords.
No, I mean, if you set a root password on the system, you can use root and that password to login to Webmin. That’s unrelated to the sudo issue you mentioned above.
Webmin can authenticate to system users. You do not need a Webmin password.
Well, it didn’t work, that’s why I have the command saved in my notes to set the password for root to login. Because this is not the first time this has happened even after I had rebooted the vps after creating the password for root.