Hi I tried it and it makes sense but the script does not quite work yet , a bit of progress has been made at this link.
http://discussions.info.apple.com/we...736.689d315b/3
My script currently looks like this
#!/bin/sh
#
CURRUSER=`whoami`
ADMINGROUP=`groups | egrep -c admin`
if [ "$ADMINGROUP" > 0 ]
then
exit 1
fi
mkdir -p /Users/Shared/$CURRUSER
mkdir -p /Users/Shared/$CURRUSER/Movies
mkdir -p /Users/Shared/$CURRUSER/Music
mkdir -p /Users/Shared/$CURRUSER/Music/iTunes
mkdir -p /Users/Shared/$CURRUSER/Music/GarageBand
rm -R ~/Movies
rm -R ~/Music
ln -s /Users/Shared/$CURRUSER/Movies ~/Movies
ln -s /Users/Shared/$CURRUSER/Music ~/Music
I will add the chown part but it still needs something to create the $CURRUSER directories rather than roots . This last sentence makes sense if you read the input at the link above.