Re: [Bug 1876141] Re: before login screen the setup forces a new login name

2020-05-04 Thread Peter Sluka
No,  /bin/ksh2020 is not listed in /etc/shells.   In /etc/shells, ksh is
listed as /usr/bin/ksh2020.
I installed ksh2020 with the  usual command: sudo apt install ksh2020

When I added to /etc/shells, the line /bin/ksh2020  and re-edited
/etc/passwd for my uid=1000, pete, to have a shell of /bin/ksh2020,
I could login in from a cold boot.  It still isn't totally normal in that
all users are listed on the login window except uid=1000.  I just click on
"not listed" and then can login in normally.

Even when I change my passwd entry for the shell to be /bin/bash, uid=1000
still does not appear on the list of login shells?

On Mon, May 4, 2020 at 7:20 AM Sebastien Bacher 
wrote:

> The issue is likely the heuristic in accountsservice to determine which
> users are real one (opposed to account used by the system)
>
> they do filter on valid shells
>
> https://gitlab.freedesktop.org/accountsservice/accountsservice/-/blob/master/src/user-classify.c#L116
>
> the code calls getusershell() which according to the manpage reads
> /etc/shells ... is /bin/ksh2020 listed in that file? if not how did you
> install that shell on your configuration? The Debian shell packages add
> themselves to this list by calling /usr/sbin/add-shell in their postinst
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1876141
>
> Title:
>   before login screen the setup forces a new login name
>
> Status in gnome-initial-setup package in Ubuntu:
>   Incomplete
>
> Bug description:
>   The Welcome/setup screen runs every time after the initial login.
>   Each time it forces a new login name.  This become the default login
>   which is NOT wanted.  Furthermore, the previous setups force you to
>   re-name your language, livepatch etc choices.
>
>   Fix plymouth or whatever keeps calling the Welcome screen after the
>   installation of 20.04 onto a hard disk.
>
>   ProblemType: Bug
>   DistroRelease: Ubuntu 20.04
>   Package: plymouth 0.9.4git20200323-0ubuntu6
>   ProcVersionSignature: Ubuntu 5.4.0-28.32-generic 5.4.30
>   Uname: Linux 5.4.0-28-generic x86_64
>   NonfreeKernelModules: nvidia_modeset nvidia
>   ApportVersion: 2.20.11-0ubuntu27
>   Architecture: amd64
>   BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
>   CasperMD5CheckResult: skip
>   CurrentDesktop: ubuntu:GNOME
>   Date: Thu Apr 30 11:14:03 2020
>   DefaultPlymouth: /usr/share/plymouth/themes/bgrt/bgrt.plymouth
>   InstallationDate: Installed on 2020-04-29 (1 days ago)
>   InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64
> (20200423)
>   MachineType: System manufacturer System Product Name
>   ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-28-generic
> root=UUID=87ab2237-b0ca-4ef3-bea4-c2c2a8fd4a52 ro quiet splash vt.handoff=7
>   ProcEnviron:
>PATH=(custom, no user)
>XDG_RUNTIME_DIR=
>LANG=en_US.UTF-8
>SHELL=/bin/ksh2020
>   ProcFB: 0 VESA VGA
>   ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-28-generic
> root=UUID=87ab2237-b0ca-4ef3-bea4-c2c2a8fd4a52 ro quiet splash vt.handoff=7
>   SourcePackage: plymouth
>   TextPlymouth: /usr/share/plymouth/themes/ubuntu-text/ubuntu-text.plymouth
>   UpgradeStatus: No upgrade log present (probably fresh install)
>   dmi.bios.date: 10/09/2012
>   dmi.bios.vendor: American Megatrends Inc.
>   dmi.bios.version: 3029
>   dmi.board.asset.tag: To Be Filled By O.E.M.
>   dmi.board.name: Crosshair IV Formula
>   dmi.board.vendor: ASUSTeK Computer INC.
>   dmi.board.version: Rev 1.xx
>   dmi.chassis.asset.tag: Asset-1234567890
>   dmi.chassis.type: 3
>   dmi.chassis.vendor: Chassis Manufacture
>   dmi.chassis.version: Chassis Version
>   dmi.modalias:
> dmi:bvnAmericanMegatrendsInc.:bvr3029:bd10/09/2012:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnCrosshairIVFormula:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
>   dmi.product.family: To Be Filled By O.E.M.
>   dmi.product.name: System Product Name
>   dmi.product.sku: To Be Filled By O.E.M.
>   dmi.product.version: System Version
>   dmi.sys.vendor: System manufacturer
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/gnome-initial-setup/+bug/1876141/+subscriptions
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1876141

Title:
  before login screen the setup forces a new login name

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-initial-setup/+bug/1876141/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1876141] Re: before login screen the setup forces a new login name

2020-05-01 Thread Peter Sluka
I installed U20.04 from a download from the official Canonical website;
burned to a DVD and then booted from the DVD.  The installation asked all
the usual questions including asking for a first user logname.  This all
went well.  My installation site was a clean unused disk; installed to the
first partition for both bootloader and /.After booting, as I said,
gnome-initial-setup pops up and forces a new user.  The following screen is
a login screen with the forced new user name as the default.  I click on
"login as another" and then can login as the user I setup in the initial
installation from the DVD.

