Package: adduser
Version: 3.121
Severity: important
Tags: confirmed

If adduser --system is called to create a user that already exists as a
system accout but is locked, adduser should not error out and instead
silently unlock the account, restore the password to a useable state and
set the shell to the value asked on the command line.

The idea is to make it possible to
- uninstall a package that calls deluser --system --lock (#1008082) in postrm
- reinstall that package and to have the account reinstated automatically
  and silently.

This is part of the promise that adduser --system without scaffolding will 
result in an useable and correct account if possible without zapping 
conflicting configuration. A locked account is not conflicting configuration.

Document (README.adduser-for-packages, adduser(8)).

Severity important since the suggested policy change depends on this feature.

Blocks: #1006912
Blocked by: #1008081

Reason: suggested policy change, #1006912

Reply via email to