• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

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