On Tue, Mar 21, 2006 at 08:10:00PM -0500, Bobby Brown wrote:

> Problem: After installing Shadow(v-4.0.9) /bin/su returns error
> "setgid:Operation not permitted". The /tools/bin/su still works

Hay, looks like we are just about on the same page.  I'm working my way
through building LFS 6.1.1 also.  The Package User install wrapper should
have taken care of any setuid and/or setgid problems.  

>    4. PATH = /bin:/usr/bin:/sbin:/usr/sbin:/tools/bin

That might be the problem.  A Package User's path should have
/usr/lib/pkgusr at the beginning of it.  With your path /usr/bin/install
would get invoked instead of the Package User install wrapper.

I hit a couple of snags installing Shadow that wasn't covered in the Package
User Hint.  I suspect they're due to differences between 6.1 and 6.1.1.  I
forget the exact details.  I think it was Shadow trying to install su on top
of CoreUtils's su.  Also, for some reason pwconv and grpconv didn't get
installed.  Correct your Package User's path and you should be able to get
past the setgid problem.  


Kevin
http://www.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to