On Wed, Mar 05, 2025 at 02:40:11PM +0100, Vincent Lefevre wrote:
I haven't found any, but I was surprised that adduser does not
allow one to set a password for system accounts (e.g. with an
option like --enabled-password, which would be the reverse of
the --disabled-password option).

Setting a password is a historical liability in adduser, we just invoke passwd(1) on the new account, which is interactive. We'd rather get rid of that for regular user accounts as well.

How would you imagine setting a password for a system account (maybe even in a package maintainer script)?

My opinion is that it is bad practice to have a system account with a password and that we should not begin supporting that after not doing it for at least 20 years.

Greetings
Marc

--
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421

Reply via email to