Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rssh and syslog-ng (open)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
kamikaze04
Guru
Guru


Joined: 28 Mar 2004
Posts: 366
Location: Valencia-Spain

PostPosted: Tue Oct 18, 2005 10:33 am    Post subject: rssh and syslog-ng (open) Reply with quote

Hello,

I've just installed in my server rssh, to give some users sftp and scp without giving them a shell. The program really works great, but i am a little bit worried/angry with the log of this users.

I've set up in /etc/rssh.conf the facility: logfacility auth, and in my auth.log (i'm running syslog-ng) i get this if some of that users login via sftp:

Code:

Oct 18 12:20:57 golola sshd[2609]: Accepted keyboard-interactive/pam for xxxxxx from 81.203.155.228 port 2212 ssh2
Oct 18 12:20:57 golola sshd[2612]: (pam_unix) session opened for user xxxxxx by (uid=0)
Oct 18 12:20:57 golola sshd[2612]: subsystem request for sftp
Oct 18 12:20:57 golola rssh[2613]: setting log facility to LOG_AUTH
Oct 18 12:20:57 golola rssh[2613]: allowing scp to all users
Oct 18 12:20:57 golola rssh[2613]: allowing sftp to all users
Oct 18 12:20:57 golola rssh[2613]: setting umask to 022
Oct 18 12:24:46 golola sshd[2612]: (pam_unix) session closed for user xxxxxx


The thing is that i would like to log somehow with syslog-ng (maybe in a separate log), which users are logging in and out via sftp. the problem is that rssh does not say in any of his lines which user is logging in.

Hope i have explained myself. If you have any idea of how logging this, please let me know, it would be very useful.

Thanks a lot.
_________________
Todo lo que quisiste saber sobre google en: www.noticiasgoogle.es
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum