seawang的个人空间 https://blog.eetop.cn/dacong9999 [收藏] [复制] [分享] [RSS]

空间首页 动态 记录 日志 相册 主题 分享 留言板 个人资料

日志

如何关闭 nis 或 nis+的服务?

已有 2101 次阅读| 2011-6-22 09:57

请问如何关闭 nis 或 nis+的服务?

If ypserv on the master is disabled, you can no longer update any of the NIS maps. If
you choose to turn off NIS on a network currently running it, you can disable NIS
after the next reboot by renaming the ypbind file to ypbind.orig, as follows.
% mv /usr/lib/netsvc/yp/ypbind /usr/lib/netsvc/yp/ypbind.orig
To disable NIS after the next reboot on a particular NIS slave or master, type the
following on the server in question.
% mv /usr/lib/netsvc/yp/ypserv /usr/lib/netsvc/yp/ypserv.orig
To stop NIS immediately, type the following.
% /usr/lib/netsvc/yp/ypstop
The NIS service is automatically restarted after the next reboot unless the ypbind and
ypserv files are renamed as described above.

From "System Administration Guide:
Naming and Directory Services
(DNS, NIS, and LDAP)"

点赞

评论 (0 个评论)

facelist

您需要登录后才可以评论 登录 | 注册

  • 关注TA
  • 加好友
  • 联系TA
  • 3

    周排名
  • 0

    月排名
  • 0

    总排名
  • 1

    关注
  • 36

    粉丝
  • 17

    好友
  • 145

    获赞
  • 192

    评论
  • 11390

    访问数
关闭

站长推荐 上一条 /1 下一条

小黑屋| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-5-4 05:23 , Processed in 0.023017 second(s), 13 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
返回顶部