NethServer Version: 7.9.2009
Module: Cockpit / Terminal
I have “normal users” ssh/sftp access set to “no access”.
/etc/cockpit.allow only contains “root” and “domain admins”.
Normal users can still log in to the Cockpit on port 9090. And even though ssh/sftp access is turned off for normal users, they can click on Terminal in cockpit and get a command prompt.
Ideally I’d like for cockpit to only be accessible to root and domain admins as the cockpit.allow file seems to indicate is what should be happening, but failing that, I’d like a way to disable the Terminal function in Cockpit.
/usr/share/cockpit/systemd/override.json already has terminal set to null, but this seems to be a different terminal than the one used in the Nethserver cockpit?
Short of deleting /usr/share/cockpit/systemd/terminal.html.gz I haven’t found a way to do this.
The 7.7 release notes say “Only users with enabled shell can access the new Server Manager.”, but that doesn’t seem to be the case on my server.