I am attempting to install fink without using root privilege. I've been able to comment out the various commands which invoke su or sudo or test for the root uid. I added the "--force-not-root" flag to the execution of "dpkg -i" in Services.pm. The result was a file in src/fink.build/fink-0.24.10-21/fink which had not been copied to a bin directory and wasn't set to be executable.
I tried running that with the "selfupdate" argument. That failed for lack of .pm files that it looks for in the list of directories in @INC. So I copied in the files from the directory tree fink-0.8.0-full-XCode-2.1/perlmod/Fink to the one directory in the list that fink has in @INC that isn't a system directory. It also ran sudo and and requested a password. I haven't so far been able to figure out where that call to sudo is. dselect wasn't created. The Web page documentation says that that command requires root privilege. I don't know if that explains why it wasn't created. I have reasoned that the operations that I intend to run with fink don't require root privilege and therefore I should be able to install what I need of fink without using the root account or sudo or some equivalent. Am I correct that downloading and installing software with fink doesn't necessarily require root privilege if you're not writing to a root-owned, protected directory? If that is correct, am I correct in supposing that it's possible and feasible to install what I intend to use of fink without using root privilege? If that is correct, is there a better way to do so than tracking down each use of the root account and simply replacing it with use of whatever uid I'm running the installation under? If so, what is it? If not, where is the invocation of sudo in running "fink selfupdate" and what about dselect? TIA. Douglas Kline ======== Douglas Kline [EMAIL PROTECTED] _______________________________________________ Fink-beginners mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-beginners
