This video goes over how to use sudo su root or use sudo no password to avoid getting prompted all the time. It covers why people new to Linux like to use sudo su and why this messes up their installs.
Commands:
Switch to Root user
# sudo su
Change your user to auto elevate without password in sudo visudo
# sudo visudo
-----APPEND either of the following------
--CHANGE USER----- myuser ALL=(ALL) NOPASSWD:ALL
--CHANGE GROUP-- %usergroup ALL=(ALL) NOPASSWD:ALL
Support My Work
-----------------------------------------------------------------------------------
►► Get Updates, Launch Announcements and More ➜
https://www.cttstore.com/newsletter
►► Chris Titus Tech Digital Downloads ➜
https://www.cttstore.com/downloads
►► CTT Store Membership w/ All Digital Downloads ➜
https://www.cttstore.com/members
►► YouTube Membership w/ Discord Channel ➜
https://www.youtube.com/@ChrisTitusTech/join
►► Twitch Membership w/ Discord Channel ➜
https://subs.twitch.tv/christitustech
Other Places to Find Me
-----------------------------------------------------------------------------------
►► Titus Tech Talk ➜
https://www.youtube.com/c/TitusTechTalk
►► Titus Tech Gaming ➜
https://www.youtube.com/c/TitusTechGaming
►► Twitch ➜
https://www.twitch.tv/christitustech
►► Twitter ➜
https://twitter.com/christitustech
DISCLAIMER: This video and description contain affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This helps supports the channel and allows us to continue to make videos like this. Thank you for your support! .
►► Digital Downloads ➜
https://www.cttstore.com
►► Patreon ➜
https://www.patreon.com/christitustech
►► Reddit ➜
https://www.reddit.com/r/ChrisTitusTech/
►► Titus Tech Talk ➜
https://www.youtube.com/c/TitusTechTalk
►► Twitch ➜
https://www.twitch.tv/christitustech