summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@sullrich-MacBookPro.local>2009-03-27 18:24:07 -0400
committerScott Ullrich <sullrich@sullrich-MacBookPro.local>2009-03-27 18:24:07 -0400
commit5fb0ac9efb67cf314d006ab8164f4ffeb4ec3494 (patch)
tree9ed1d7060d191386adf2496a8e5f696e76780471 /etc
parenta64c490a87727edb7ea972651e793013c535afea (diff)
downloadpfsense-5fb0ac9efb67cf314d006ab8164f4ffeb4ec3494.zip
pfsense-5fb0ac9efb67cf314d006ab8164f4ffeb4ec3494.tar.gz
Use -q to hopefully git rid of messages such as: pw: WARNING account 'admin' will have a valid id of 0 (superuser access!)
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/auth.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc
index 10365b4..545c79e 100644
--- a/etc/inc/auth.inc
+++ b/etc/inc/auth.inc
@@ -219,7 +219,7 @@ function local_user_set(& $user) {
/* root user special handling */
if ($user_uid == 0) {
- $cmd = "/usr/sbin/pw usermod -n root -s /bin/sh -H 0";
+ $cmd = "/usr/sbin/pw usermod -q -n root -s /bin/sh -H 0";
if($debug)
log_error("Running: {$cmd}");
$fd = popen($cmd, "w");
@@ -240,7 +240,7 @@ function local_user_set(& $user) {
$user_op = "usermod";
/* add or mod pw db */
- $cmd = "/usr/sbin/pw {$user_op} -u {$user_uid} -n {$user_name}".
+ $cmd = "/usr/sbin/pw {$user_op} -q -u {$user_uid} -n {$user_name}".
" -g {$user_group} -G all -s {$user_shell} -d {$user_home}".
" -c ".escapeshellarg($user['fullname'])." -H 0 2>&1";
OpenPOWER on IntegriCloud