Add two new compatibility functions:
[monkeysphere.git] / src / share / ma / update_users
index 67fabb2f7dbfda9e1c11bad71b90662f271c2dcb..c5c74cf7bbfaedff9d410146b08ccb6a8193b153 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
@@ -92,7 +92,7 @@ for uname in $unames ; do
            export TMP_AUTHORIZED_USER_IDS
 
            # process authorized_user_ids file, as monkeysphere user
-           FILE_OWNER="$MONKEYSPHERE_USER" su_monkeysphere_user \
+           su_monkeysphere_user \
                ". ${SYSSHAREDIR}/common; process_authorized_user_ids $TMP_AUTHORIZED_USER_IDS" \
                || returnCode="$?"
        else