Changeset 81558
- Timestamp:
- 08/01/11 15:05:00 (4 years ago)
- Location:
- trunk/base
- Files:
-
- 2 edited
-
portmgr/dmg/postflight (modified) (1 diff)
-
src/port1.0/portutil.tcl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/base/portmgr/dmg/postflight
r81467 r81558 148 148 done 149 149 ${DSCL} -q . -create /Users/${RUNUSR} UniqueID $NEXTUID 150 151 # These are implicitly added on Mac OSX Lion. AuthenticationAuthority 152 # causes the user to be visible in the Users & Groups Preference Pane, 153 # and the others are just noise, so delete them. 154 # https://trac.macports.org/ticket/30168 155 ${DSCL} -q . -delete /Users/${RUNUSR} AuthenticationAuthority 156 ${DSCL} -q . -delete /Users/${RUNUSR} PasswordPolicyOptions 157 ${DSCL} -q . -delete /Users/${RUNUSR} dsAttrTypeNative:KerberosKeys 158 ${DSCL} -q . -delete /Users/${RUNUSR} dsAttrTypeNative:ShadowHashData 159 150 160 ${DSCL} -q . -create /Users/${RUNUSR} RealName MacPorts 151 161 ${DSCL} -q . -create /Users/${RUNUSR} Password \* -
trunk/base/src/port1.0/portutil.tcl
r81119 r81558 2097 2097 if {${os.platform} eq "darwin"} { 2098 2098 set dscl [findBinary dscl $portutil::autoconf::dscl_path] 2099 exec $dscl . -create /Users/${name} UniqueID ${uid} 2100 2101 # These are implicitly added on Mac OSX Lion. AuthenticationAuthority 2102 # causes the user to be visible in the Users & Groups Preference Pane, 2103 # and the others are just noise, so delete them. 2104 # https://trac.macports.org/ticket/30168 2105 exec $dscl . -delete /Users/${name} AuthenticationAuthority 2106 exec $dscl . -delete /Users/${name} PasswordPolicyOptions 2107 exec $dscl . -delete /Users/${name} dsAttrTypeNative:KerberosKeys 2108 exec $dscl . -delete /Users/${name} dsAttrTypeNative:ShadowHashData 2109 2110 exec $dscl . -create /Users/${name} RealName ${realname} 2099 2111 exec $dscl . -create /Users/${name} Password ${passwd} 2100 exec $dscl . -create /Users/${name} UniqueID ${uid}2101 2112 exec $dscl . -create /Users/${name} PrimaryGroupID ${gid} 2102 exec $dscl . -create /Users/${name} RealName ${realname}2103 2113 exec $dscl . -create /Users/${name} NFSHomeDirectory ${home} 2104 2114 exec $dscl . -create /Users/${name} UserShell ${shell}
Note: See TracChangeset
for help on using the changeset viewer.

