rpm {-e|--erase}
rpm {-K|--checksig}
rpm {-F|--freshen}
2007年7月25日 星期三
2007年7月24日 星期二
cron & tab
If the cron.allow file exists, then you must be listed therein in order
to be allowed to use this command. If the cron.allow file does not
exist but the cron.deny file does exist, then you must not be listed in
the cron.deny file in order to use this command. If neither of these
files exists, only the super user will be allowed to use this command.
deny$ deny 結尾
^at at 開頭
to be allowed to use this command. If the cron.allow file does not
exist but the cron.deny file does exist, then you must not be listed in
the cron.deny file in order to use this command. If neither of these
files exists, only the super user will be allowed to use this command.
deny$ deny 結尾
^at at 開頭
2007年7月23日 星期一
考NCLP
http://www.suse.idv.tw/viewtopic.php?t=273&postdays=0&postorder=asc&start=30&sid=744361da8ee0f51d46591609a6dc9c03
http://blog.sh47.com/study/article.asp?id=26
http://suse.lccnet.com.tw/modules/newbb/viewtopic.php?topic_id=341&forum=3
http://blog.sh47.com/study/article.asp?id=26
http://suse.lccnet.com.tw/modules/newbb/viewtopic.php?topic_id=341&forum=3
sudoer
#Defaults targetpw # ask for the password of the target user i.e. root
#ALL ALL=(ALL) ALL # WARNING! Only use this together with 'Defaults targetpw'!
targetpw If set, sudo will prompt for the password of the user specified by the -u flag (defaults to root) instead of the password of the invoking user. Note that this precludes the use of a uid not listed in the passwd database as an argument to the -u flag.
#ALL ALL=(ALL) ALL # WARNING! Only use this together with 'Defaults targetpw'!
targetpw If set, sudo will prompt for the password of the user specified by the -u flag (defaults to root) instead of the password of the invoking user. Note that this precludes the use of a uid not listed in the passwd database as an argument to the -u flag.
2007年7月20日 星期五
pam
cat /etc/pam.d/login
#%PAM-1.0
auth required pam_securetty.so
auth include common-auth
auth required pam_nologin.so
account include common-account
password include common-password
session include common-session
session required pam_lastlog.so nowtmp
session required pam_resmgr.so
session optional pam_mail.so standard
/etc/securetty
修改
#tty2 加上# -------->root 無法從tty2登入
#%PAM-1.0
auth required pam_securetty.so
auth include common-auth
auth required pam_nologin.so
account include common-account
password include common-password
session include common-session
session required pam_lastlog.so nowtmp
session required pam_resmgr.so
session optional pam_mail.so standard
/etc/securetty
修改
#tty2 加上# -------->root 無法從tty2登入
lvm
#lvcreate -L 80M -i 2 -n striplv vg00 <建立等量 LV , -i 使用兩個 PV>
#lvdisplay /dev/vg00/striplv <觀察 LV>
#pvdisplay /dev/hda7 <觀察 PV>
#pvdisplay /dev/hda8 <觀察 PV>
#lvdisplay /dev/vg00/lv00 <觀察 LV>
#lvextend -L +20M /dev/vg00/lv00 <線上擴充 LV>
#lvdisplay /dev/vg00/lv00 <觀察 LV>
#df -h <查看分割區的掛載情形, -h 人類可閱讀的方式>
#ext2online /dev/vg00/lv00 <使其生效>
#lvdisplay /dev/vg00/striplv <觀察 LV>
#pvdisplay /dev/hda7 <觀察 PV>
#pvdisplay /dev/hda8 <觀察 PV>
#lvdisplay /dev/vg00/lv00 <觀察 LV>
#lvextend -L +20M /dev/vg00/lv00 <線上擴充 LV>
#lvdisplay /dev/vg00/lv00 <觀察 LV>
#df -h <查看分割區的掛載情形, -h 人類可閱讀的方式>
#ext2online /dev/vg00/lv00 <使其生效>
訂閱:
文章 (Atom)