• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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