diff options
author | obache <obache@pkgsrc.org> | 2010-12-23 12:44:46 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2010-12-23 12:44:46 +0000 |
commit | d16d14aeb84e6b6fe4321c260884e25239f4e00b (patch) | |
tree | cf3fbb051d1b5eda7daf9ccdcc7b68e41bd33ba3 /sysutils/user_darwin | |
parent | a7ad730b6d630eb8f196b2e66e14af4a1497f55e (diff) | |
download | pkgsrc-d16d14aeb84e6b6fe4321c260884e25239f4e00b.tar.gz |
Update user_darwin to 20101223.
Exactly set '*' as "Password" for created user to hide the user from login list.
approved by sketch@ in pkgsrc-users@.
Diffstat (limited to 'sysutils/user_darwin')
-rw-r--r-- | sysutils/user_darwin/Makefile | 4 | ||||
-rwxr-xr-x | sysutils/user_darwin/files/useradd.sh | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sysutils/user_darwin/Makefile b/sysutils/user_darwin/Makefile index f54442ca50f..d32478e2071 100644 --- a/sysutils/user_darwin/Makefile +++ b/sysutils/user_darwin/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.9 2010/01/27 20:30:24 joerg Exp $ +# $NetBSD: Makefile,v 1.10 2010/12/23 12:44:46 obache Exp $ # -DISTNAME= user-20071026 +DISTNAME= user-20101223 CATEGORIES= sysutils MASTER_SITES= # empty DISTFILES= # empty diff --git a/sysutils/user_darwin/files/useradd.sh b/sysutils/user_darwin/files/useradd.sh index ef77d275777..2f3bd9087cc 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 . -create /users/$user Password '*' fi if ! nireport . /users/uid=$uid uid 2>/dev/null && \ |