Advertisement
Advertisement
| 07.08.2008 at 02:43AM PDT, ID: 23545943 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: |
localroot="root" if [ $USER != $localroot ] then date echo " ---Not root" >>/dev/null echo " ---`date` Not root" >>/var/log/login.log if [ ! -d /home/$USER/.mplayer ] then echo " ---setting up mplayer PostLogin to /home/$USER" >>/var/log/login.log `/bin/cp -Rd /etc/skel/.mplayer /home/$USER/` `/bin/chown -R $USER /home/$USER/.mplayer` fi if [ ! -d /home/$USER/.mozilla ] then echo " ---setting up mozilla PostLogin to /home/$USER" >>/var/log/login.log `/bin/cp -Rd /etc/skel/.mozilla /home/$USER/` `/bin/chown -R $USER /home/$USER/.mozilla` fi else echo " --- ROOT user" >>/dev/null fi exit 0 |