|
|||||||||||
|
Re: Server-wide no-pty
From: Rajkumar S <listuser(at)myrealbox.com>
Date: Wed May 21 2003 - 12:19:29 EDT -----BEGIN PGP SIGNED MESSAGE-----
Rajkumar S wrote: > similar) mode so that people can use the server for rsync and cvs but
I got what I want in a truly bizzare way. Having failed deny shell I was looking for restricted bash as a compromise. To enable restricted bash bash has to be called as rbash. I edited the sources and changed that to bash itself and compiled it with $ ./configure --enable-minimal-config --enable-restricted - --disable-disabled-builtins --disable-xpg-echo-default --enable-static-link and put that as the shell for my (chrooted) ssh. and it worked!! login is not allowed, while rsync and cvs is possible. But I have no idea how it worked. > My another question is how to enable logging for a chrooted sshd?
This question remains though !
raj
iD8DBQE+y6cWg/KquOAub0IRAhzHAKDaCKmFuku0LgDSaONDetYieF17/wCeK3mq
6/ajdoZHrvYvZ7/hF5246RU=
This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:59 EDT |
||||||||||
|
|||||||||||