摘要: 一、前期准备1.1 NIS 简介NIS,英文的全称是network information service,也叫yellow pages。在Linux中,NIS是一个基于RPC的client/server系统,需要使用 RPC 服务。RPC即Remote Procedure Call Protoco... 阅读全文
posted @ 2015-12-22 16:07 风起616 阅读(8750) 评论(0) 推荐(0)
摘要: 代码:opts,argv = getopt.getopt(sys.argv[1:],('u:'),['ad','join','passwd=','domain=','dip=','test','ip='])当命令只输入--p就会自动匹配到--passswd,--d就会自动匹配--dip,但是如果... 阅读全文
posted @ 2015-12-22 12:55 风起616 阅读(544) 评论(0) 推荐(0)