This commit is contained in:
milisarge 2017-06-11 23:49:54 +03:00
parent 6a62ca2d6a
commit c6d181ff32
1 changed files with 2 additions and 2 deletions

View File

@ -244,9 +244,9 @@ fi
;;
Xsession )
insert_header "XSESSION HATALARI:"
[ -f /root/.xsession-HATALARI ] && echo "Kullanıcı: root" >> $info && cat /root/.xsession-HATALARI >> $info
[ -f /root/.xsession-errors] && echo "Kullanıcı: root" >> $info && cat /root/.xsession-errors >> $info
for a in `grep -v "\!" /etc/shadow|cut -d':' -f1|sed 'root/d'`; do
[ -f /home/$a/.xsession-HATALARI ] && echo "Kullanıcı: $a" >> $info && cat /home/$a/.xsession-HATALARI >> $info
[ -f /home/$a/.xsession-errors ] && echo "Kullanıcı: $a" >> $info && cat /home/$a/.xsession-errors >> $info
done
;;
Syslog )