If you run ssh-chrootmgr, it will set up the environment for you
so you don't have to deal with this manually.
# ssh-chrootmgr username
This should do the trick :) Remember, it sets up a chrooted environment for
sftp only.
-Anne
On Mon, Aug 21, 2000 at 02:15:09PM -0400, Gopinath wrote:
> Hi,
> I m trying to establish a chroot environment for a particular user in Liniux
> environment. I have sshd2 running and I updated the sshd2_config file based
> on the man page where I set ChRootUsers to the user XX1. When I do a sftp2
> as userXX1 I get the following error message
>
> Machine1> sftp2 SSHDMachine
> XX1@SSHDMachine's password:
> sftp> Warning: child process (ssh2) exited with code 254.
>
>
> I want to set the access of XX1(user) to be within the jail of his home dir.
> (i.e)/home/XX1 and lower in the dir path. Can somebody tell me as to what I
> m doing wrong with the settings and how to give the jailed access to the
> user.
>
>
> GOpi
>
-------------------------------------------------------------------------
Anne Carasik | A mathematician is a device for
Principal Consultant | turning coffee into theorems.
SSH Communications Security, Inc. |
Email: [EMAIL PROTECTED] | - Paul Erdos
-------------------------------------------------------------------------
Unless stated otherwise above, the opinions expressed herein are my own,
not of my employer.