|
Hello all, I'm trying to add some automation into my login script so that instead of having to create a home folder and profile folder manually, kix will check and autocreate if required. This is what I have so far, I'm creating the home folder but not the permissions. Any help to poing me in the right direction would be appreciated.
;File Server $FileServ = "servername" ;Root location of home folders $Home = "\\" + $FileServ + "home" ;Root location of profiles folders $Profile = "\\" + $FileServ + "profiles" ;Location of XCALS $XCALS = " + @ldrive + " If not exist ("\\" + $FileServ + "\home\" + @userid) md ("\\" + $FileServ + "\home\" + @userid) Shell $XCALS+'\xcacls.exe '"+$Home+" /T /g "Administrators":f '+@userid+':f "SYSTEM":f /Y' Else Endif
Edited by BarryWhite (2006-01-06 03:14 PM)
|