summaryrefslogtreecommitdiff
path: root/src/share/ma
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@finestructure.net>2009-04-06 22:40:08 -0700
committerJameson Graef Rollins <jrollins@finestructure.net>2009-04-06 22:40:08 -0700
commitc514677a32ef4a3264898a389902ac973ebc3507 (patch)
tree9ec3e4bd115ec6eec30706a069a8314bc6f11d44 /src/share/ma
parent802c21de824309c1e704f172b12bf46bf5d86e7c (diff)
Add two new compatibility functions:
- list_user to list all users on the system - get_homedir to return the path to a users home directory These functions should provide compatibility on linux, FreeBSD and Darwin systems.
Diffstat (limited to 'src/share/ma')
-rw-r--r--src/share/ma/update_users2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/ma/update_users b/src/share/ma/update_users
index 3a5c006..c5c74cf 100644
--- a/src/share/ma/update_users
+++ b/src/share/ma/update_users
@@ -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