Skip to content

Commit c25917b

Browse files
committed
Improve sudoers
1 parent 62864fa commit c25917b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

steamos.adoc

+3-2
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,9 @@ the scope of this document.
317317
# Set a temporary sudo password like 123456 for current user deck
318318
passwd
319319
# Configure passwordless sudo access for users in the wheel group
320-
echo "%wheel ALL=(ALL) NOPASSWD:ALL" \
321-
| sudo tee /etc/sudoers.d/wheel >/dev/null
320+
# echo "%wheel ALL=(ALL) NOPASSWD:ALL" \
321+
# | sudo tee /etc/sudoers.d/wheel >/dev/null
322+
sudo tee /etc/sudoers.d/wheel >/dev/null <<< "%wheel ALL=(ALL) NOPASSWD:ALL"
322323
# Remove the temporary password for the user deck
323324
sudo passwd -d deck
324325
----

0 commit comments

Comments
 (0)