hi all,
im reading this guide -
https://access.redhat.com/articles/1374633
im reading under the topic "RHEL 7 via socket in chroot"
atm my sftp logs appear here so its all working correctly - "/var/log/secure" and i can see what user has logged in and what directory/file they have opened/closed
now i want to make a "/var/log/sftp.log" but im struggling
input(type="imuxsock" HostName="user" Socket="/chroots/user/dev/log" CreatePath="on") if $fromhost == 'user' then /var/log/sftp.log & stop
atm my users i create there chroot directory like so - "/mnt/sftp/ftp/username/data"
username - i have multiple usernames so what do i put here "%u"?
the users own the "data folder" they dont own the username folder, so in the data folder they can upload files folders
hope im making sense and thanks
rob
logging users with chroot home dirs
Issues related to applications and software problems
Return to “CentOS 7 - Software Support”
Jump to
- CentOS General Purpose
- ↳ CentOS - FAQ & Readme First
- ↳ Announcements
- ↳ CentOS Social
- ↳ User Comments
- ↳ Website Problems
- CentOS 8 / 8-Stream / 9-Stream
- ↳ 8 /8-Stream / 9-Stream - General Support
- ↳ 8 /8-Stream / 9-Stream - Hardware Support
- ↳ 8 /8-Stream / 9-Stream - Networking Support
- ↳ 8 /8-Stream / 9-Stream - Security Support
- CentOS 7
- ↳ CentOS 7 - General Support
- ↳ CentOS 7 - Software Support
- ↳ CentOS 7 - Hardware Support
- ↳ CentOS 7 - Networking Support
- ↳ CentOS 7 - Security Support
- CentOS Legacy Versions
- ↳ CentOS 5
- ↳ CentOS 5 - General Support
- ↳ CentOS 5 - Software Support
- ↳ CentOS 5 - Hardware Support
- ↳ CentOS 5 - Networking Support
- ↳ CentOS 5 - Server Support
- ↳ CentOS 5 - Security Support
- ↳ CentOS 5 - Oracle Installation and Support
- ↳ CentOS 5 - Miscellaneous Questions
- ↳ CentOS 6
- ↳ CentOS 6 - General Support
- ↳ CentOS 6 - Software Support
- ↳ CentOS 6 - Hardware Support
- ↳ CentOS 6 - Networking Support
- ↳ CentOS 6 - Security Support