pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/user_darwin
Module Name: pkgsrc
Committed By: schmonz
Date: Mon Jan 16 19:55:39 UTC 2017
Modified Files:
pkgsrc/sysutils/user_darwin: Makefile
pkgsrc/sysutils/user_darwin/files: useradd.sh
Log Message:
In at least macOS Sierra (and perhaps earlier OS X versions), we need to
set "IsHidden" on new accounts to prevent them from showing up in the
Users & Groups Preference Pane the way normal interactive users would.
This change is probably backward-compatible all the way back to Tiger
(it doesn't break Tiger, sevan@ checked).
Bump version.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/sysutils/user_darwin/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/sysutils/user_darwin/files/useradd.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/sysutils/user_darwin/Makefile
diff -u pkgsrc/sysutils/user_darwin/Makefile:1.15 pkgsrc/sysutils/user_darwin/Makefile:1.16
--- pkgsrc/sysutils/user_darwin/Makefile:1.15 Thu Oct 29 12:29:04 2015
+++ pkgsrc/sysutils/user_darwin/Makefile Mon Jan 16 19:55:39 2017
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2015/10/29 12:29:04 jperkin Exp $
+# $NetBSD: Makefile,v 1.16 2017/01/16 19:55:39 schmonz Exp $
#
-DISTNAME= user-darwin-20151029
+DISTNAME= user-darwin-20170116
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty
Index: pkgsrc/sysutils/user_darwin/files/useradd.sh
diff -u pkgsrc/sysutils/user_darwin/files/useradd.sh:1.6 pkgsrc/sysutils/user_darwin/files/useradd.sh:1.7
--- pkgsrc/sysutils/user_darwin/files/useradd.sh:1.6 Thu Oct 29 12:29:04 2015
+++ pkgsrc/sysutils/user_darwin/files/useradd.sh Mon Jan 16 19:55:39 2017
@@ -98,6 +98,7 @@ else
dscl . -create /users/$user Comment "$comment"
dscl . -delete /users/$user AuthenticationAuthority
dscl . -create /users/$user Password '*'
+ dscl . -create /users/$user IsHidden 1
fi
if ! nireport . /users/uid=$uid uid 2>/dev/null && \
Home |
Main Index |
Thread Index |
Old Index