Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 31st October 2007, 22:46
gral gral is offline
Member
 
Join Date: Jan 2007
Location: Argentina
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to gral
Unhappy Chroot ssh login problem

Hello everyone, im having troubles installing a ssh chrooted envioroment; at first look everything works fine, doing a "chroot /chroot/ /bin/sh" i enter to the chroot system Ok.

But loggin via ssh to the account i enter to the home directory config in the passwd but the user is not chrooted, i can see the system normally..

here are my passwd files;

/etc/passwd

gjail:x:603:603::/chroot/./home/gjail/:/bin/sh

/chroot/etc/passwd

gjail:x:603:603::/home/gjail:/bin/sh


Any tip or clue will be very helpfully!!


Best Regards!
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
SSH Problem - Receive signal 15 Terminating joelee Technical 1 28th September 2007 18:47
Unable to authenticate to SMTP server ashkev Installation/Configuration 15 6th February 2007 17:46
ssh chroot works, but no scp for chroot users zokahn HOWTO-Related Questions 5 30th January 2006 09:33
Problem with POP3 Login masterkain Installation/Configuration 6 15th January 2006 18:11


All times are GMT +2. The time now is 19:43.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.