1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

How to limitate shells?

Discussion in 'Plesk for Linux - 8.x and Older' started by hansg, Dec 3, 2008.

  1. hansg

    hansg Guest

    0
     
    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
     
  2. breun

    breun Golden Pleskian

    29
     
    Joined:
    Jun 28, 2005
    Messages:
    1,647
    Likes Received:
    0
    The admin can do anything (including running commands as root). You cannot limit admin's powers.
     
  3. hansg

    hansg Guest

    0
     
    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
     
Loading...