The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 704β€…    Votes:  1β€…    βœ… Solution
Tag : visudo  
Link: πŸ” See Original Answer on Ask Ubuntu ⧉ πŸ”—

URL: https://askubuntu.com/q/1195402
Title: What should /etc/sudoers contain normally?
ID: /2019/12/11/What-should-_etc_sudoers-contain-normally_
Created: December 11, 2019    Edited:  December 11, 2019
Upload: September 15, 2024    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


Here’s what I change on new installations:

$ sudo cat /etc/sudoers
# 
# This file MUST be edited with the 'visudo' command as root.
# 
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
# 
# See the man page for details on how to write a sudoers file.
# 
Defaults	env_reset, timestamp_timeout=120, pwfeedback
#Defaults	mail_badpass
Defaults	secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
Defaults:rick !secure_path

  (... SNIP rest of file unchanged ...)

I put my changes at the top of the file. They are displayed in bold above:

⇧ xrandr - different effect when put in .xprofile How to remove /dev/loops  β‡©