[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian policy 9.2.1 needs --allow-bad-names



Hi Joachim,

Le 2024-10-05 17:21, Joachim Zobel a écrit :
> Hi.
> 
> Debian policy 9.2.1 says: "When maintainers choose a new hardcoded or
> dynamically generated username for packages to use, they should start
> this username with an underscore." By now this requires an 
> 
> adduser --allow-bad-names
> 
> in the script creating the user. Since I followed this policy, I'll
> have to adapt my package vzlogger. Alternatively I could I rename the
> user and ignore 9.2.1, the package is only in testing. Or is this a bug
> in adduser?

If you are creating a system user, you do not need to pass the
--allow-bad-names to adduser. However, this option is required if you intend to
create a non-system user/group name starting with an underscore.

> Sincerely,
> Joachim

Cheers,
Vincent

Attachment: signature.asc
Description: PGP signature


Reply to: