Terminal - xterm available on reseller

SYSTEM INFORMATION
OS type and version rocky 9
Webmin version 2.111
Virtualmin version 7.20.2 pro
Webserver version Apache version 2.4.57
Related packages terminal

Hello, i have new server with virtualmin pro just installed.
i need to create reseller and give access to terminal.
so i can close ssh port.

i try to
Virtualmin – system settings – virtualmin configuration
Configuration category: reseller settings
Additional modules for resellers xterm

save

but when i access with reseller password i can’t see terminal.
instead of reseller login , i can enable xterm to virtual server (user)
i can with
manage virtual server - edit owner limits
Extra Webmin modules xterm

but i can bacause i’m root, how reseller give this permission?

thank you

I see what you mean, are you using the reseller account as a extra administrator. This is either a oversight or a reseller isn’t meant to have terminal access.

A reseller account doesn’t have a real system user, thus can’t use the terminal (which is a system login). It’s probably possible to create a system user with the same name, though, and grant them access to the Terminal in Webmin Users.

But, you’re probably expecting them to have access they won’t have. The terminal would have user-level permissions, and the domains the reseller manages will not be owned by or in the same group as the reseller, and so the reseller won’t be able to do anything with their domains content. You’d need to…do something else. I’m not sure what the right option would be. Maybe add all the domain groups as secondary groups for the reseller. As long as all the domains files are group writable, that’d work, but also has some potential risks. Linux has finer-grained access control in a variety of ways, which might also be an option.

I got the reseller to have terminal if you edit the webmin user add terminal

That added the terminal icon and access to root.

I did also enable unix user for reseller, not sure if that made a difference.
UPDATE I can’t see any new unix user.

image

thank you.

I explained badly

I need to enable a reseller to enable terminal for its customers…

so i’m root
create a reseller with name “reseller1”
i share password to my reseller

reseller login with “reseller1”
and create virtual server with “domain1.tld” and username “user1”
how reseller1 can enable terminal for user1 (without root permission)?

so that reseller1 or user1 can use terminal by virtualmin panel.

thank you

works for me

EDIT Just noticed the domain owner does not get the option in the virtualmin menu, however does get the terminal option from the icons at the bottom of the screen

1 Like

ok, thank you.

now im able to reproduce use this way

Webmin – webmin – webmin users
click on reseller
Available Webmin modules
V Terminal
Save

thank you

Is this a bug?

no this is just intended, you may not want to give a reseller access to the terminal, tbf this is the first time I have even looked at resellers, I am playing with options atm to see what you can and cannot do

I was meaning, terminal not being in the menu but is an icon only.

Are the menu permissions wrong

Ah I see Thought you meant the ability to have a terminal in the first place, Maybe it is.
There is a setting in resellers that may/may not have a bearing
image

1 Like

looks like an authentic theme bug, just switched to the framed theme & the option is within the menu system


however when you switch back to authentic the option appears, caching maybe ?

if someone could confirm this bug and then report it, it would be useful.

I cannot do it because I do not have pro installed at this time (I do have it though :smile: )

It’s a caching problem, it doesn’t really effect anything just a missing option until the cache is cleared nothing too much to worry about unless you think a domain owner has not got the intelligence to click the button in the icon list at the base of the menu, that said as the theme inherits theme settings, from the person who set up virualmin in the first place, this should be changed to a default set for each user, there is the point that if a master admin removes the theme config icon sudsisquent users can not edit the theme assuming other settings are set, don’t show dashboard etc

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