[CentOS] Syslog for chroot-jailed SFTP users?

Lincoln Zuljewic Silva lincolnzsilva at gmail.com
Wed Feb 10 23:45:56 UTC 2010


If you have:
/home/username01/[etc,dev,tmp,bin,lib]
/home/username02/[etc,dev,tmp,bin,lib]
/home/username03/[etc,dev,tmp,bin,lib]
/home/username04/[etc,dev,tmp,bin,lib]

I believe you will need:
syslogd -a "/home/username01/dev/log"  -a "/home/username02/dev/log"
-a "/home/username03/dev/log"  -a "/home/username04/dev/log" - or
something like this. I don't know the syntax for multiples "-a"...

Regards
Lincoln

On Wed, Feb 10, 2010 at 9:39 PM, Sean Carolan <scarolan at gmail.com> wrote:
>> I solved a similar issue with jail and syslog adding a "-a
>> /home/jail/dev/log" parameter to syslog startup.
>
> In our environment the chroot jail is /home/username.  Does this mean
> we need a /home/username/dev/log for each and every user?   If the
> daemon is chroot'd to /home/username wouldn't this be the case?
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Lincoln Zuljewic Silva
More contact info.: http://www.system.adm.br/contact.php

"How often must a question be asked before it’s considered a
frequently asked question?"



More information about the CentOS mailing list