Linux
文章平均质量分 63
luweinetupdate
这个作者很懒,什么都没留下…
展开
-
iptables 规则速查
iptables 规则速查iptables的命令规则速查,没有为了方便iptables -A INPUT -p TCP --dport 22 -j ULOG --ulog-nlgroup 2iptables -A INPUT -p TCP --dport 22 -j ULOG / --ulog-prefix "SSH connection attempt: "iptables -A原创 2005-12-03 11:34:00 · 1464 阅读 · 0 评论 -
iptables允许部分网段
iptables允许部分网段#!/bin/bash#edit by luweinet at Apr 27 2005 ,just for allow which ip/net to access the server#you must make sure the allowip.txt is exits. or it just allow hhstu net~~export PATH=$PATH:/原创 2005-12-03 11:38:00 · 7246 阅读 · 0 评论 -
change file to unix or to dos /just dos2unix unix2dos
#!/bin/bash #author by [email protected] #Apr 27 2005 #for change file to unix format or change to dos format.: while getopts ud option do case $option in u) cat $2 | sed s/^M$// > $2.unix & ;;原创 2005-12-03 11:44:00 · 745 阅读 · 0 评论 -
linux c函数库
isalnum(测试字符是否为英文或数字) 相关函数 isalpha,isdigit,islower,isupper表头文件 #include定义函数 int isalnum (int c)函数说明 检查参数c是否为英文字母或阿拉伯数字,在标准c中相当于使用“isalpha(c) || isdigit(c)”做测试。返回值 若参数c为字母或数字,则返回TRUE,否则返回NULL(0)。附加说明原创 2005-12-04 22:49:00 · 1102 阅读 · 0 评论 -
为firefox注册rtsp,mms(转)
为firefox注册rtsp,mms(转) about:config查找rtsp有了一行内容,而这行内容在firefox中却没有于是想依样把它照搬过去,在 firefox的地址栏中输入about:config在显示网页的区域右键单击选择新建字符串串名是network.protocol-handler.app.rtsp串值是:/usr/bin/realplay串值应依你的具体情况而定完成后打开cct原创 2005-12-03 11:32:00 · 1044 阅读 · 0 评论 -
进入shadow杯破坏的linux,Authentication Token Manipulatio
Authentication Token Manipulation Errorecho "root:passwd" |chpassed23:28 2005-10-16原来同事做的redhat服务器,晚上发现不能改密码,Authentication Token Manipulation Error那位能帮我解决,?谢谢了!!我操作了一下出了点问题shadow被我破坏了,删除用pwconv也不能用mv原创 2005-12-03 11:27:00 · 1472 阅读 · 0 评论 -
grub 多硬盘管理tip’s
grub 多硬盘管理tip’sgrub 多硬盘管理tip’s[luweinet@luweinet livecd-1.2.4]$ cat /home/data/config/grub.conf# grub.conf generated by anaconda## Note that you do not have to rerun grub after making changes to this原创 2005-12-03 11:30:00 · 990 阅读 · 1 评论