Bug 603747 - error in section 2.2. Server Security
Summary: error in section 2.2. Server Security
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: doc-Security_Guide
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Scott Radvan
QA Contact:
Keywords: Documentation, Reopened
Depends On:
Blocks: 547583
TreeView+ depends on / blocked
Reported: 2010-06-14 13:30 UTC by Karel Srot
Modified: 2015-04-07 03:19 UTC (History)
2 users (show)

Clone Of:
Last Closed: 2010-08-22 10:23:17 UTC

Attachments (Terms of Use)

Description Karel Srot 2010-06-14 13:30:42 UTC
Description of problem:

1. section TCP Wrappers and Attack Warnings
instead of a command
'ALL : : spawn /bin/ 'date' %c %d >> /var/log/intruder_alert'
there should be probably
'ALL : : spawn /bin/echo `date` %c %d >> /var/log/intruder_alert'
'ALL : : spawn /bin/echo `/bin/date` %c %d >> /var/log/intruder_alert'

2. section 2.2.8. Verifying Which Ports Are Listening
The text contains:

cat /etc/services | grep 834  (command)
This command returns no output...

Probably there should be something like
This command returns no output related to the port 834. (Since there are lines found which are related to ports 1834, 2834 and 3834)

Version-Release number of selected component (if applicable):
Red Hat Enterprise Linux 6
Security Guide
A Guide to Securing Red Hat Enterprise Linux
Edition 1.5

Comment 1 RHEL Product and Program Management 2010-06-14 13:43:00 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for

Comment 2 Scott Radvan 2010-06-14 21:59:06 UTC
fixed in source, will appear on redhat.com when next published - thanks!

Comment 3 Zbysek MRAZ 2010-08-13 11:39:35 UTC
I went thru the online Security Guide Edition 1.5 today and found following problems:

Old fixes:
1. section TCP Wrappers and Attack Warnings
There is still '' instead of `` within the example:
ALL : : spawn /bin/echo 'date' %c %d >> /var/log/intruder_alert 
So the output will look like 
date sshd
instead of
Fri Aug 13 10:25:29 CEST 2010 sshd

New problems I found:
section Protect portmap With iptables

In the example
iptables -A INPUT -p tcp -s! --dport 111 -j DROP
the system will warn about obsoleteness 
please use
iptables -A INPUT -p tcp ! -s --dport 111 -j DROP
as well as in the next example where will be:
iptables -A INPUT -p udp ! -s  --dport 111 -j DROP

2, section Restricting User Accounts
To disable specific user accounts in vsftpd, add the username to /etc/vsftpd.ftpusers

This file does not exist and default pam configuration points to /etc/vsftpd/ftpusers file. So the correct one to mention is /etc/vsftpd/ftpusers

Please take a look at it.

Note You need to log in before you can comment on or make changes to this bug.