In various places the LFS and BLFS books state that it's generally recommended to compile packages as an unprivileged user, then become the root user when installing the software (e.g. BLFS book, ch. 2, Notes on Building Software). When switching to root, should this be done with a login shell or non-login shell? I.e.:

su root
or
su - root (or su --login root)

Further on in BLFS, "sudo" is installed, so I suppose that would be appropriate to use.

Alan
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to