Re: Emergency mode when root account locked
On Sat, Dec 05, 2020 at 12:41:57PM +0200, Andrei POPESCU wrote:
> On Vi, 04 dec 20, 08:09:44, Greg Wooledge wrote:
> > I am also going to guess that Deepin, like Ubuntu, defaults to giving
> > you a user account with sudo access, and no root password. You can
> > achieve that in Debian as well, by doing something special during the
> > installation. In all cases, it's a stupid idea and you shouldn't do it.
> This is a pretty strong (and harsh!) statement. Care to expand on the
It prevents access to single-user mode. The fact that Debian (and
these others?) still puts a single-user mode entry into the GRUB menu,
knowing that it won't work, is just adding insult to injury.
Even if you plan to use sudo for 99% of your administrative work,
there's still no reason NOT to have a root password, for those emergency
situations where you need one.
Another thing to keep in mind is that you might forget your root
password if you don't use it once in a while. So, you might try to
remember to use "su" or a console root login from time to time, just
to make sure you remember your root password.