[lfs-support] Getting <su> in Chapter 5 [SOLVED]

Dan McGhee beesnees at grm.net
Tue Oct 8 09:53:45 PDT 2013


On 10/08/2013 11:33 AM, Bruce Dubbs wrote:
> I don't use the pkgusr technique. I just use jhalfs. That said, I 
> think I'd install sudo from blfs just before chapter 6 for doing what 
> you want. The syntax is easier and it can be set to not request a 
> password. To use it, you would need to wait until after section 6.6. 
> -- Bruce 
Thanks, Bruce. It's been three years since I've done any of this, and 
the whole thing involves a lot of "memory refreshment." In fact, in the 
last build I did, coreutils supplied su. So....

As far as using 'root' in pgkusers, there are two things:

1. ldcong
2. the commands in Ch. 6 that must be run as root.

This all goes away after the shadow install and currently package user's 
scripts have one that works around needing to be root to use ldconfig. 
I've not tried it yet.

AND, I never considered sudo until Ken mentioned it earlier.

It's going to be a day or two until I get to CH. 6, but I'll see what 
the "easiest" approach will be. This AM, I used the copying method you 
suggested, but su needed a password and "crypt" killed the process. 
Probably because I'm still using the host system. Maybe things will be 
different after CHROOT. We'll see.

Thanks again.

Dan




More information about the lfs-support mailing list