trying to chroot users connecting via ssh
Dear friends at ssh,
I'm trying to chroot my users connecting via ssh (your windows client
and/or putty).
I'm running Solaris 2.7.
I supposed (may be wrongly ???) that on Solaris 2.7 the ssh server 3.2.3
may be easily configured for chroot ( just using ChRootUsers in the config
file, having run the
ssh-chrootmgr).
Well, I had to hack a little in the script: the hacked line was
userdir=`cat /etc/passwd | egrep "^$user" | sed -n 's/.*:\(.*\):.*/\1/p'`
which I had to convert in
userdir=`ypcat passwd | egrep "^$user" | sed -n 's/.*:\(.*\):.*/\1/p'`
as my users' database is in the yellow pages.
Then the user directory is found but I got
Couldn't find static binaries in $PATH.
I tried to rebuild the ssh server with --enable-static but the answer was
the same
Couldn't find static binaries in $PATH.
I tried to read the FAQ but I found no info related to 3.2.3 version.
Any help ?
Dario Sermasi
Received on Mon Mar 31 12:28:17 2003
This archive was generated by hypermail 2.1.8
: Wed Aug 23 2006 - 14:02:56 EDT
|