On 8/10/2021 1:11 PM, Greg Wooledge wrote:
On Tue, Aug 10, 2021 at 09:13:22AM +0200, john doe wrote:
Fulling around is the best way to learn if you can take the time to fix
the issue(s) that your impulsivity has caused!!! :)
(Fooling around.) If you do choose to fool around with sudoers, please
keep a root shell open at all times. Don't cut yourself off from root
by counting on being able to do "sudo nano /etc/sudoers" again, because
you might have broken sudo.
"sudo -s" gives you a shell as root. Even if you never have to run a
single command in that shell, having it there for emergency use is wise.
Obviously, fooling around should not be done on a production
server/something that you need to have stable.
As long as you are messing around with sudo, that might not be a bad
idea to configure 'su' as a fallback mechanism.
--
John Doe