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

Bug#797563: installation-reports: Non-free install with disabled root user, sudo command not found



I realize now that this is an "unofficial" image provided under the "cdimage.debian.org" domain, so it might not be appropriate to report the bug here.

Boot method: USB drive
Image version: http://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/8.1.0-live+nonfree/amd64/iso-hybrid/debian-live-8.1.0-amd64-standard+nonfree.iso
Date: 2015-09-07

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:           [O]
Detect network card:    [O]
Configure network:      [O]
Detect CD:              [ ] No CD drive present.
Load installer modules: [O]
Detect hard drives:     [O]
Partition hard drives:  [O]
Install base system:    [O]
Clock/timezone setup:   [O]
User/password setup:    [O]
Install tasks:          [O]
Install boot loader:    [O]
Overall install:        [O]

Comments/Problems:

"sudo" is mentioned several times in "/var/log/installer/syslog":

Sep  7 02:04:20 user-setup: Adding user `debian' to group `sudo' ...
Sep  7 02:04:20 user-setup: Adding user debian to group sudo
Sep  6 21:04:20 gpasswd[5429]: user debian added by root to group sudo
...
Sep  7 02:05:00 in-target: The following packages were automatically installed and are no longer required:
Sep  7 02:05:00 in-target:   live-boot-doc live-config-doc sudo user-setup
...
Sep  7 02:05:20 in-target: The following packages will be REMOVED:
Sep  7 02:05:20 in-target:   live-boot-doc live-config-doc menu sudo user-setup
...
Sep  7 02:05:23 in-target: Removing sudo (1.8.10p3-1+deb8u2) ...

I also tried the new 8.2.0 non-free ISO (http://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/8.2.0-live+nonfree/amd64/iso-hybrid/debian-live-8.2.0-amd64-standard+nonfree.iso), but I received the same result:

Sep 10 13:59:33 user-setup: Adding user `debian' to group `sudo' ...
Sep 10 13:59:33 user-setup: Adding user debian to group sudo
Sep 10 08:59:33 gpasswd[5403]: user debian added by root to group sudo
...
Sep 10 14:03:09 in-target: The following packages were automatically installed and are no longer required:
Sep 10 14:03:09 in-target:   live-boot-doc live-config-doc sudo user-setup
...
Sep 10 14:03:30 in-target: The following packages will be REMOVED:
Sep 10 14:03:30 in-target:   live-boot-doc live-config-doc menu sudo user-setup
...
Sep 10 14:03:33 in-target: Removing sudo (1.8.10p3-1+deb8u2) ...^M



On Mon, Aug 31, 2015 at 4:17 PM, Cyril Brulebois <kibi@debian.org> wrote:
>
> Hi,
>
> Caleb Burns <cpburnz@gmail.com> (2015-08-31):
> > Package: installation-reports
> > Severity: normal
> >
> > Dear Maintainer,
> >
> > I used the "debian-live-8.1.0-amd64-standard+nonfree.iso" image to
> > install Debian. During installation, I chose no root password in order
> > to disable root login. My understanding is that this option should
> > install and enable "sudo" privileges for the non-root user created in
> > the next step of the installation process.
> >
> > After installation and login with the non-root user, I cannot run
> > "sudo". It fails with the message:
> >
> >     -bash: sudo: command not found
> >
> > This indicates that "sudo" was not installed. I then tried "su" to
> > attempt change to the root user. I tried both entering no password,
> > and entering the user password. Both of these failed with:
> >
> >     su: Authentication failure
> >
> > Which is to be expected because no password was set for root.
> >
> > I reinstalled debian a second time without a root login, but the issue
> > remained. I believe this is an installation error with setting up
> > users.
>
> Thanks for your bug report, but please follow up with more details
> (installation logs):
>   https://www.debian.org/releases/stable/amd64/ch05s04.html#problem-report
>
> Mraw,
> KiBi.


Reply to: