mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 06:27:16 +08:00
Updated to sudo-1.7.4p4.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8611 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
b7556c551b
commit
b3a4f60838
@ -100,7 +100,7 @@ $Date$
|
||||
<!ENTITY mitkrb-version "1.6">
|
||||
<!ENTITY cyrus-sasl-version "2.1.23">
|
||||
<!ENTITY stunnel-version "4.21">
|
||||
<!ENTITY sudo-version "1.7.2p3">
|
||||
<!ENTITY sudo-version "1.7.4p4">
|
||||
<!ENTITY nss-version "3.12.5">
|
||||
<!ENTITY policykit-version "0.9">
|
||||
<!ENTITY polkit-version "0.94">
|
||||
|
@ -52,6 +52,9 @@
|
||||
<listitem>
|
||||
<para>[dj] - Upgraded to Linux-PAM-1.1.2.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[dj] - Upgraded to sudo-1.7.4p4.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
|
@ -198,8 +198,27 @@ ADMIN ALL = NOPASSWD: ALL</screen>
|
||||
command as the <systemitem class="username">root</systemitem> user
|
||||
to create the <application>PAM</application> configuration file:</para>
|
||||
|
||||
<screen role="root"><userinput>sed -e 's@/su@/sudo@' -e '/pam_rootok/d' \
|
||||
/etc/pam.d/su > /etc/pam.d/sudo</userinput></screen>
|
||||
<screen role="root"><userinput>cat > /etc/pam.d/sudo << "EOF" &&
|
||||
# Begin /etc/pam.d/sudo
|
||||
|
||||
# include the default auth settings
|
||||
auth include system-auth
|
||||
|
||||
# include the default account settings
|
||||
account include system-account
|
||||
|
||||
# Use xauth keys (if available)
|
||||
session optional pam_xauth.so
|
||||
|
||||
# Set default environment variables for the service user
|
||||
session required pam_env.so
|
||||
|
||||
# include system session defaults
|
||||
session include system-session
|
||||
|
||||
# End /etc/pam.d/sudo
|
||||
EOF
|
||||
chmod 644 /etc/pam.d/sudo</userinput></screen>
|
||||
|
||||
</sect3>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user