On Wed, 24 May 2006 09:05:23 -0400
Derek Martin <[EMAIL PROTECTED]> wrote:

> On Wed, May 24, 2006 at 12:01:56PM +0200, Chris Osicki wrote:
> > 
> > Hi
> > 
> > I've just made my first experiences with rssh-2.3.2 on a Solaris8 box.
> > I setup a chroot environment and everything works OK. Well, almost ;-)
> > The chdir to the user's home directory doesn't.
> 
> 
> That's because /opt/admin isn't in /opt/jail.  Note the leading slash:
> we're dealing with absolute paths.
> 
> It works perfectly fine.  It's expected that /etc/passwd will be
> copied into the jail and not modified.  Changing to a user's home
> directory is only expected to work if the user's home directory exists
> in the jail.  If the user's home directory is in the jail, then
> specify the full absolute path in the passwd file, and it will work
> fine.  
> 
> -- 
> Derek D. Martin
> http://www.pizzashack.org/
> GPG Key ID: 0x81CFE75D
> 

Hello Derek

Thanks for clarifying and sorry for the noise.
BTW, calling ch_start_logging() before chroot() was a great help in debugging 
my chroot jail
setup on Solaris8/9/10 systems.

Thanks and regards,
Chris


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
rssh-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rssh-discuss

Reply via email to