Customer Review

12 of 13 people found the following review helpful
4.0 out of 5 stars A very good book with a few mistakes, 7 Nov. 2011
By 
Verified Purchase(What is this?)
This review is from: RHCSA/RHCE Red Hat Linux Certification Study Guide (Exams EX200 & EX300), 6th Edition (Certification Press) (Paperback)
I've over 14 yrs. Linux sys-admin experience and decided to take the exam. So, bought this book to prepare for RHSCA/RHCE exam and found it's very good as study material and also as reference. It seems to be a must-have one for the RHSCA/RHCE candidate, even for a experienced one. However, the included PDF version is bit different form the original book for a few chapters, and there quite a few serious ones. I haven't finished reading the book yet but beware of page 51, 06-ch06.pdf, where it describes how to auto-mount an encrypted LUKS filesystem - if you do that you'll end up with a non-bootable system. After adding the "/etc/fstab" entry (and of course before [re]booting), you need to put this in to the "/etc/crypttab":

< encrypted block device > < path/to/the/actual/device > < password OR none > [list of options]

So, if "/dev/mapper/test-crypt" is the name of the resulting encrypted block device and "/dev/sdb1" is the path to the actual device, the entry should be:

test-crypt /dev/sdb1 none

It'll ask for the LUKS password during boot. For the password less booting, you need to put the password in a file like this:

# touch /root/luks.key && chmod 600 /root/luks.key
# cryptsetup luksAddKey /dev/sdb1 /root/luks.key
# echo "test-crypt /dev/sdb1 /root/luks.key" > /etc/crypttab

(The path and the name of the key file could be anything of your choice but should be matched in every entry).
The "/etc/crypttab" is actually mentioned in the book, page 381, but with some what misleading information. "<directory name w/o slash>" is wrong interpretation, according to the man page.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Be the first person to comment on this review.

[Add comment]
Post a comment
To insert a product link use the format: [[ASIN:ASIN product-title]] (What's this?)
Amazon will display this name with all your submissions, including reviews and discussion posts. (Learn more)
Name:
Badge:
This badge will be assigned to you and will appear along with your name.
There was an error. Please try again.
Please see the full guidelines ">here.

Official Comment

As a representative of this product you can post one Official Comment on this review. It will appear immediately below the review wherever it is displayed.   Learn more
The following name and badge will be shown with this comment:
 (edit name)
After clicking on the Post button you will be asked to create your public name, which will be shown with all your contributions.

Is this your product?

If you are the author, artist, manufacturer or an official representative of this product, you can post an Official Comment on this review. It will appear immediately below the review wherever it is displayed.  Learn more
Otherwise, you can still post a regular comment on this review.

Is this your product?

If you are the author, artist, manufacturer or an official representative of this product, you can post an Official Comment on this review. It will appear immediately below the review wherever it is displayed.   Learn more
 
System timed out

We were unable to verify whether you represent the product. Please try again later, or retry now. Otherwise you can post a regular comment.

Since you previously posted an Official Comment, this comment will appear in the comment section below. You also have the option to edit your Official Comment.   Learn more
The maximum number of Official Comments have been posted. This comment will appear in the comment section below.   Learn more
Prompts for sign-in
 


Review Details

Item

Reviewer

S. Das
(REAL NAME)   

Location: Lodon, UK

Top Reviewer Ranking: 6,637,740