################################################################ # # cf.users - for iu.hioslo.no # # This file contains user specific actions # ################################################################# ### # # BEGIN cf.users # ### control: excludecopy = ( *.EXE *.avi *.ZIP *.AVI *.MP3 *.mp3 *.o *.dvi *.rar *.au *.WAV *.mov *.MOV *.zip *.tar* core a.out *.au *.wav .* *.exe *.tgz nystat-* acr-* DOC *.class *.dll *.avi *.ttf *.pcf *.dll *.DLL *.lnk ) ignore: robot TT_DB dl download tidy: nexus.Hr00.OnTheHour|emergency:: # # Tidy up users' home dirs # # home pat=.rhosts age=0 # Security home pat=core r=inf age=0 home pat=a.out r=inf age=1 home p=*% r=inf age=2 home p=*~ r=inf age=2 home p=#* r=inf age=1 home p=*.dvi r=inf age=14 type=ctime home p=*.log r=inf age=2 home p=Log.* r=inf age=3 home p=*.EXE r=inf age=1 home p=*.exe r=inf age=1 home p=BAK r=inf age=1 home p=log r=inf age=0 home p=*.o r=inf age=2 home p=*.aux r=inf age=3 home p=*.zip r=inf age=7 home p=*.mp3 r=inf age=2 home p=*.dll r=inf age=2 home/.deleted p=* r=inf age=0 home/.wastebacket p=* r=inf age=14 home/www p=*~ r=inf age=1 home/Desktop/Trash p=* r=inf age=14 # # Clear the big cache files netscape creates # home/.netscape-cache p=cache????* r=inf age=0 home/.MCOM-cache p=cache????* r=inf age=0 home/.netscape/cache p=* r=inf age=0 dax.Hr06.OnTheHour:: /iu/dax/backup* p=* r=inf age=15 ################################################################# files: AllHomeServers.Rest.Hr01:: # # Check users files are not writable to the world # and there are no stale links (pointing nowhere) # home mode=o-w recurse=inf action=fixall ignore=www links=tidy # home/.xsession mode=755 action=fixall home/.cshrc mode=755 action=fixall nexus.Hr01.OnTheHour:: /iu/nexus/ua/ulfu/www m=+644 recurse=inf action=fixall /iu/nexus/ua/www/www g=www m=664 r=inf action=fixall ignore=cgi-bin-public /iu/nexus/ua/www/cgi-bin-public m=775 r=inf g=www action=fixall ################################################################# copy: Hr00.OnTheHour:: # # Make sure each user has an up to date standard # setup. Cshrc just sources in a big standard file # which is kept in ~user/../.setupfiles/cshrc # to reduce disk wastage # $(masterfiles)/lib/Cshrc dest=home/.cshrc $(masterfiles)/lib/tkgrc dest=home/.tkgrc $(masterfiles)/lib/fvwm2rc dest=home/.fvwm2rc # # No longer dist this # # $(masterfiles)/lib/xsession dest=home/.xsession mode=755 # # Do a backup of the user disks, excluding crap # dax.Hr21.OnTheHour:: /iu/nexus/u1 dest=/iu/dax/backup3/u1 r=inf size=<4mb backup=false server=nexus action=silent ignore=WIN95 /iu/nexus/u2 dest=/iu/dax/backup3/u2 r=inf size=<4mb backup=false server=nexus action=silent ignore=WIN95 /iu/nexus/u3 dest=/iu/dax/backup3/u3 r=inf size=<4mb backup=false server=nexus action=silent ignore=WIN95 /iu/nexus/u4 dest=/iu/dax/backup3/u4 r=inf size=<4mb backup=false server=nexus action=silent ignore=WIN95 dax.Hr23.OnTheHour:: /iu/nexus/ud dest=/iu/dax/backup3/ud r=inf size=<4mb backup=false action=silent server=nexus exclude=.* /iu/nexus/ua dest=/iu/dax/backup3/ua r=inf size=<4mb backup=false action=silent server=nexus exclude=.* /iu/nexus/ud/mark/www dest=/iu/dax/backup1/mark-www r=inf backup=false action=silent server=nexus exclude=.* ### # # END cf.users # ###