On Friday, June 13, 2014 11:46:21 PM Armin K. wrote: > On 06/13/2014 09:34 PM, Dan McGhee wrote: > > Getting ready to build LFS-7.5 and want to "head off" some situations > > before I begin. Somewhere in my last {,B}LFS build, I lost--or never > > had--the ability to run "su" or "su -" Yes, I have sudo, but I use the > > Package Users--I know, I know--System and need "su." I have PAM > > installed currently and used Christopher Gregory's solution, documented > > on a recent post to "blfs-dev" and copied /etc/pam.d/su to > > /etc/pam.d/su-1. This did not solve the situation. > > > > Here is the result of running > > > >> -rwxr-xr-x 1 shadow-4.1.5.1 shadow-4.1.5.1 135159 Dec 11 2013 su > > > > Does "su" need to be owned by root or run suid to work? Do the files in > > /etc/pam.d need to be owned by root? > > > > I know that PAM is a BLFS thing and I've never used it before my last > > build. Needed it to satisfy dependencies for BLFS packages that I > > wanted to use. > > > > Thanks, > > Dan > > I don't really know what are you pointing at. Shadow will install "su" > binary without PAM at all. You won't have any "su" executable in /tools > though since no package installs it anymore. You could try and install > shadow in there if you really need it, but imho, package users is really > terrible packaging method. I think Fernando uses paco or something like > that, and that sounds more elegant to me.
I use rpm as a package manager and it works well. I build it into /tools and then use spec files for the chapter-6 and later builds. -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page