My problem is, I created a Virtual Server with the admin with acces to Mail and FTP but not to SSH.
I logges in with that admin user on virtualmin and everything os fine, I have Mail and FTP but no SSH but if I go to Edit Users I CAN create users with SSH permissions…
I’ve been looking and I found a way to disable FTP user creation for admins, so they can’t give FTP permisions(System Settings > Virtualmin Config > Server administrator permissions) but there is no way to disable the SSH user creation for admins.
Is there any way to limit Virtual Server Admin to create user only with Mail, FTP and both but no SSH? Or a way to only let Virtual Server Admins to create users with the selecter custos shells?
I’ve had a play for a while with plan and template and Virtualmin config and cannot add ssh option for the administrator user when creating a user.
I only get the SSH option as root, so not sure why its showing or not showing.
Right now yes, but If I disable the shell with ssh perms I’ll not.
If I disable it admin users will not be able to use it… but root will not be able neither xD
Another thing I was looking for it letting admins edit their DNS records, but I’ll check that later.
This shouldn’t happen and I can’t even replicate it on my server. Unless you have changed the settings for the admin users in Webmin Users?
I am logged in as the admin of the account with no FTP and no SSH for the admin, only Database and email:
I don’t have a drop down option to change login.
As root or sudo user to the server, change the admin account for the virtualserver to only have email access and it will remove the drop down option to allow others access to ssh and ftp.
The virtualserver admin will always have access to the databases.
The virtual server administrator or virtual server owner login type has all standard rules applied defined in Custom Shells. However, the master administrator login (i.e., root) isn’t bound by these rules.
In other words, virtual server owner login type solely relies on whatever is defined in Custom Shells and Allowed login type imposed in Server Owner Limits page.