On Tue, Aug 10, 2021 at 07:11:55AM -0400, 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.

...or learn how to access your "dead" disk without booting from it (live
system, rescue, extracting the disk and mounting it on other system --
choices are... panoramic here; most of the time you'll need some extra
hardware, a prepared, lowly USB stick might suffice :-)

> "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.

...but I do agree that Greg's advice potentially leads to the shortest
downtimes :-D

Cheers
 - t

Attachment: signature.asc
Description: Digital signature

Reply via email to