diff options
author | Jonathan Bauer | 2021-04-06 17:37:45 +0200 |
---|---|---|
committer | Jonathan Bauer | 2021-04-06 17:37:45 +0200 |
commit | 1906db76b44d5cddf8c89caa09db7e1b4ccd8e13 (patch) | |
tree | 2d5f55dfdda28702ca60e1166e1b30622949276f /core/includes | |
parent | [distro-logo] oops fix copy pasta (diff) | |
download | mltk-1906db76b44d5cddf8c89caa09db7e1b4ccd8e13.tar.gz mltk-1906db76b44d5cddf8c89caa09db7e1b4ccd8e13.tar.xz mltk-1906db76b44d5cddf8c89caa09db7e1b4ccd8e13.zip |
[inc/useradd] do not overwrite USER
Diffstat (limited to 'core/includes')
-rw-r--r-- | core/includes/useradd.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/includes/useradd.inc b/core/includes/useradd.inc index 2beaaeae..b5a7aaf3 100644 --- a/core/includes/useradd.inc +++ b/core/includes/useradd.inc @@ -207,6 +207,7 @@ add_group () { init_users_and_groups() { [ -z "$TARGET_BUILD_DIR" -o "$TARGET_BUILD_DIR" == "/" ] && perror "Almost wrecked your local passwd, group and shadow file. phew." + local USER local PASSWD="$TARGET_BUILD_DIR/etc/passwd" local GROUP="$TARGET_BUILD_DIR/etc/group" local SHADOW="$TARGET_BUILD_DIR/etc/shadow" |