sftp, syslog level, chrooted users in a jail

Mike Tancsa mike at sentex.net
Fri Dec 18 21:29:55 UTC 2015


On 12/16/2015 10:50 AM, Mike Tancsa wrote:
> 
> In the dev directory, if I make
> # ls -l /home/test1sftp/dev/
> total 2
> drwxrwxr-x  2 root  wheel  uarch 4 Dec 16 10:37 .
> drwxr-xr-x  5 root  wheel  uarch 5 Dec 16 10:04 ..
> srw-rw-rw-  2 root  wheel  uarch 0 Dec 16 10:05 log
> srw-------  2 root  wheel  uarch 0 Dec 16 10:05 logpriv
> 
> 
> 
> ln /var/run/logpriv logpriv
> ln /var/run/log log
> 
> I can get it to work.

OK, next problem. If syslogd stops and is restarted, the hardlinks to
/var/run/log go away. I have to delete the links I created and recreate
them.  Symlinks dont work.  Any other way around this ?

	---Mike




-- 
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, mike at sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/


More information about the freebsd-questions mailing list