ensuring that STRICT_MODES gets passed through to the monkeysphere subshell properly...
[monkeysphere.git] / src / share / ma / update_users
index 3a5c006e8f560f6ba2a58130bdb59bf47af659d4..31b53bfc1df13bdebc26e3dd9c24dd411f8b3aae 100644 (file)
@@ -24,7 +24,7 @@ if [ "$1" ] ; then
     unames="$@"
 else        
     # or just look at all users if none specified
-    unames=$(getent passwd | cut -d: -f1)
+    unames=$(list_users)
 fi
 
 # set mode
@@ -93,7 +93,7 @@ for uname in $unames ; do
 
            # process authorized_user_ids file, as monkeysphere user
            su_monkeysphere_user \
-               ". ${SYSSHAREDIR}/common; process_authorized_user_ids $TMP_AUTHORIZED_USER_IDS" \
+               ". ${SYSSHAREDIR}/common; STRICT_MODES='$STRICT_MODES' process_authorized_user_ids $TMP_AUTHORIZED_USER_IDS" \
                || returnCode="$?"
        else
            log debug "not processing authorized_user_ids."