ImageVerifierCode 换一换
格式:DOCX , 页数:15 ,大小:18.94KB ,
资源ID:2460032      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/2460032.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(NIS server relevant config file.docx)为本站会员(b****2)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

NIS server relevant config file.docx

1、NIS server relevant config file一.NIS SERVER CONFIG1.rootmichael # rpm -qa | grep ypyp-tools-2.8-7ypserv-2.13-14ypbind-1.17.2-82. rootmichael # chkconfig -list | grep time time: off time-udp: off daytime-udp: off daytime: offrootmichael # chkconfig time on rootmichael # chkconfig time-udp onrootmicha

2、el # chkconfig -list | grep time time: on time-udp: on daytime-udp: off daytime: offrootmichael # service xinetd restartStopping xinetd: OK Starting xinetd: OK 注意:运行YPSERV要time ,time-udp for start and start xinetd . Tiem and tiem-udp is by(受) xinetd management(管理) 。3.建立NIS域名。 rootmichael # vi /etc/r

3、c.d/rc.local #!/bin/sh# This script will be executed *after* all the other init scripts.# You can put your own initialization stuff in here if you dont# want to do the full Sys V style init stuff.nisdomainname nisfungtouch /var/lock/subsys/local/etc/rc.d/rc.local 8L, 242C written rootmichael # vi /e

4、tc/sysconfig/networkNETWORKING=yesHOSTNAME=GATEWAY=192.168.1.1NISDOMAIN=nisfung/etc/sysconfig/network 4L, 79C written4. rootmichael # vi /etc/ypserv.conf# ypserv.conf In this file you can set certain options for the NIS server,# and you can deny or restrict access to certain maps based# on the origi

5、nating host.# See ypserv.conf(5) for a description of the syntax.# Some options for ypserv. This things are all not needed, if# you have a Linux net.# Should we do DNS lookups for hosts not found in the hosts table ?# This option is ignored in the moment.dns: no# How many map file handles should be

6、cached ?files: 30# Should we register ypserv with SLP ?slp: no# After how many seconds we should re-register ypserv with SLP ?slp_timeout: 3600# xfr requests are only allowed from ports 1024xfr_check_port: yes# ypserv.conf In this file you can set certain options for the NIS server,# and you can den

7、y or restrict access to certain maps based# on the originating host.# See ypserv.conf(5) for a description of the syntax.# Some options for ypserv. This things are all not needed, if# you have a Linux net.# Should we do DNS lookups for hosts not found in the hosts table ?# This option is ignored in

8、the moment.dns: no# How many map file handles should be cached ?files: 30# Should we register ypserv with SLP ?slp: no# After how many seconds we should re-register ypserv with SLP ?slp_timeout: 3600# xfr requests are only allowed from ports 1024xfr_check_port: yes# The following, when uncommented,

9、will give you shadow like passwords.# Note that it will not work if you have slave NIS servers in your# network that do not run the same server as you.# Host : Domain : Map : Security# * : * : passwd.byname : port# * : * : passwd.byuid : port# Not everybody should see the shadow passwords, not secur

10、e, since# under MSDOG everbody is root and can access ports 1024 !* : * : shadow.byname : port* : * : passwd.adjunct.byname : port# If you comment out the next rule, ypserv and rpc.ypxfrd will# look for YP_SECURE and YP_AUTHDES in the maps. This will make# the security check a little bit slower, but

11、 you only have to# change the keys on the master server, not the configuration files# on each NIS server.# If you have maps with YP_SECURE or YP_AUTHDES, you should create# a rule for them above, thats much faster. * : * : * : none(允许)5.安全配置文件rootmichael # vi /var/yp/securenets host 127.0.0.1255.255

12、.255.0 192.168.1.0255.255.255.0 192.168.5.06rootmichael # service portmap restartStopping portmap: OK Starting portmap: OK rootmichael # service ypserv restartStopping YP server services: FAILEDSetting NIS domain name nisfung: OK Starting YP server services: OK rootmichael # service yppasswdd restar

13、tStopping YP passwd service: FAILEDStarting YP passwd service: OK rootmichael # chkconfig -list | grep yp ypbind 0:off 1:off 2:off 3:off 4:off 5:off 6:offyppasswdd 0:off 1:off 2:off 3:off 4:off 5:off 6:offypxfrd 0:off 1:off 2:off 3:off 4:off 5:off 6:offypserv 0:off 1:off 2:off 3:off 4:off 5:off 6:of

14、frootmichael # chkconfig -level 35 ypserv onrootmichael # chkconfig -level 35 yppasswdd onrootmichael # chkconfig -list | grep ypypbind 0:off 1:off 2:off 3:off 4:off 5:off 6:offyppasswdd 0:off 1:off 2:off 3:on 4:off 5:on 6:offypxfrd 0:off 1:off 2:off 3:off 4:off 5:off 6:offypserv 0:off 1:off 2:off 3

15、:on 4:off 5:on 6:off 注意:NIS service running by portmap service support(支持).7.构建NIS DATABASE rootmichael # /usr/lib/yp/ypinit mAt this point, we have to construct a list of the hosts which will run NISservers. is in the list of NIS server hosts. Please continue to addthe names for the other hosts, one per line. When you are done with thelist, type a .

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1