Results 1 to 5 of 5
  1. #1

    Jailshell or noshell?

    I was doing some Linux administration on a WHM/cPanel server for a client when I came across entries like these in the /etc/passwd file:

    But on all the WHM servers that I have seen the entries have been like this:

    So what is the difference between the two? Which is more secure and how do I make all users and new users that are created in WHM jailshell instead of noshell?

  2. #2
    The jailshell accounts mean that those users will be able to login to a fairly restrictive but still useful shell account via SSH (firewall and maybe other settings permitting).

    The "noshell" ones are more secure as it's one less way in to the server. However, the "jailshell" is pretty secure. If you want to limit the ways in to the server and the possibility of someone doing something silly, it's best to disable it.

    As for making the default "noshell", it's in WHM somewhere. I haven't used WHM for years so don't remember, just poke around till you find it, or look in the manual. (or someone else can tell you on here).

  3. #3
    Yeah all accounts are noshell by default, thanks for your help.

  4. #4
    I see sometimes that people get bin/false what is that? Is it safe to allow?

  5. #5
    Yeah that's fine. If it's "false" then they can't login.

Similar Threads

  1. How to jailshell SSH user
    By sh4ka in forum Hosting Security and Technology
    Replies: 5
    Last Post: 10-10-2008, 07:27 PM
  2. crontab -e in jailshell.
    By -OY- in forum Hosting Security and Technology
    Replies: 6
    Last Post: 08-27-2008, 01:50 AM
  3. jailshell problem
    By jacksony in forum Hosting Security and Technology
    Replies: 3
    Last Post: 12-31-2007, 02:44 PM
  4. Jailshell Access
    By RackFleet in forum Reseller Hosting
    Replies: 3
    Last Post: 03-08-2006, 02:25 AM
  5. jailshell, where do I get it?
    By bubazoo in forum Hosting Software and Control Panels
    Replies: 7
    Last Post: 01-31-2005, 07:46 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts