Don't let Virtual Server Admins create SSH users

What is the difference between master administrator, virtual server owner and virtual server (mail) users?

I don’t understand to whom you’re referring when you say “other users/admins.”

I’ll explain what I want.
I want virtualmin admins and root to be able to create ssh users.
I don’t want virtual server owners(admins) and any other users without sudo/root permisions to be able to create ssh users.

Right now I can make anyone been able to create ssh users or anyone able to create ssh users. Not only some users/admins/virtual servers…

So, if you go to Custom Shells , make sure that Virtualmin built-in defaults is selected. Then, go to Manage Virtual Server and Switch To Server’s Admin . After that, go to the Edit Users page; when adding a new user, do you still see the Email, FTP, and SSH option in the Login permissions dropdown?

Yes I can, and with custom shell if I enable 3 of them with the 3 option I can too.
But Virtual Server Owners too.

What do you have set in Manage Virtual Server ⇾ Edit Owner Limits page for Allowed login type set in Other restrictions accordion?

Email and FTP

EDIT: I thought that setting the owner to Mail and FTP would limit him to create users with Mail or Mail and FTP but no, it’s not limiting it.

EDIT2: I got an static IP address today so I’ll reinstall Ubuntu Server and Virtual from 0. I’ll try to find a solution when I finish reinstalling everything. I made some changes trying to fix this and now idk what it’s changed and what is not hahahahah

It’s a bug, and Jamie just fixed it.

@Jamie, what do you think about making a new small Virtualmin release to address this and a few other issues? Should I prepare CHANGELOG.md?

That’s cool, now I’ll be able to do that niceeee.

Btw, how can I update Virtualmin if you update it?

When information about the new release appears in the News section, you can update it simply by running:

apt-get update && apt-get upgrade

or

dnf clean all && dnf update 
1 Like

Let me wrap up a couple of other small in-project fixes first…

Excellent, thanks!

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