Do Mac logon scripts run with root privileges or do then run as root?
The reason I am asking is I have managed to write a script that will map a student home directory but it depends on the users id. Obviously mapping the id root will cause problems
Thanks AndyCode:#!/bin/bash SERVER="CV0itsr003" SHARE="STUDENTDOCUMENTS\$" str="`id -u -n`" IDENT=${str%@*} echo $IDENT rm -d /Volumes/$IDENT mkdir /Volumes/$IDENT umount /Volumes/$IDENT mount -t cifs //$SERVER/$SHARE /Volumes/$IDENT ln -s /Volumes/$IDENT/$IDENT /Domain/cvs.lan/users/$IDENT/Desktop/MYDOCS


LinkBack URL
About LinkBacks





