X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=initscripts%2Fpl_netinit;fp=initscripts%2Fpl_netinit;h=b652674e8431cf80894f280a02f8d274593e9510;hb=bc41f5d2730be50cd9ba29d4b7ba028ae8f972db;hp=a134d88cdea4161ee196011da11ca74d9635ac55;hpb=609d1bc74e0fa549d71b858480dd1d04e862ae17;p=bootcd.git diff --git a/initscripts/pl_netinit b/initscripts/pl_netinit index a134d88..b652674 100755 --- a/initscripts/pl_netinit +++ b/initscripts/pl_netinit @@ -349,3 +349,24 @@ echo $(date "+%H:%M:%S") " pl_netinit: attempting to start networking" /sbin/ifconfig $ETH_DEVICE > $IFCONFIG_OUTPUT echo $(date "+%H:%M:%S") " pl_netinit: network online" + +echo "BEG post pl_netinit forensics" + +file=/root/.ssh/authorized_keys +echo "$file" +if ! [ -f "$file" ]; then + echo "!!!!!!!!!! missing $file" +else + echo "---------- $file" + cat $file +fi + +file="/etc/ssh/sshd_config" +if ! [ -f "$file" ]; then + echo "!!!!!!!!!! missing $file" +else + echo '---------- egrep Pass|Auth|PAM' $file + egrep 'Pass|Auth|PAM' $file +fi + +echo "END post pl_netinit forensics"