View previous topic :: View next topic |
Author |
Message |
The Shadow Surfer Tux's lil' helper
Joined: 08 Jun 2002 Posts: 102 Location: Denmark
|
Posted: Sun Jan 12, 2003 2:57 pm Post subject: can't login to jail via ssh (only via su) |
|
|
I have installed jail on my server (emerge app-misc/jail)
Made a jail, added some software to it and made a test user (chroottest)
Now my problem is that I can do "$su - chroottest" and login in to the jail this works just fine, only the basic commandes and the installed apps is available
But I can't login to the box using ssh, and this is ofcause what I need |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Jan 13, 2003 6:36 am Post subject: |
|
|
Is /usr/bin/jail listed as a valid shell in /etc/shells? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
The Shadow Surfer Tux's lil' helper
Joined: 08 Jun 2002 Posts: 102 Location: Denmark
|
Posted: Mon Jan 13, 2003 12:08 pm Post subject: |
|
|
rac wrote: | Is /usr/bin/jail listed as a valid shell in /etc/shells? |
thx, in /etc/shells the shelle was set to /usr/jail insted of /usr/bin/jail |
|
Back to top |
|
|
|