user-accounts: Check username validity over usermod

Username policies differ across the distributions. See the discussion on:
!359

It is not possible to hard-code some rules here without the need for
downstream modifications. Let's check the validity of usernames dynamically
over "usermod" to prevent this.

Just be careful that this is based on undocumented usermod behavior, which
may change in the future.
11 jobs for wip/oholy/username-validity in 7 minutes and 9 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #208523
build

00:03:09

 
  Test
passed #208525
asan

00:02:51

passed #208524
test

00:03:59

 
  Manual
manual #208530
allowed to fail manual
armv8
manual #208526
allowed to fail manual
flatpak
manual #208529
allowed to fail manual
msan
manual #208531
allowed to fail manual
ppc64le
manual #208527
allowed to fail manual
tsan
manual #208528
allowed to fail manual
ubsan
 
  Review
manual #208532
allowed to fail manual
review
manual #208533
allowed to fail manual
stop_review