免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 8403 | 回复: 16
打印 上一主题 下一主题

修改/etc/inet/inetd.conf的参数,如何能使修改立即生效? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-12-29 16:30 |只看该作者 |倒序浏览
修改完/etc/inet/inetd.conf文件的属性,如何不用reboot,就能使修改的属性生效?\r\n应该是重新启动inetd的服务吧?如何通过远程telnet或ssh来重新启动inetd的服务?

论坛徽章:
0
2 [报告]
发表于 2004-12-29 17:21 |只看该作者

修改/etc/inet/inetd.conf的参数,如何能使修改立即生效?

怎么还是不可以了,必须reboot才能生效吧,你试试

论坛徽章:
0
3 [报告]
发表于 2004-12-29 17:35 |只看该作者

修改/etc/inet/inetd.conf的参数,如何能使修改立即生效?

dradhzn@world>; ps -ef | grep inetd | grep -v grep \r\n    root   296     1  0 15:57:07 ?        0:00 /usr/sbin/inetd -s -t\r\n \r\ndradhzn@world>; kill -HUP 296

论坛徽章:
0
4 [报告]
发表于 2004-12-29 17:49 |只看该作者

修改/etc/inet/inetd.conf的参数,如何能使修改立即生效?

做了之后不重启还是可以telnet的啊!试了

论坛徽章:
0
5 [报告]
发表于 2004-12-29 18:00 |只看该作者

修改/etc/inet/inetd.conf的参数,如何能使修改立即生效?

我又不是你的谁 老哥,到底行不行啊?你老人家到是说清楚啊

论坛徽章:
0
6 [报告]
发表于 2004-12-29 18:04 |只看该作者

修改/etc/inet/inetd.conf的参数,如何能使修改立即生效?

不行你自己试试,必须重启,要不通过远程telnet或ssh来重新启动inetd的服务也不会生效.

论坛徽章:
0
7 [报告]
发表于 2004-12-29 18:21 |只看该作者

修改/etc/inet/inetd.conf的参数,如何能使修改立即生效?

buddy , i \'ve been using that method years . reason why behind is that all my Sun Servers are harden, means other than port 22 for SSH , all lines are comment out with \"#\" in inetd.conf , i use that method ( by removing # from line ftp and Kill -HUP inetd_process_id ) to open ftp for file transfer sometimes , but straight away turn it off upon ftp completion .

论坛徽章:
0
8 [报告]
发表于 2004-12-30 09:11 |只看该作者

修改/etc/inet/inetd.conf的参数,如何能使修改立即生效?

看不明白,说中文好不好!

论坛徽章:
0
9 [报告]
发表于 2004-12-30 09:52 |只看该作者

修改/etc/inet/inetd.conf的参数,如何能使修改立即生效?

在重启之前先试试logout

论坛徽章:
0
10 [报告]
发表于 2004-12-30 13:50 |只看该作者

修改/etc/inet/inetd.conf的参数,如何能使修改立即生效?

请问使用kill -HUP 重启进程要多久?\r\n为什么我重启了inetd进程,查看了一下好像没有重启呢\r\n# ps -ef|grep inetd |more\r\n    root   122     1  0 11:41:51 ?        0:00 /usr/sbin/inetd -s\r\n# kill -HUP 122\r\n# ps -ef|grep inetd |more\r\n    root   122     1  0 11:41:51 ?        0:00 /usr/sbin/inetd -s\r\n# \r\n\r\n另外我kill掉inetd进程,重启这个服务怎么启不来呢?\r\n# kill 122\r\n# ps -ef|grep inetd\r\n# cd /etc/rc2.d\r\n# ./s69inet start\r\n# ps -ef|grep inetd\r\n# \r\n\r\n我从/etc/init.d 里启动也是这样的\r\n# cd /etc/init.d\r\n# ./inetinit start\r\n# ps -ef |grep inetd\r\n#\r\n\r\n\r\n这是我第一次亲手试验,没经验,高手知道的指点下,谢谢\r\n我试着注销后重新登录,结果一样\r\nLast login: Thu Dec 30 14:48:03 2004 from 192.168.0.197\r\nbash-2.03$ ps -ef|grep inetd\r\nbash-2.03$
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP