Cobbler 是一套新的 PXE (Preboot eXecution Environment 透過網路卡開機的方式來進行作業系統安裝) 環境自動管理工具,除了可以透過 CLI 文字指令介面 請參考 https://benjr.tw/97811 ,或是直接透過 web 來管理.
測試環境為 CentOS 7 x86_64 (固定 IP: 192.168.1.1)
首先確認 Cobbler 模組是否設定為 authn_configfile .
[root@localhost ~]$ vi /etc/cobbler/modules.conf [authentication] module=authn_configfile
Cobbler 使用者密碼儲存在 /etc/cobbler/users.digest , 透過 htdigest 來修改 Cobbler 使用者密碼.
htdigest passwdfile realm username
- passwdfile
Name of the file to contain the username, realm and password. If -c is given, this file is created if it does not already exist, or deleted and recreated if it does exist. - realm
The realm name to which the user name belongs. - username
The user name to create or update in passwdfile. If username does not exist is this file, an entry is added. If it does exist, the password is changed.
[root@localhost ~]$ htdigest /etc/cobbler/users.digest "Cobbler" cobbler Changing password for user cobbler in realm Cobbler New password: Re-type new password:
重啟 cobbler 服務.
[root@localhost ~]$ systemctl restart cobblerd
打開瀏覽器 https://192.168.1.1/cobbler_web (注意是 https)
沒有解決問題,試試搜尋本站其他內容