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 | d6dd555fcb5ae168025dedc8950f40895858cf90 (patch) | |
tree | cf3fbb051d1b5eda7daf9ccdcc7b68e41bd33ba3 /sysutils | |
parent | c45e2cd34af450ab94d888efdc32b7503a21b8f8 (diff) | |
download | pkgsrc-d6dd555fcb5ae168025dedc8950f40895858cf90.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')
-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 && \ |