• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

How to limitate shells?

H

hansg

Guest
Hello,

I have just a short question.
I want to limit the shell selection in Plesk 8.6. So that admin could only select scponlyc as a valid shell. All other shells includng the chrooted bash etc, should be marked as non selectable, invisible or should link to scponlyc.

Anyone has a clue how to do this?

Best regards

HansG
 
The admin can do anything (including running commands as root). You cannot limit admin's powers.
 
i already fixed it. i run a script on phosting update, so the shell of any user with shell != scponlyc will set up a scponlyc shell and usermod to this shell, /bin/false will remove the chroot env and set the shell to /bin/false

little dirty fix, but it isn't the first for plesk -.-

thanks anyway
 
Back
Top