[root@hackkit /]# find / -name '*.rpmsave' -print /etc/mime.types.rpmsave [root@hackkit /]#たった一本。
[root@hackkit /]# find / -name '*.rpmnew' -print /etc/pam.d/system-auth.rpmnew /etc/localtime.rpmnew /etc/inetd.conf.rpmnew /etc/ntp.conf.rpmnew /etc/inittab.rpmnew [root@hackkit /]#
[root@hackkit pam.d]# diff system-auth system-auth.rpmnew 1a2,6 > # This file is auto-generated. > # User changes will be destroyed the next time authconfig is run. > auth required /lib/security/$ISA/pam_env.so > auth sufficient /lib/security/$ISA/pam_unix.so likeauth nullok > auth required /lib/security/$ISA/pam_deny.so 3,5c8 < auth required /lib/security/pam_env.so < auth sufficient /lib/security/pam_unix.so likeauth nullok < auth required /lib/security/pam_deny.so --- > account required /lib/security/$ISA/pam_unix.so 7c10,12 < account required /lib/security/pam_unix.so --- > password required /lib/security/$ISA/pam_cracklib.so retry=3 > password sufficient /lib/security/$ISA/pam_unix.so nullok use_authtok md5 shadow > password required /lib/security/$ISA/pam_deny.so 9,14c14,15 < password required /lib/security/pam_cracklib.so retry=3 < password sufficient /lib/security/pam_unix.so nullok use_authtok md5 < password required /lib/security/pam_deny.so < < session required /lib/security/pam_limits.so < session required /lib/security/pam_unix.so --- > session required /lib/security/$ISA/pam_limits.so > session required /lib/security/$ISA/pam_unix.so [root@hackkit pam.d]# ls /lib/security/ pam_access.so* pam_filter.so* pam_mail.so* pam_rootok.so* pam_time.so* pam_warn.so* pam_chroot.so* pam_ftp.so* pam_mkhomedir.so* pam_rps.so* pam_timestamp.so* pam_wheel.so* pam_console.so* pam_group.so* pam_motd.so* pam_securetty.so* pam_unix.so* pam_xauth.so* pam_cracklib.so* pam_issue.so* pam_nologin.so* pam_shells.so* pam_unix_acct.so@ pam_debug.so* pam_lastlog.so* pam_permit.so* pam_stack.so* pam_unix_auth.so@ pam_deny.so* pam_limits.so* pam_postgresok.so* pam_stress.so* pam_unix_passwd.so@ pam_env.so* pam_listfile.so* pam_pwdb.so* pam_succeed_if.so* pam_unix_session.so@ pam_filter/ pam_localuser.so* pam_rhosts_auth.so* pam_tally.so* pam_userdb.so* [root@hackkit pam.d]# ls /lib/security/*/pam_unix.so /bin/ls: /lib/security/*/pam_unix.so: そのようなファイルやディレクトリはありません$ISA って?
[root@hackkit /]# cmp /etc/localtime* [root@hackkit /]#削除
[root@hackkit /]# rm /etc/localtime.rpmnew rm: `/etc/localtime.rpmnew' を削除しますか(yes/no)? yes
[root@hackkit /]# diff /etc/inetd.conf* 35c35 < telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd --- > #telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd 57d56 < pop-3 stream tcp nowait root /usr/sbin/tcpd in.qpopper [root@hackkit /]#rm /etc/inetd.conf.rpmnew rm: `/etc/inetd.conf.rpmnew' を削除しますか(yes/no)? y
[root@hackkit /]# diff /etc/ntp.conf* 14,17c14,15 < #server 127.127.1.0 # local clock < #fudge 127.127.1.0 stratum 10 < server clock.nc.fukuoka-u.ac.jp < server ntp2.jst.mfeed.ad.jp --- > server 127.127.1.0 # local clock > fudge 127.127.1.0 stratum 10 30,36d27 < # Authentication delay. If you use, or plan to use someday, the < # authentication facility you should make the programs in the auth_stuff < # directory and figure out what this number should be on your machine. < # < authenticate no < < # [root@hackkit /]# rm /etc/ntp.conf.rpmnew rm: `/etc/ntp.conf.rpmnew' を削除しますか(yes/no)? y [root@hackkit /]#
[root@hackkit /]# diff /etc/inittab* 31,32c31,32 < # Things to run in every runlevel. < ud::once:/sbin/update --- > # not needed for recent kernel. > # ud::once:/sbin/update 48,53c48,53 < 1:2345:off:/sbin/mingetty tty1 < 2:2345:off:/sbin/mingetty tty2 < 3:2345:off:/sbin/mingetty tty3 < 4:2345:off:/sbin/mingetty tty4 < 5:2345:off:/sbin/mingetty tty5 < 6:2345:off:/sbin/mingetty tty6 --- > 1:2345:respawn:/sbin/mingetty tty1 > 2:2345:respawn:/sbin/mingetty tty2 > 3:2345:respawn:/sbin/mingetty tty3 > 4:2345:respawn:/sbin/mingetty tty4 > 5:2345:respawn:/sbin/mingetty tty5 > 6:2345:respawn:/sbin/mingetty tty6 [root@hackkit /]#not needed for recent kernel. といわれても、玄箱のカーネルは古いので。
[root@hackkit /]# rm /etc/inittab.rpmnew rm: `/etc/inittab.rpmnew' を削除しますか(yes/no)? yes
← | ハックの記録 | → Vine Seed(3)最初の設定 |