RCS file: /Volumes/src/cvs/od/proj/darwinports/base/src/port1.0/portutil.tcl,v
retrieving revision 1.171
diff -u -r1.171 portutil.tcl
|
|
|
1096 | 1096 | } |
1097 | 1097 | |
1098 | 1098 | if {${os.platform} == "darwin"} { |
| 1099 | # We might consider changing this code to use nicl or dscl in batch mode |
1099 | 1100 | system "niutil -create . /users/${name}" |
1100 | 1101 | system "niutil -createprop . /users/${name} name ${name}" |
1101 | 1102 | system "niutil -createprop . /users/${name} passwd ${passwd}" |
… |
… |
|
1104 | 1105 | system "niutil -createprop . /users/${name} realname ${realname}" |
1105 | 1106 | system "niutil -createprop . /users/${name} home ${home}" |
1106 | 1107 | system "niutil -createprop . /users/${name} shell ${shell}" |
| 1108 | system "niutil -createprop . /users/${name} AuthenticationAuthority ;ShadowHash;" |
1107 | 1109 | } else { |
1108 | 1110 | # XXX adduser is only available for darwin, add more support here |
1109 | 1111 | ui_warn "WARNING: adduser is not implemented on ${os.platform}." |