X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=initscripts%2Fpl_netinit;fp=initscripts%2Fpl_netinit;h=8adf563373ae38489d4c0a12a6039b2292048add;hb=c6e4ceb4418b5dd0924d55949b41804d2e4dc035;hp=b652674e8431cf80894f280a02f8d274593e9510;hpb=db0f54cc6f8db11d57102ae553e758721e6d1b4f;p=bootcd.git diff --git a/initscripts/pl_netinit b/initscripts/pl_netinit index b652674..8adf563 100755 --- a/initscripts/pl_netinit +++ b/initscripts/pl_netinit @@ -365,8 +365,8 @@ file="/etc/ssh/sshd_config" if ! [ -f "$file" ]; then echo "!!!!!!!!!! missing $file" else - echo '---------- egrep Pass|Auth|PAM' $file - egrep 'Pass|Auth|PAM' $file + echo '---------- egrep Pass|Auth|PAM|Root' $file + grep -v '^#' $file | egrep 'Pass|Auth|PAM|Root' fi echo "END post pl_netinit forensics"