Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't login to jail via ssh (only via su)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
The Shadow Surfer
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jun 2002
Posts: 102
Location: Denmark

PostPosted: Sun Jan 12, 2003 2:57 pm    Post subject: can't login to jail via ssh (only via su) Reply with quote

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 :lol:
But I can't login to the box using ssh, and this is ofcause what I need :evil:
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Jan 13, 2003 6:36 am    Post subject: Reply with quote

Is /usr/bin/jail listed as a valid shell in /etc/shells?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
The Shadow Surfer
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jun 2002
Posts: 102
Location: Denmark

PostPosted: Mon Jan 13, 2003 12:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum