使用以下过程定义服务属性。注意:属性名称类似于它们在 BUI 中的名称,但 CLI 名称通常较短且有时是缩写。
hostname:configuration services> nis
hostname:configuration services nis> show
Properties:
<status> = online
domain =
broadcast = true
ypservers =
hostname:configuration services nis> set domain="mydomain"
domain = mydomain (uncommitted)
hostname:configuration services nis> commit
hostname:configuration services nis> show
Properties:
<status> = online
domain = mydomain
broadcast = true
ypservers =