mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
sudo pam instructions formatting
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11627 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
44ee8693dc
commit
add8d4f34e
@ -209,8 +209,8 @@ ADMIN ALL = NOPASSWD: ALL</screen>
|
||||
to create the <application>PAM</application> configuration file:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>cat > /etc/pam.d/sudo << "EOF" &&
|
||||
# Begin /etc/pam.d/sudo
|
||||
<screen role="root"><userinput>cat > /etc/pam.d/sudo << "EOF"
|
||||
<literal># Begin /etc/pam.d/sudo
|
||||
|
||||
# include the default auth settings
|
||||
auth include system-auth
|
||||
@ -224,7 +224,7 @@ session required pam_env.so
|
||||
# include system session defaults
|
||||
session include system-session
|
||||
|
||||
# End /etc/pam.d/sudo
|
||||
# End /etc/pam.d/sudo</literal>
|
||||
EOF
|
||||
chmod 644 /etc/pam.d/sudo</userinput></screen>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user