[Bug 1979243] Re: Upgrade deletes user name

Nick Rosbrook 1979243 at bugs.launchpad.net
Tue Jun 21 13:56:30 UTC 2022


Oh, there it is (from VarLogDistupgradeApttermlog.txt):

Preparing to unpack .../base-passwd_3.5.52build1_amd64.deb ...
Unpacking base-passwd (3.5.52build1) over (3.5.51) ...
Setting up base-passwd (3.5.52build1) ...
Removing user "rod" (49)
1 changes have been made, rewriting files
Writing passwd-file to /etc/passwd
Writing shadow-file to /etc/shadow
Writing group-file to /etc/group

** Package changed: ubuntu-release-upgrader (Ubuntu) => base-passwd
(Ubuntu)

** Changed in: base-passwd (Ubuntu)
       Status: Incomplete => New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1979243

Title:
  Upgrade deletes user name

Status in base-passwd package in Ubuntu:
  New

Bug description:
  Description:	Ubuntu 22.04 LTS
  Release:	22.04

  I have a user account called rod
  I created it from a root terminal with adduser rod && usermod -u 49 rod 
  When I upgraded from 20 to 21 the user was deleted
  The /home/rod files were intact.
  To recover the user I had to delete rod from /etc/group
  adduser rod && usermod -u 49 rod
  When I upgraded from 21 to 22 the account was deleted
  The /home/rod files were intact.
  To recover the user I had to delete rod from /etc/group
  adduser rod && usermod -u 49 rod

  There is no justification for an upgrade to delete a user.

  The purpose of "usermod -u 49 rod" is so that user rod does not show
  on the login screen.

  I suspect this is the reasoning behind removing the user.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: ubuntu-release-upgrader-core 1:22.04.11
  ProcVersionSignature: Ubuntu 5.15.0-39.42-generic 5.15.35
  Uname: Linux 5.15.0-39-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu82.1
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CrashDB: ubuntu
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Jun 21 04:30:29 2022
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  Symptom: dist-upgrade
  UpgradeStatus: Upgraded to jammy on 2022-06-17 (2 days ago)
  VarLogDistupgradeTermlog:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-passwd/+bug/1979243/+subscriptions




More information about the foundations-bugs mailing list