summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2015-10-29 12:29:04 +0000
committerjperkin <jperkin@pkgsrc.org>2015-10-29 12:29:04 +0000
commit92837987caddcfc3dbed3995b49e3b532ef34942 (patch)
treecd3d2e60c39782f97f05ac976101c50e6e407d3d /sysutils
parent51798380faf6f5404d42525917f5c617a9d1d11d (diff)
downloadpkgsrc-92837987caddcfc3dbed3995b49e3b532ef34942.tar.gz
Update user-darwin to version 20151029.
Delete the AuthenticationAuthority property prior to creating the null password entry. This prevents the user from showing up in the login window and fast user switching on newer Darwin releases.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/user_darwin/Makefile4
-rwxr-xr-xsysutils/user_darwin/files/useradd.sh1
2 files changed, 3 insertions, 2 deletions
diff --git a/sysutils/user_darwin/Makefile b/sysutils/user_darwin/Makefile
index c243f0cd75e..e50890f05ff 100644
--- a/sysutils/user_darwin/Makefile
+++ b/sysutils/user_darwin/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2015/10/15 10:40:52 jperkin Exp $
+# $NetBSD: Makefile,v 1.15 2015/10/29 12:29:04 jperkin Exp $
#
-DISTNAME= user-darwin-20151015
+DISTNAME= user-darwin-20151029
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/sysutils/user_darwin/files/useradd.sh b/sysutils/user_darwin/files/useradd.sh
index de6a0b7ba08..b7a9a0aff54 100755
--- a/sysutils/user_darwin/files/useradd.sh
+++ b/sysutils/user_darwin/files/useradd.sh
@@ -96,6 +96,7 @@ else
dscl . -create /users/$user NFSHomeDirectory "$homedir"
dscl . -create /users/$user UserShell "$shell"
dscl . -create /users/$user Comment "$comment"
+ dscl . -delete /users/$user AuthenticationAuthority
dscl . -create /users/$user Password '*'
fi