- Timestamp:
- 09/25/2010 02:37:49 PM (14 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- de4899b
- Parents:
- b7556c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
postlfs/security/sudo.xml
rb7556c5 rb3a4f60 199 199 to create the <application>PAM</application> configuration file:</para> 200 200 201 <screen role="root"><userinput>sed -e 's@/su@/sudo@' -e '/pam_rootok/d' \ 202 /etc/pam.d/su > /etc/pam.d/sudo</userinput></screen> 201 <screen role="root"><userinput>cat > /etc/pam.d/sudo << "EOF" && 202 # Begin /etc/pam.d/sudo 203 204 # include the default auth settings 205 auth include system-auth 206 207 # include the default account settings 208 account include system-account 209 210 # Use xauth keys (if available) 211 session optional pam_xauth.so 212 213 # Set default environment variables for the service user 214 session required pam_env.so 215 216 # include system session defaults 217 session include system-session 218 219 # End /etc/pam.d/sudo 220 EOF 221 chmod 644 /etc/pam.d/sudo</userinput></screen> 203 222 204 223 </sect3>
Note:
See TracChangeset
for help on using the changeset viewer.