[scponly] small bugs under suse linux (make jail)

Sven Hoexter sven at telelev.net
Wed Nov 20 16:09:49 EST 2002


On Tue, Nov 19, 2002 at 11:48:07PM +0100, Olivier M. wrote:

Hi,

> just "discovered" scponly, and it looks great :-)
> 
> small things with make jail:
> - option "-C" make the script fails (option not existing)
Hehe nice, I can not find any implementation of install that
uses a -C option. All newer gnu versions don't know -c at all.
The install from solaris supports -c and it's described as the
following in the manpage:

     -c dira
           Install file in the directory specified  by  dira,  if
           file  does  not  yet  exist.  If  it is found, install
           issues a message saying that the file already  exists,
           and exits without overwriting it.

> - sftp-server is not installed in the chroot : is that
>   wanted? 
I think that this script is just a basic setup for a chroot
enviroment wich can be modified on needs. Maybe I'm too stupid
but I think that there are other strange things in for example this
lonely lines:

if [ x = x ]; then
       echo "this script requires the program useradd to add your"
       fail "chrooted scponly user."
fi

What about cleaning it up and post a patch?

Sven

-- 
sig wurde betriebsbedingt gekuendigt
Apt-rpm packages for RedHat:
http://www.hoaxter.de/aptrpm/index.html



More information about the scponly mailing list