Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jun 2010 13:36:37 +0200
From:      =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= <olivier@freenas.org>
To:        Vitaly Magerya <vmagerya@gmail.com>
Cc:        freebsd-ports-mailinglist <freebsd-ports@freebsd.org>
Subject:   Re: Call for testers: www/shellinabox (Shell in a Box)
Message-ID:  <AANLkTikFzqYCXqkObGlkem-7BtoaOL6P4MuoqnYEbc8z@mail.gmail.com>
In-Reply-To: <4C28733E.9050003@gmail.com>
References:  <AANLkTil__Lw0uiFXKMI4o1TMoFBXbtQ3CPS1-yMl4edQ@mail.gmail.com>  <4C28733E.9050003@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2010/6/28 Vitaly Magerya <vmagerya@gmail.com>:

>
> So what I propose is this:
> 1. Create "shellinabox" user and group (via USERS and GROUPS).
> 2. Update rc script to start shellinaboxd with that user and group.
> 3. Make the certificate directory 700, owned by shellinabox:shellinabox.

Thanks for your tips, I've updated the port, here how to proceed now:

cd /usr/port/www
fetch http://gugus69.free.fr/tools/shellinabox.tgz
tar zxvf shellinabox.tgz
cd shellinabox
patch ../../UIDs UIDs.diff
patch ../../GIDs GIDs.diff
make install clean
/usr/local/etc/rc.d/shellinaboxd onestart

For information:
MD5 (shellinabox.tgz) =3D c553fd6b05d0b136cbef95f8cb808072
I've used the UID/GID 139 that seem available.


> 4. Move the certificate directory to /var/shellinabox or similar
> =A0 (what's our conventional location for this kind of files?).
>
> I'm not sure on the 4 though. Any thoughts?

I let the certificate in /usr/local/etc/shellinabox (on my nanoBSD,
/var is a volatile RAM disk).

Regards,

Olivier



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikFzqYCXqkObGlkem-7BtoaOL6P4MuoqnYEbc8z>