mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-04 07:17:15 +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:
|
to create the <application>PAM</application> configuration file:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<screen role="root"><userinput>cat > /etc/pam.d/sudo << "EOF" &&
|
<screen role="root"><userinput>cat > /etc/pam.d/sudo << "EOF"
|
||||||
# Begin /etc/pam.d/sudo
|
<literal># Begin /etc/pam.d/sudo
|
||||||
|
|
||||||
# include the default auth settings
|
# include the default auth settings
|
||||||
auth include system-auth
|
auth include system-auth
|
||||||
@ -224,7 +224,7 @@ session required pam_env.so
|
|||||||
# include system session defaults
|
# include system session defaults
|
||||||
session include system-session
|
session include system-session
|
||||||
|
|
||||||
# End /etc/pam.d/sudo
|
# End /etc/pam.d/sudo</literal>
|
||||||
EOF
|
EOF
|
||||||
chmod 644 /etc/pam.d/sudo</userinput></screen>
|
chmod 644 /etc/pam.d/sudo</userinput></screen>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user