Create new ssh user in webmin and disable root in ssh server

I created a new privileged user in webmin / webmin users and want to give ssh access and disable root.
However, access is denied when I try to connect via ssh. Is there a way to create a webmin user with SSH access (not a virtualmin/domain user).

SYSTEM INFORMATION
OS type and version: CentOS Linux 7.9.2009
Webmin version: 1.973
Virtualmin version: 6.16
Related products version: RECOMMENDED

If you want a system user, do not create it as a Webmin user. Create a System user, and then make it a Webmin user, too.

Webmin has its own users, which aren’t system users (they literally don’t exist in /etc/passwd), but that’s not what you want. So, create a system user (you can do that in the System->Users and Groups or using the command line useradd or adduser), and then in Webmin Users add the user with UNIX authentication.

2 Likes

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.