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

Re: Admin Root user [not set to default]



On Wed, Apr 09, 2025 at 13:44:14 +0100, James Freer wrote:
> b] 'Sudo' - i thought came in with ubuntu (and some other
> derivatives). Many distros use 'su -' for admin rights and i thought
> Debian was one of those. Sudo i thought was introduced as a level of
> safety for newbie users so they could only carry out one operation at
> a time. If i wanted to do a series of operations i'd choose 'sudo su'
> which allowed that and as i understood was the equivalent to 'su -'.
> >From what you have said it seems Debian has now included sudo. It may
> be that the Calamares installer has decided this setup and it is
> better to use the netinst iso.

If you install using the regular Debian installer, you will be
given the opportunity to enter a root password, or to leave it blank.

If you give a root password, then that will be set for the root account,
and sudo won't automatically be installed.  (But you may choose to
install it later.)

If you leave the root password blank, then no password will be assigned
for the root account (meaning it's not possible to login directly as
root, even on the console, and single user mode won't work).  If you
choose this route, then sudo will be installed automatically, and the
non-root user account that you create during installation will be added
to the sudo group, so that it can use the sudo command.

I'm guessing the Live installer just assumes you want the second route,
instead of asking.  I've never used it, so I'm not certain.


Reply to: