Results 1 to 3 of 3

Thread: Is ther a way to add allowances to jailshell?

  1. #1
    Member carock's Avatar
    Join Date
    Sep 2002
    Location
    St. Charles, MO
    Posts
    218

    Default Is ther a way to add allowances to jailshell?

    I have a customer that would like to run the screen command. I installed it on the server, but when they run it, it has the following error.

    cpanel [~]# screen
    Cannot access '/dev/pts/1': No such file or directory

    Is there a way to allow jailshell to access this for this command or do I have to convert this user to normal shell?

    Thanks,
    Chuck

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Aug 2008
    Posts
    1

    Default Same

    Is there an answer for this yet?

  3. #3
    Member
    Join Date
    Dec 2006
    Posts
    113

    Default

    This isn't ideal, but it works:

    1. as root:

    Code:
    chmod 4755 /usr/libexec/pt_chown
    2. as the user that needs to run screen:
    Code:
    export SHELL=/bin/bash
    screen
    You should understand the potential security implications of setting pt_chown (or any file) suid root before doing this.

Similar Threads

  1. Jailshell ?
    By Getenks in forum New User Questions
    Replies: 2
    Last Post: 11-23-2009, 05:21 PM
  2. su from jailshell
    By mwmconsulting in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 03-12-2009, 05:25 PM
  3. About jailshell
    By kalitebil in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 12-12-2003, 10:05 AM
  4. jailshell
    By silvernetuk in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 03-30-2003, 03:00 PM
  5. Is ther a problem with adding the same name servers for seve
    By DWHS.net in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 12-07-2002, 01:16 AM