Matthew Burgess schrieb:
> Martin Ereth wrote:
> 
>> 2) As a not that experienced user you would install (make install)
>> every package you
>> compiled as root. So you have to get problems when you do this
>> installing the
>> temporary system (chapter 5) later on. Maybe you can add a explicit
>> note (like in
>> chapter 5.32) that every command if not specified otherwise should be
>> issued as lfs.
> 
> I don't understand.  You want a note added, but point to the one that's
> in 5.32.  Where do you want another note added, and why?

Ok. I'm sorry. I am going to try to describe it more exactly. When you normally
compile and install a package, you execute ./configure and make as an 
unprivileged
user. The make install is executed as root.
When building the temporary system, every command should be executed as lfs,I 
found
out the hard way. A note, that "every command should be executed as user lfs if 
not
specified otherwise" would be the thing I thought about. I thing the note will 
be
placed well in chapter 4.3 after the 'su' to lfs. The text can be - slightly 
adapted -
the text of the note in 5.32.

>> 4) I know that you can use many different separators for sed, but a
>> clear line would
>> be more uniform. One sed uses the / the next uses the @, the next uses
>> the \ as
>> separator. Maybe it is possible to use everywhere the same one.
> 
> The '/' character is the commonly used separator.  Where we edit
> pathnames that obviously won't work without escaping it, so we use '@'
> instead.  The '\' is never used as a separator; it's the escape character.

Ok. I'm sorry. But why don't we use @'s everywhere?

> 
>> 11) 6.50.2 (configuring shadow): I issued pwconv, it exits without an
>> error. But when
>> I execute passwd, I get "Enter the new password (minimum of 5, maximum
>> of 8
>> characters)". But setting a password with more than 8 characters is no
>> problem. Why is
>>  the output of passwd wrong?
> 
> That appears to have been fixed in more recent versions of shadow.  I get:

Which version do you have installed?

> Enter the new password (minimum of 5, maximum of 127 characters)

Did you use the cracklib-support?

What about the sed command in the shadow-chapter (6.50.2)?

There is sed -e'[EMAIL PROTECTED]@MD5_CRYPT_ENAB yes@' ...
Why is there the dot between MD5_CRYPT_ENAB and no? Maybe it works with the 
dot, but
why isn't there the exact character, a space? I looked in my /etc/login.defs and
MD5_CRYPT_ENAB was set to no! I'm sure I executed the command correctly!
Now it works!

Thanks for your work
Martin
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to