summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/user.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/sysinstall/user.c')
-rw-r--r--usr.sbin/sysinstall/user.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/usr.sbin/sysinstall/user.c b/usr.sbin/sysinstall/user.c
index 1c17750..6c42ecc 100644
--- a/usr.sbin/sysinstall/user.c
+++ b/usr.sbin/sysinstall/user.c
@@ -225,7 +225,6 @@ completeGroup(void)
for (i = getdtablesize(); i > 2; i--)
close(i);
- chroot(variable_get(VAR_INSTALL_ROOT));
execv("/usr/sbin/pw", vec);
msgDebug("Cannot execv() /usr/sbin/pw.\n");
_exit(99);
@@ -291,7 +290,6 @@ addGroup(WINDOW *ds_win)
else
vec[VEC_GID - 1] = 0;
- chroot(variable_get(VAR_INSTALL_ROOT));
execv("/usr/sbin/pw", vec);
msgDebug("Cannot execv() /usr/sbin/pw.\n");
_exit(99);
@@ -482,7 +480,6 @@ completeUser(void)
vec[VEC_UNAME] = uname;
- chroot(variable_get(VAR_INSTALL_ROOT));
execv("/usr/sbin/pw", vec);
msgDebug("Cannot execv() /usr/sbin/pw.\n");
_exit(99);
@@ -589,7 +586,6 @@ addUser(WINDOW *ds_win)
}
vec[i] = 0;
- chroot(variable_get(VAR_INSTALL_ROOT));
execv("/usr/sbin/pw", vec);
msgDebug("Cannot execv() /usr/sbin/pw.\n");
_exit(99);
OpenPOWER on IntegriCloud