[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Emergency mode when root account locked



On Mon, 7 Dec 2020, Greg Wooledge wrote:

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
reasons?

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.


i was a sys admin for hpux and linux systems for 25 years now retired
having a root password is along the same line as backups for your system
you spend time and money and pray you never have to use it
you set a root password and use it from time to time just in case


Reply to: