Redhat nis client兩種接入方式

2021-09-20 21:57:20 字數 622 閱讀 3296

redhat nis client兩種接入方式

在redhat上nis client有兩種方式接入nis伺服器:/etc/nsswitch.conf和system-config-authentication

通過/etc/nsswitch.conf的方式使用者只能通過yppasswd進行修改密碼且無法進行密碼策略控制

通過system-config-authentication的方式yppasswd和passwd均可使用,此時yppasswd依然無法做密碼策略

控制具體:

/etc/nsswitch.conf方式:

# vi /etc/nsswitch.conf (預設沒有nis)

passwd:   file  nis

shadow:   file  nis

group:    file  nis 

:wqsystem-config-authentication方式:

# system-config-authentication  (圖形化介面)

選中nis-設定nis名及nis伺服器

或# authconfig-tui   (命令列介面)

選中nis-設定nis名及nis伺服器

yangzhimingg

python threading 兩種建立方式

作用 建立在thread模組之上,可以更容易地管理多個執行執行緒。通過使用執行緒,程式可以在同乙個程序空間併發地執行多個操作。threading模組建立在thread的底層特性基礎上,可以更容易地完成執行緒處理。1 呼叫函式 要使用thread,最簡單的方法就是用乙個目標函式例項化乙個thread物...

兩種獲取Oracle Sequence的方法

前提 create table booking id integer not null,date made date,reserved until timestamp,price decimal 15,2 not null,purchase id integer,primary key id cre...

Android 生成keystore,兩種方式

一 eclipse 中生成android keystore 建立任意乙個android專案 例如 antforandroid 選擇 create new keystore 並且儲存在乙個目錄下面 本例子儲存在專案跟目錄下 輸入密碼,然後next 填寫一些資訊,填寫的alias 和 密碼不要忘記了 這...