VineLinux4.0b2 ではコンパイルとおりません
src/Makefile の bison -y を byacc に変更するか、
src/Makefile の bison -y を byacc に変更するか、
apt-get remove bisonすると通るかも。
# deny anonymouse class all real,guest * greeting text "" limit all 10 Any /etc/msgs/msg.dead guestgroup hogefuga # chroot user readme README* login readme README* cwd=* message /welcome.msg login message .message cwd=* compress yes all tar yes all log commands real log transfers real inbound,outbound shutdown /etc/shutmsg email root@example.com # deny 0-99 and 65534>= deny-uid %-99 %65534- deny-gid %-99 %65534- # allow allow-uid ftp allow-gid ftp loginfails 5
cd /home/hogefuga mkdir bin mkdir etc mkdir dev mkdir lib cp /bin/ls bin/ ldd /bin/ls で出たライブラリをコピー cd dev/ mknod zero c 3 12 cd ../etc cp /etc/passwd . cp /etc/group .
ftp stream tcp nowait root /usr/sbin/in.ftpd in.ftpd -l -a # -l はログに出力 # -a はftpaccessの設定ファイルを使う
# default: on # description: The wu-ftpd FTP server serves FTP connections. It uses \ # normal, unencrypted usernames and passwords for authentication. service ftp { disable = no socket_type = stream wait = no user = root server = /usr/sbin/in.ftpd server_args = -l -a log_on_success += DURATION USERID log_on_failure += USERID nice = 10 }
コメントをかく