Changeset 193bdf3
- Timestamp:
- 11/08/2021 06:23:55 PM (3 years ago)
- Branches:
- 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, gimp3, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- f713df3
- Parents:
- 70ea525d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
postlfs/security/sudo.xml
r70ea525d r193bdf3 216 216 </para> 217 217 218 <screen role="root"><userinput>cat > /etc/sudoers.d/ sudo << "EOF"218 <screen role="root"><userinput>cat > /etc/sudoers.d/00-sudo << "EOF" 219 219 <literal>Defaults secure_path="/usr/sbin:/usr/bin" 220 220 %wheel ALL=(ALL) ALL</literal> 221 221 EOF</userinput></screen> 222 223 <note> 224 <para> 225 In very simple installations where there is only one user, it 226 may be easier to just edit the <filename>/etc/sudoers</filename> 227 file directly. In that case, the <varname>secure_path</varname> 228 entry may not be needed and using <command>sudo -E ...</command> can 229 import the non-privileged user's full environment into the 230 privileged session. 231 </para> 232 233 <para> 234 The files in the <filename class="directory">/etc/sudoers.d</filename> 235 directory are parsed in sorted lexical order. Be careful that entries 236 in an added file do not overwrite previous entries. 237 </para> 238 </note> 222 239 223 240 <para>
Note:
See TracChangeset
for help on using the changeset viewer.