On Fri, Oct 31, 2003 at 02:30:43PM -0800, Melissa Young wrote:
> Hello, Derek: How are you doing?
Pretty well, thanks, but busy all the time...
> I now have a quick question: I like to setup rssh for
> two users who will enter his own directory. To do
> this, I need to separately build two independent
> chroot fails, right?
Yes. But be careful about this. For two or three users, this isn't
too bad, but for more than that it will become troublesome. There are
notes about that in the CHROOT file...
> My question is if the following rssh.conf file is
> correct:
>
> # cat rssh.conf
>
> allowsftp
> umask = 022
> chrootpath=/home/rsshtest
>
> user=rsshtester1:011:10:/home/rsshtest/rsshtester1
> user=rsshtester2:011:10:/home/rsshtest/rsshtester2
Sure, it looks fine. Though, if you aren't doing any other chrooting
than just these two users, you don't actually need the chrootpath=
line. If you want other users to log in normally, you probably want
to get rid of that.
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
|