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 <seb...@ubuntu.com>
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=<set>
>    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

Reply via email to