Linuxユーザーを作成する際にパスワードを指定する方法
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
[[Linux全般]]
*概要 [#z39d682b]
Linuxユーザーを作成する際に、パスワードを-pで指定できるが...
それの対処方法。
*内容 [#h7d2106f]
# useradd testuser -pHOGEPASS
# cat /etc/shadow
testuser:HOGEPASS:16111:0:99999:7:::
# echo testuser:HOGEPASS |chpasswd
# cat /etc/shadow
testuser:$6$sCyzLSak0./48W$8UyyxppsDQRHL/mGb24.J58d7jL2u...
終了行:
[[Linux全般]]
*概要 [#z39d682b]
Linuxユーザーを作成する際に、パスワードを-pで指定できるが...
それの対処方法。
*内容 [#h7d2106f]
# useradd testuser -pHOGEPASS
# cat /etc/shadow
testuser:HOGEPASS:16111:0:99999:7:::
# echo testuser:HOGEPASS |chpasswd
# cat /etc/shadow
testuser:$6$sCyzLSak0./48W$8UyyxppsDQRHL/mGb24.J58d7jL2u...
ページ名: