4,534,066 th visitor since 2017.2.1 ( Today : 13037 )
Computer ???
No. 383
Name. swindler
Subject. vsftpd 로그파일 작성시 GMT 기준???
Main Cate. Linux
Sub Cate.
Date. 2009-07-03 18:04
Hit. 3887 (211.36.27.8)
File.
기본적인 vsftpd의 설정에는 GMT를 이용하므로 로그를 찍을때
GMT가 찍히게 된다.

이 현상을 막기 위해서는 옵션에 다음줄을 추가해준다.

use_localtime=YES

이후 # /etc/init.d/vsftpd restart로 재시작해준다.


상세한 로그를 찍고 싶을때는 다음과 같이 설정파일을 변경한다.

# You may override where the log file goes if you like. The default is shown
# below.
xferlog_file=/var/log/vsftpd.log
#
# If you want, you can have your log file in standard ftpd xferlog format
xferlog_std_format=NO(기본값 YES)

지정된 /var/log/vsftpd.log에 vsftpd 자체 형식의 로그가 찍힌다.



[바로가기 링크] : http://coolx.net/cboard/computer/383



Name
Password
Comment
Copyright © 1999-2017, swindler. All rights reserved. 367,611 visitor ( 1999.1.8-2004.5.26 ), 2,405,771 ( -2017.01.31)

  2HLAB   2HLAB_Blog   RedToolBox   Omil   Omil_Blog