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.