Page MenuHomeDevCentral
Authored By
dereckson
Dec 2 2014, 11:17
Size
2 KB
Referenced Files
None
Subscribers
None

T167.log

Script started on Tue Dec 2 10:51:30 2014
root@ysul:/usr/local/jails # ezjail-admin create ftp.nasqueron.org
Warning: Some services already seem to be listening on IP 212.83.187.132
[...]
root@ysul:/usr/local/jails # jexec 20 tcsh
root@ftp:/ # hostname
ftp.nasqueron.org
root@ftp:/ # pw useradd -m -n ftp -c "Anonymous FTP User,,," -s /sbin/nologin -d "/var/ftp"
root@ftp:/ # cd /var/ftp
root@ftp:/var/ftp # rm .*
rm: "." and ".." may not be removed
root@ftp:/var/ftp # mkdir etc pub incoming
root@ftp:/var/ftp # chown -R root:ftp /var/ftp/
root@ftp:/var/ftp # chmod 755 etc pub
root@ftp:/var/ftp # chown -R nobody incoming
root@ftp:/var/ftp # chmod 5777 incoming
root@ftp:/var/ftp # echo "ftp" >> /etc/ftpchroot
root@ftp:/var/ftp # touch /var/log/ftpd
root@ftp:/var/ftp # cd /etc
root@ftp:/etc # cat > /etc/rc.conf.local
#Public FTP server
ftpd_enable="YES"
ftpd_flags="-ASll"
^D
root@ftp:/etc # service ftpd start
Starting ftpd.
root@ftp:/etc # sockstat
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
root ftpd 73231 3 dgram -> /var/run/logpriv
root ftpd 73231 5 tcp4 212.83.187.132:21 *:*
root cron 73102 4 dgram -> /var/run/logpriv
smmsp sendmail 73098 3 dgram -> /var/run/log
root sendmail 73095 3 tcp4 212.83.187.132:25 *:*
root sendmail 73095 4 dgram -> /var/run/logpriv
root syslogd 73015 4 dgram /var/run/log
root syslogd 73015 5 dgram /var/run/logpriv
root syslogd 73015 6 udp4 212.83.187.132:514 *:*
root@ftp:/etc # cat >> /etc/rc.conf.local
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
^D
root@ftp:/etc # service sendmail stop
Stopping sendmail.
Stopping sendmail_msp_queue.
root@ftp:/etc # sockstat
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
root ftpd 73231 3 dgram -> /var/run/logpriv
root ftpd 73231 5 tcp4 212.83.187.132:21 *:*
root cron 73102 4 dgram -> /var/run/logpriv
root syslogd 73015 4 dgram /var/run/log
root syslogd 73015 5 dgram /var/run/logpriv
root syslogd 73015 6 udp4 212.83.187.132:514 *:*
root@ftp:/etc # ^Dexit
root@ysul:/usr/local/jails
# ^Dexit
Script done on Tue Dec 2 11:06:06 2014

File Metadata

Mime Type
text/plain
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
371
Default Alt Text
T167.log (2 KB)

Event Timeline