The gnome-initial-setup screen happens only when I do a cold boot.  If I
log out from an existing session, I get the normal login screen back, There
is no default logname displayed and I can relogin as my first user
logname.  I currently do a "sudo userdel -r 'forced logname' to get rid of
this entry in passwd, /home/name ...My first user has a UID of 1000
while the forced user name is one more than the last entry in passwd as
expected.  the last few lines of /etc/passwd [after doing the userdel cmd}:

pete:x:1000:1000:pete,,,:/home/pete:/bin/ksh2020   <<< the
installation first userj
nvidia-persistenced:x:126:133:NVIDIA Persistence
Daemon,,,:/nonexistent:/usr/sbin/nologin
systemd-coredump:x:999:999:systemd Core Dumper:/:/usr/sbin/nologin
mary:x:1001:1001:mary,,,:/home/mary:/bin/ksh2020 <<<-- other user
names I added
databaser:x:1002:1002:db,,,:/home/databaser:/bin/ksh2020
slak:x:1003:1003:slak,,,:/home/slak:/bin/ksh2020
knoppix:x:1004:1004:knoppix,,,:/home/knoppix:/bin/ksh2020
u0_a186:x:10186:10186:S2,,,:/home/u0_a186:/bin/zsh
u0_a57:x:10057:10057:S4,,,:/home/u0_a57:/bin/zsh
u0_a192:x:10192:10192:S7,,,:/home/u0_a192:/bin/zsh<<<  other user
names I added
postgres:x:127:134:PostgreSQL
administrator,,,:/var/lib/postgresql:/bin/bash   <<<  added by apt
install postgresql
sshd:x:128:65534::/run/sshd:/usr/sbin/nologin   <<<---  added by apt
install openssh

On Fri, May 1, 2020 at 1:56 AM Sebastien Bacher 
wrote:

> Thank you for your bug report. How did you install Ubuntu and what
> desktop environment do you use? The desktop installer has an user
> creation as a mandatory step so unsure how you ended up with a system
> without an user created?
>
> ** Changed in: gnome-initial-setup (Ubuntu)
>Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1876141
>
> Title:
>   before login screen the setup forces a new login name
>
> Status in gnome-initial-setup package in Ubuntu:
>   Incomplete
>
> Bug description:
>   The Welcome/setup screen runs every time after the initial login.
>   Each time it forces a new login name.  This become the default login
>   which is NOT wanted.  Furthermore, the previous setups force you to
>   re-name your language, livepatch etc choices.
>
>   Fix plymouth or whatever keeps calling the Welcome screen after the
>   installation of 20.04 onto a hard disk.
>
>   ProblemType: Bug
>   DistroRelease: Ubuntu 20.04
>   Package: plymouth 0.9.4git20200323-0ubuntu6
>   ProcVersionSignature: Ubuntu 5.4.0-28.32-generic 5.4.30
>   Uname: Linux 5.4.0-28-generic x86_64
>   NonfreeKernelModules: nvidia_modeset nvidia
>   ApportVersion: 2.20.11-0ubuntu27
>   Architecture: amd64
>   BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
>   CasperMD5CheckResult: skip
>   CurrentDesktop: ubuntu:GNOME
>   Date: Thu Apr 30 11:14:03 2020
>   DefaultPlymouth: /usr/share/plymouth/themes/bgrt/bgrt.plymouth
>   InstallationDate: Installed on 2020-04-29 (1 days ago)
>   InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64
> (20200423)
>   MachineType: System manufacturer System Product Name
>   ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-28-generic
> root=UUID=87ab2237-b0ca-4ef3-bea4-c2c2a8fd4a52 ro quiet splash vt.handoff=7
>   ProcEnviron:
>PATH=(custom, no user)
>XDG_RUNTIME_DIR=
>LANG=en_US.UTF-8
>SHELL=/bin/ksh2020
>   ProcFB: 0 VESA VGA
>   ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-28-generic
> root=UUID=87ab2237-b0ca-4ef3-bea4-c2c2a8fd4a52 ro quiet splash vt.handoff=7
>   SourcePackage: plymouth
>   TextPlymouth: /usr/share/plymouth/themes/ubuntu-text/ubuntu-text.plymouth
>   UpgradeStatus: No upgrade log present (probably fresh install)
>   dmi.bios.date: 10/09/2012
>   dmi.bios.vendor: American Megatrends Inc.
>   dmi.bios.version: 3029
>   dmi.board.asset.tag: To Be Filled By O.E.M.
>   dmi.board.name: Crosshair IV Formula
>   dmi.board.vendor: ASUSTeK Computer INC.
>   dmi.board.version: Rev 1.xx
>   dmi.chassis.asset.tag: Asset-1234567890
>   dmi.chassis.type: 3
>   dmi.chassis.vendor: Chassis Manufacture
>   dmi.chassis.version: Chassis Version
>   dmi.modalias:
>