On Wed, Mar 22, 2006 at 10:48:09AM +0100, Luca Dionisi wrote: > 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.
The install wrapper can't change the ownership of a file or change the setuid/setgid settings of a file. Part of it's job is to strip those options from the install parameters passed to it and then hand everything else over to /usr/bin/install. For any setuid/setgid/chown operations that were suppressed an error is written to the install.err log. It is then up to the SysAdmin to check the install.err log and decide if they want perform any of the suppressed setuid/setgid/chown actions as root. All of this, of course, is clearly documented in the "Package User" hint. 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
