X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=initscripts%2Fpl_netinit;h=8adf563373ae38489d4c0a12a6039b2292048add;hb=c6e4ceb4418b5dd0924d55949b41804d2e4dc035;hp=a134d88cdea4161ee196011da11ca74d9635ac55;hpb=b6a84659f3d6fe24157333ab5e336125c9ae2373;p=bootcd.git diff --git a/initscripts/pl_netinit b/initscripts/pl_netinit index a134d88..8adf563 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|Root' $file + grep -v '^#' $file | egrep 'Pass|Auth|PAM|Root' +fi + +echo "END post pl_netinit forensics"