- /etc/aliases
以下を追加。(apache, proftpd, postfix 用)
webmaster: chika
ftp-admin: chika
postfix: root
修正後、以下を実行。
root # newaliases ↓
- /etc/logrotate.conf
"rotate 4" を "rotate 6" へ変更。(ログを6週間分保存)
- /etc/group
以下を追加。(postfix 用)
postdrop:*:11111:
- /etc/hosts.allow
以下を追加。(telnet は、NEC インターネットの socks5
経由のアクセスのみを許可)
ALL: 127.0.0.1 192.168.1.
in.telnetd: 202.247.6.30 202.32.8.225 202.247.6.1 202.32.8.228
in.qpopper: ALL
- /etc/hosts.deny
以下を追加。
ALL: ALL
- /etc/group
以下を追加。(postfix 用)
postdrop:*:11111:
- /etc/ntp.conf
全ての行をコメント(行頭に#)したあと、以下を追加。
server 133.31.180.6 minpoll 4 maxpoll 14
server 133.31.30.8 minpoll 4 maxpoll 14
driftfile /etc/ntp/drift
リストは、NTPサーバのリスト から traceroute を使用し、
近所のサーバを探して指定する。
- /etc/ntp/step-tickers
以下の内容で新規作成。(ntp 用)
133.31.180.6
- /etc/rc.d/init.d/xntpd

6行目を次のように変更。
# chkconfig: 345 55 10
次のコマンドを実行。
root # cd /etc/rc.d/init.d ↓
root # chkconfig --add xntpd ↓
- /etc/pam.d/su (未確認)
まず、以下のコマンドを実行し、su を実行できるユーザを
wheel グループに追加する。
root # usermod -G wheel chika ↓
/etc/pam.d/su に以下の内容を追加。
auth required /lib/security/pam_wheel.so debug group=wheel
- /etc/shutdown.allow
以下の内容で新規作成。(shutdown ができるユーザ設定)
root
chika