Hi, Holger Wansing <hwans...@mailbox.org> (2025-03-29): > When looking at the manpages of these both, it seems as adduser is > preferred over useradd; people are recommended to not use useradd.
Right. > Why have the above logic in the installer at all? > useradd looks as some kind of backup... Maybe there may be/were situations, > where adduser package is not installed, but shadow is? Maybe some old thing like having the ability not to use shadow passwords or something, but I won't spend time diving into the past to figure that out. We must make the adduser case work. (And possibly remove the useradd fallback if someone wants to check why that's here in the first place.) > > Possible options may include: > > - align adduser's comment sanitation regex on useradd > > - make user-setup have the same restriction on the full name as adduser > > (it currently does not seem to have any) > > If above sanitation regex is new in adduser, then this choice looks to > me like the way to go. Before that's considered, why are these restrictions in place all of a sudden? Why would we want to make it impossible for people to set up accounts with their own names?! Cheers, -- Cyril Brulebois (k...@debian.org) <https://debamax.com/> D-I release manager -- Release team member -- Freelance Consultant
signature.asc
Description: PGP signature