]> git.ipfire.org Git - thirdparty/shadow.git/commit
useradd: create directories after the SELinux user
authorIker Pedrosa <ipedrosa@redhat.com>
Fri, 8 Oct 2021 11:09:59 +0000 (13:09 +0200)
committerIker Pedrosa <ipedrosa@redhat.com>
Mon, 25 Oct 2021 07:55:27 +0000 (09:55 +0200)
commit09c752f00f9dfc610f66d68be38c9e5be8ca7f15
tree7cbd863044473bec3eb887959991bdb11e03ce08
parent6be18d45e16ea5d5bfea5cc8c2e99a3f68106b12
useradd: create directories after the SELinux user

Create the home and mail folders after the SELinux user has been set for
the added user. This will allow the folders to be created with the
SELinux user label.

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
src/useradd.c