On 02/08/2010 03:25 AM, Yaacov-Yoseph Weiss wrote: > Hi, > > There are two issues I found regarding the creation of the > lfs user (chapter 4.3). All cases are from opensuse hosts. > > > The second issue, is that I wasn't able to su or sudo into the new lfs user > without setting the lfs user's password. This issue may be self inflicted, > since it happened after I played around with the sudoers file, though I > think I left it in its original state, and I edited it with visudo. A google > search says the issue is somewhat common. > > It might be worth mentioning that some authentication configurations > may require that password be set for the lfs user, even if you su from > root. > I don't think this needs to have anything to do with the LFS book, since this a more general user/host system setup issue. Besides, the book does in fact already recommend setting a password for the lfs user anyway. > > A third suggestion I have, which has nothing to do with creating users, > would be to add the source directory as an environment parameter, > instead of assuming the sources are one directory above the build. > > The changes to the book would be adding the variable, and changing > the patch commands from 'patch<options> ../patch-name.patch' to > 'patch<options> $SRC_DIR/patch-name.patch'. (and the tar > commands in some of the gcc passes.) > > This would allow the sources to be in a read only directory (or device). > > --Yaacov
I don't believe this is needed, as anyone building LFS should know to change the commands appropriately if they do have a setup other than what's suggested in the book. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
