「CentOS Streamの設定」の版間の差分

提供: sha.ngri.la
移動先: 案内検索
(ページの作成:「==ユーザの追加== <pre> # useradd foo # passwd foo Changing password for user foo New password: Retype new password: passwd: all authentication tokens updated succ...」)
(相違点なし)

2021年9月14日 (火) 09:20時点における版

ユーザの追加

# useradd foo
# passwd foo
Changing password for user foo
New password: 
Retype new password: 
passwd: all authentication tokens updated successfully.

ユーザ権限の追加

#%PAM-1.0
auth            required        pam_env.so
auth            sufficient      pam_rootok.so
# Uncomment the following line to implicitly trust users in the "wheel" group.
#auth           sufficient      pam_wheel.so trust use_uid
# Uncomment the following line to require a user to be in the "wheel" group.
<span style="color:#f00">#auth           required        pam_wheel.so use_uid</span>