Errata

Linux Server Hacks, Volume Two

Errata for Linux Server Hacks, Volume Two

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed Page 2


In tip #1 "Disable User Accounts Instantly," there is an omission. If a user has a ~/.ssh/authorized_keys file containing a valid key, putting "*" in their password entry will keep them from logging in with a password, but (depending on how sshd is configured) they will still be able to log in to their account via ssh.

Anonymous  Feb 09, 2010 
Printed Page 4
last line

There's no `-l' option in ldappasswd (2.3.30).

Anonymous   
Printed Page 7
middle

No additional `nologin.txt' file is needed. The content of /etc/nologin is displayed.

Anonymous   
Printed Page 168-169
In text source and txt2man output for cleangroup script

The SYNOPSIS, LOGNAME, and AUTHOR sections differ between the original text input on
page 168 and the txt2man output on page 169.

The SYNOPSIS on page 168 reads:

/usr/local/adm/bin/cleangroup groupfile

The SYNOPSIS on page 169 reads:

/var/local/adm/bin/beta/cleangroup groupfile

The LOGNAME section (under ENVIRONMENT) on page 168 reads:

You need to be root on the YP master to run this script successfully.

The LOGNAME section on page 169 reads:

You need to be root on nexus to run this script successfully.

The AUTHOR section on page 168 reads:

Brian Jones jonesy@linuxlaboratory.org

The AUTHOR section on page 169 reads:

Brian Jones jonesy@cs.princeton.edu

Anonymous   
Printed Page 351
2nd Paragraph

I believe that the item in parenthesis in the first sentence
(you can check the sysctl -a output to determine an attributes ID).
Should read
(You can the check the smartctl -a output to determine an attributes ID).

Anonymous   
Printed Page 374
1st paragraph

"We'd then change the port to 22 since we're interested in FTP traffic"
should be
"...change the port to 21..."

Anonymous   
Printed Page 404
1st tip

Tip says to execute "cut lproc /partitions command".
Perhaps it should say "cat /proc/partitions", since "partitions" is under "/proc" not "/", and "lproc" does not constitute a set of valid flags for "cut".

Anonymous   
Printed Page 438
last paragraph (and on errata web page)

"who hacked in here and and what did they change/"

WHICH NOW READS: (ERRATA PAGE)
"who hacked in here and and what did they change?"

SHOULD READ:
"who hacked in here and what did they change?"

Anonymous  Jan 31, 2013