V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 2m1s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 2m1s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -262,6 +262,7 @@ EOF
|
|||||||
if ! chroot_exec "${var_target}" getent group "${var_username}" >/dev/null; then
|
if ! chroot_exec "${var_target}" getent group "${var_username}" >/dev/null; then
|
||||||
chroot_exec "${var_target}" groupadd --gid "${var_gid}" "${var_username}"
|
chroot_exec "${var_target}" groupadd --gid "${var_gid}" "${var_username}"
|
||||||
fi
|
fi
|
||||||
|
sed -i '/getent[[:space:]]\+group/d' -- "${LOG_ERR}"
|
||||||
|
|
||||||
### 0) B) Generates the user account.
|
### 0) B) Generates the user account.
|
||||||
### If the 'user' is not restricted in scope, then generate the account accordingly, with a predefined expiry date.
|
### If the 'user' is not restricted in scope, then generate the account accordingly, with a predefined expiry date.
|
||||||
|
|||||||
Reference in New Issue
Block a user