06.12.2012 Aufrufe

Technische Dokumentation zum Unix-Verbund ... - Dr. Hubert Feyrer

Technische Dokumentation zum Unix-Verbund ... - Dr. Hubert Feyrer

Technische Dokumentation zum Unix-Verbund ... - Dr. Hubert Feyrer

MEHR ANZEIGEN
WENIGER ANZEIGEN

Erfolgreiche ePaper selbst erstellen

Machen Sie aus Ihren PDF Publikationen ein blätterbares Flipbook mit unserer einzigartigen Google optimierten e-Paper Software.

B.31 Monitoring/launcher.pl 324<br />

}<br />

print REPORT "\n";<br />

}<br />

unlink "daily-report.$REPORT.$$";<br />

###########################################################################<br />

sub report_df<br />

{<br />

print REPORT "############################################",<br />

"###############################\n";<br />

print REPORT "############################################",<br />

"###############################\n";<br />

print REPORT "###\n";<br />

print REPORT "###\n";<br />

print REPORT "### Belegung Root-Filesystem (du -k /)\n";<br />

print REPORT "###\n";<br />

print REPORT "###\n";<br />

print REPORT "Host kbytes used avail capacity Mounted on\n";<br />

open(IN,"sort $TMPDIR/$prefix.df|") || die;<br />

while(){<br />

print REPORT $_;<br />

}<br />

close(IN);<br />

print REPORT "\n";<br />

print REPORT "\n";<br />

}<br />

###########################################################################<br />

sub report_perms<br />

{<br />

open(TMPREPORT, ">daily-report.$REPORT.$$") or die;<br />

# rfhs8012 (ssh rfhs8012 /soft/bin/perl5 < mksecuritysignature)<br />

$perms{"rfhs8012 /etc/passwd"} = "448735344 -rw-r--r-- root sys";<br />

$perms{"rfhs8012 /etc/group"} = "3289002030 -rw-r--r-- root sys";<br />

$perms{"rfhs8012 /etc/shadow"} = "2163032732 -r-------- root sys";<br />

$perms{"rfhs8012 /etc/inetd.conf"} = "4011404607 -rw-r--r-- root other";<br />

$perms{"rfhs8012 /root/.rhosts"} = "4294967295 -rw------- root other";<br />

$perms{"rfhs8012 /root/.ssh/authorized_keys"} = "174866321 -rw------- root other";<br />

$perms{"rfhs8012 /root/.ssh/authorized_keys2"} = "1768930165 -rw-r--r-- root other";<br />

# delphi (ssh delphi /soft/bin/perl5 < mksecuritysignature)<br />

$perms{"rfhpc8317 /etc/passwd"} = "1323218279 -r--r--r-- root sys";<br />

$perms{"rfhpc8317 /etc/group"} = "1127466945 -rw-r--r-- root sys";<br />

$perms{"rfhpc8317 /etc/shadow"} = "2243804910 -r-------- root sys";<br />

$perms{"rfhpc8317 /etc/inetd.conf"} = "2679348089 -r--r--r-- root sys";<br />

$perms{"rfhpc8317 /root/.rhosts"} = " ";<br />

$perms{"rfhpc8317 /root/.ssh/authorized_keys"} = "3139843058 -rw------- root other";<br />

$perms{"rfhpc8317 /root/.ssh/authorized_keys2"} = "1768930165 -rw-r--r-- root other";<br />

$perms{"rfhpc8317 /root/.rhosts"} = "4294967295 -rw------- root other";<br />

# pcschuster: ssh pcschuster /soft/bin/perl < mksecuritysignature<br />

$perms{"pcschuster /etc/passwd"} = "1476238359 -rw-r--r-- root wheel";<br />

$perms{"pcschuster /etc/group"} = "3259879957 -rw-r--r-- root wheel";<br />

$perms{"pcschuster /etc/inetd.conf"} = "607567665 -rw-r--r-- root wheel";<br />

$perms{"pcschuster /root/.rhosts"} = "4294967295 -rw------- root wheel";<br />

$perms{"pcschuster /root/.ssh/authorized_keys"} = "3139843058 -rw-r--r-- root wheel";<br />

$perms{"pcschuster /root/.ssh/authorized_keys2"} = "1768930165 -rw-r--r-- root wheel";<br />

$perms{"pcschuster /etc/master.passwd"} = "3906944461 -rw------- root wheel";<br />

$perms{"pcschuster /etc/pwd.db"} = "1707376108 -rw-r--r-- root wheel";<br />

$perms{"pcschuster /etc/spwd.db"} = "3053495885 -rw------- root wheel";<br />

# sunsauer (ssh sunsauer /soft/bin/perl5 < mksecuritysignature)<br />

$perms{"sunsauer /etc/passwd"} = "2200727203 -rw-r--r-- root sys";<br />

$perms{"sunsauer /etc/group"} = "1127466945 -rw-r--r-- root sys";<br />

$perms{"sunsauer /etc/shadow"} = "1711703122 -r-------- root sys";<br />

$perms{"sunsauer /etc/inetd.conf"} = "2190305100 -r--r--r-- root sys";<br />

$perms{"sunsauer /root/.ssh/authorized_keys"} = "3139843058 -rw------- root other";<br />

$perms{"sunsauer /root/.ssh/authorized_keys2"} = "1768930165 -rw-r--r-- root other";<br />

(c) 1996-2003 <strong>Hubert</strong> <strong>Feyrer</strong> Stand: 21. Oktober 2003

Hurra! Ihre Datei wurde hochgeladen und ist bereit für die Veröffentlichung.

Erfolgreich gespeichert!

Leider ist etwas schief gelaufen!