|
|
|
¸®´ª½ºÆÁ Go Unix Power Tools Online Book
Go Bash Guide
|
|
Read No. 168 article |
2003-10-18 01:29:57 |
|
|
|
|
NickName |
Ç®ºñ´© |
Subject |
º¸¾È ÆÄÀÏ ÆÛ¹Ì¼Ç º¯°æ ¼³Á¤ |
|
|
-->ÆÛ¹Ì¼Ç º¯°æ
chmod 700 /etc/exports
chmod 700 /etc/fstab
chmod 700 /usr/bin/chage
chmod 700 /usr/bin/wall
chmod 755 /usr/bin/man
chmod 700 /usr/bin/chfn
chmod 700 /usr/bin/write
chmod 700 /bin/dd
chmod 700 /usr/sbin/usernetctl
chmod 700 /bin/mount
chmod 700 /bin/umount
chmod 700 /bin/rpm
chmod 700 /sbin/netreport
chmod 700 /usr/bin/screen
chmod 700 /usr/bin/sftp
chmod 700 /usr/bin/scp
chmod 700 /usr/bin/lynx
chmod 700 /usr/bin/crontab
chmod 750 /bin/ps
chmod 750 /bin/netstat
chmod 750 /bin/dmesg
chmod 750 /bin/df
chmod 750 /usr/bin/who
chmod 750 /usr/bin/finger
chmod 750 /usr/bin/last
chmod 750 /usr/bin/top
chmod 750 /usr/bin/w
chgrp wheel /bin/ps
chgrp wheel /bin/netstat
chgrp wheel /bin/dmesg
chgrp apache /bin/df
chgrp wheel /usr/bin/w
chgrp wheel /usr/bin/who
chgrp wheel /usr/bin/finger
chgrp wheel /usr/bin/last
chgrp wheel /usr/bin/top
chmod 751 /home
chmod 751 /var/named
chmod 110 /usr/bin/top
chmod 550 /bin/ps
chmod 110 /usr/bin/uptime
chmod 110 /usr/sbin/useradd
chmod 110 /usr/sbin/userdel
chmod 110 /usr/bin/last
chmod 110 /usr/bin/find
chmod 700 /usr/bin/whereis
chmod 700 /usr/bin/which
chmod 700 /usr/bin/who
chmod 4750 /bin/su
chgrp wheel /bin/su
chmod 700 /usr/bin/ftp
chmod 700 /usr/bin/ftpwho
chmod 750 /usr/bin/ncftp
chgrp wheel /usr/bin/ncftp
chmod 750 /usr/bin/telnet
chgrp wheel /usr/bin/telnet
chmod 750 /usr/bin/openssh
chgrp wheel /usr/bin/openssh
chmod 750 /usr/bin/wget
chgrp wheel /usr/bin/wget
chmod 700 /usr/sbin/ab
chgrp wheel /usr/bin/sz
chmod 710 /usr/bin/sz
chgrp wheel /usr/bin/rz
chmod 710 /usr/bin/rz
chmod 600 /etc/httpd/conf/httpd.conf
chmod 711 /etc/httpd/conf
chmod 700 /etc/cron* -R
chmod 710 /var/www/html
chown root.apache /var/www/html
cd /usr/bin
chgrp wheel c++ cc find g++ gcc i386-redhat-linux-* make
chmod 750 c++ find g++ gcc i386-redhat-linux-* make
chmod 711 /
chmod 700 /boot /mnt /root
chmod 711 /dev /etc /home /initrd /lib
chmod 711 /misc /opt /sbin /usr /var
chmod 711 /var/log/
chmod 711 /var/log/httpd
chmod 755 /bin/
mkdir /backup /backup/rpms /ban /script /scriptuser /home1 /homein
chmod 700 /backup /ban /script
chmod 711 /home1 /homein /clone
cd
|
|
Page Loading [ 0.02 Sec ]
SQL Time [ 0 Sec ]
|
|
|