I just finished installing Debain 10 on two VMs from the amd64 ISO (debian-10.7.0-amd64-netinst.iso)

For both installs I used the graphical installer left all options at defaults, Including the default desktop environment "Debian desktop environment".

On the first install I left the root password blank and for the second I set a root password.

The graphical installer does mention that if a root password is not set the first user will be added to sudoers file and I can confirm that is the case.

I can also confirm that sudo is installed in both cases if you set a root password or not.

I did not try installing Mate but It is worth mentioning that the installer asks for a root password long before it asks which desktop to install.

I hope this is helpful to someone.

---
Steven Mainor

On 2020-12-16 05:09, Keith Bainbridge wrote:

I was not offered to set a root passwd during the last 2 Buster installs I did. Admittedly, with mateDE and MAYBE that makes a difference. Who's going to try it to prove the point? It'll be several days before I can. Will do if I don't see somebody beat me to it.
Keith BAINBRIDGE
ke1thozgro...@gmx.com

Sent from my Aphone

On 15 December 2020 7:01:32 pm UTC, Brian <a...@cityscape.co.uk> wrote:

On Tue 15 Dec 2020 at 19:33:53 +0100, john doe wrote:

On 12/15/2020 6:34 PM, Tixy wrote:
On Tue, 2020-12-15 at 11:36 +0100, john doe wrote:
On 12/15/2020 10:19 AM, Andrei POPESCU wrote:
On Lu, 14 dec 20, 19:45:54, Jerry Mellon wrote:
I finally got around to installing debian 10 on my 64bit system(thus
removing the i386version I had originally instaled). The install went
well and I asked for a seperate Home particion. When I booted the system and try to do "apt-get update and apt-get upgrade" using "sudo" it would
not let me do that. Said I was not a sudo user. I then tried "su root"
which failed as well as it said I was not a sudo user. I went to the
sudouse file and changed it to make me a user. Sudo as myself worked
fine but su root still did not work.

After seeing the email concering problems with sudo and su root I
decided to reload. I did but did a use whole disk (no home part).
After booting I did have to go to the sudouser file an change it again
but the su root worked with out a problem.
You probably set a root password during install.

The Debian Installer will configure 'sudo' for the first user only if
you leave the root password blank. This is explained during the install.

That doesn't look to be the case anymore, I just installed Buster with
Mate and sudo is installed.
Because sudo is a recommended package of task-desktop, which is a
dependency of task-mate-desktop. But if you gave it a root password
during install then it didn't add the user you created at install time
into the 'sudo' group, so no user can use sudo. (This does make me
wonder why 'sudo' is recommended by task-desktop in the first place.)

Or at the very least, if sudo is installed having it configured with
the user added to the sudo group regardless of if a root password is set.

You are being obtuse.

d-i does not install sudo unless it is requested. That's the only point
at issue. It is the only thing that matters.

Why Mate chooses to install sudo is a different issue. It does not
invalidate

The Debian Installer will configure 'sudo' for the first
user only if you leave the root password blank. This is
explained during the install.

What a particular package does has no bearing on the design of d-i's
base system.

--
Brian.

Attachment: 0x9477C19B.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to