~ondrak/ondras-snaps/+git/snapd:use-useradd

Last commit made on 2024-02-08
Get this branch:
git clone -b use-useradd https://git.launchpad.net/~ondrak/ondras-snaps/+git/snapd

Branch merges

Branch information

Name:
use-useradd
Repository:
lp:~ondrak/ondras-snaps/+git/snapd

Recent commits

3b09f37... by Maciej Borzecki

osutil: mention disabled passwords for useradd

Signed-off-by: Maciej Borzecki <email address hidden>

6d36548... by Ondrej Kubik

osutil: remove obsolete part of the comment

Signed-off-by: Ondrej Kubik <email address hidden>

bc1c46f... by Philip Meulengracht

osutil: fix typo of available

814ae89... by Philip Meulengracht

osutil: remove --badname from the useradd call as it was doing nothing for our use-case. The regex used by snapd is already sufficient and a lot more strict.

Remove + from allowed characters in usernames, both normal and system, as they were not allowed by adduser anyway.

f4dbf73... by Ondrej Kubik

osutil: move to useradd: improve comment text

Co-authored-by: Maciej Borzecki <email address hidden>

6958cba... by Ondrej Kubik

osutil: useradd: set default tool and alter if needed

Signed-off-by: Ondrej Kubik <email address hidden>

e0ab574... by Ondrej Kubik

osutil: useradd: remove redundant userTool variable

Signed-off-by: Ondrej Kubik <email address hidden>

c608556... by Ondrej Kubik

osutil: useradd: minor fixes as recomended in PR

Signed-off-by: Ondrej Kubik <email address hidden>

5415f39... by Ondrej Kubik

osutil: move to useradd from adduser

adduser is perl based tool. Moving to useradd removes this dependency.

Signed-off-by: Ondrej Kubik <email address hidden>

85fc26f... by Ernest Lotter

Merge pull request #13476 from MiguelPires/aspect-schema-key-format

aspects: check map key format in parsing and validation