git://git.onelab.eu
/
bootcd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
less noide
[bootcd.git]
/
initscripts
/
pl_netinit
diff --git
a/initscripts/pl_netinit
b/initscripts/pl_netinit
index
b652674
..
8adf563
100755
(executable)
--- 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
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"
fi
echo "END post pl_netinit forensics"