home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OpenStep 4.2
/
Openstep-4.2-Intel-User.iso
/
Upgrader.app
/
Default.upgrade
/
FixUsers
next >
Wrap
Text File
|
1994-09-01
|
632b
|
24 lines
#!/bin/csh -f
#
# Called by Upgrader post-processing script. Takes user names on
# standard input and creates info directories for them. The single
# argument is the tag of a domain on the local machine in which to
# create the directories.
set tag = $1
set nusers = 0
while (1)
set user = $<
if ($user == "") then
echo $nusers
exit 0
endif
niutil -list -t localhost/${tag} /users/${user}/info >& /dev/null
if ($status != 0) then
niutil -create -t localhost/${tag} /users/${user}/info
niutil -createprop -t localhost/${tag} /users/${user}/info _writers ${user}
endif
@ nusers = $nusers + 1
end