On 3/22/06, Kevin Monceaux <[EMAIL PROTECTED]> wrote:
> 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 think the real problem is that /bin/su is owned by Shadow. It must be
owned by root, else the setuid flag is useless.
You have to do from root:
 chown root /bin/su
 chmod 4555 /bin/su
I don't think that the wrapper of install could do this automagically for you
because it is used by the user 'Shadow', not root.

--Luca
--
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