Monday, 24 March 2014

Lion Server 10.7.2 - FTP log configuration issues


i have setuped ftp server on mac mini server using guide apple support link: http://support.apple.com/kb/ht4704

works well, have created ftp users included in ftp user group has com.apple.access_ftp access via dseditgroup

problem have audit info of logged users, transferred files, sessions. have read man sshd options not working me

code:
 -w      log each ftp session /var/log/wtmp, making them visible               commands such last(1).  default.
i not find /var/log/wtmp, , when using -w option command fails :

code:
srvmac:etc udzerins$ sudo /usr/sbin/sshd -w /var/log/wtmp  /usr/sbin/sshd: illegal option -- w  openssh_5.6p1, openssl 0.9.8r 8 feb 2011  usage: sshd [-46ddeiqtt] [-b bits] [-c connection_spec] [-c host_cert_file]              [-f config_file] [-g login_grace_time] [-h host_key_file]              [-k key_gen_time] [-o option] [-p port] [-u len]  srvmac:etc udzerins$   
when trying use -u option logging concurrent ftp sessions command processed successifull file doesn't appear in /usr/run/

code:
 -u      log each concurrent ftp session /var/run/utmp, making them               visible commands such who(1).
could please me?

thanks!
 



Forums Macs Mac OS X Server, Xserve, and Networking


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

No comments:

Post a Comment