From: Dan K. <da...@ke...> - 2003-03-03 16:48:02
|
Robert Williamson wrote: > This sounds fine, except the 'make install' also checks for the required > user and group ids with the "IDcheck.sh" script. If the user decides to > allow the script to create the ids, he/she must have the right permission > to allow the creation. This was the reason why root was required to do the > make install. I guess we could add code to IDcheck.sh to simply give the > warning message about missing required ids if the user who executes it is > not root.....instead of giving the option to create. Any other ideas? In the cross-development case, the chowns and IDcheck.sh never need to run on the build machine. In addition to making those optional on the build machine, we really should make it easy to run them on the target machine even if 'make' isn't available there. I think that means creating and maintaining a shell script that does all the rootly stuff. But as a short-term hack, making IDcheck.sh just give a warning if not run as root is the way to go, I think. - Dan -- Dan Kegel http://www.kegel.com http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045 |