Skip to content

Commit c6e4ceb

Browse files
committed
less noide
1 parent db0f54c commit c6e4ceb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

initscripts/pl_netinit

+2-2
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,8 @@ file="/etc/ssh/sshd_config"
365365
if ! [ -f "$file" ]; then
366366
echo "!!!!!!!!!! missing $file"
367367
else
368-
echo '---------- egrep Pass|Auth|PAM' $file
369-
egrep 'Pass|Auth|PAM' $file
368+
echo '---------- egrep Pass|Auth|PAM|Root' $file
369+
grep -v '^#' $file | egrep 'Pass|Auth|PAM|Root'
370370
fi
371371

372372
echo "END post pl_netinit forensics"

0 commit comments

Comments
 (0)