Questions and Answers :
Unix/Linux :
Must run as "root"????
Message board moderation
Author | Message |
---|---|
![]() ![]() Send message Joined: 22 Apr 99 Posts: 135 Credit: 1,645,913 RAC: 1 ![]() |
I'm not sure if this is a RedHat/Fedora problem or not, but I've been struggling ever since I upgraded to Fedora 10 to get BOINC running again. I finally had a brainstorm this morning and tried running it with "superuser" priveleges and it worked. This does not make sense... why should BOINC have to run as "root" or a SuperUser? Should it not be able to run as a normal user? In case anyone else has this problem, I got around it by "sudo chmod +s boinc" and all the other boinc-related binaries in /usr/bin. Can someone please advise WHY it was necessary to have elevated privileges to run this? |
parkut Send message Joined: 9 Aug 99 Posts: 69 Credit: 9,779,243 RAC: 0 ![]() |
Why not just run it in a users directory space like /home/mrmaxx/boinc for example. That way you can give execute permissions and not involve root |
![]() ![]() Send message Joined: 22 Apr 99 Posts: 135 Credit: 1,645,913 RAC: 1 ![]() |
Because I installed it using the RPM from Fedora. :-) It doesn't give you an option (that I saw) to run it in normal user space. I posted on a local linux user list and one of my buddies there pointed out that BOINC creates it's own user/group to run as and so I just added myself to the BOINC group and now it's all good. However, I think something like this ought to be a FAQ for people who are used to running BOINC from the tarball. Suggestion would be: "For Fedora/RedHat Enterprise users -- BOINC runs as user 'boinc', group 'boinc.' To run Boinc manager, you must either log in as boinc or add your user to the 'boinc' group." |
![]() Send message Joined: 25 Nov 01 Posts: 21579 Credit: 7,508,002 RAC: 20 ![]() ![]() |
Because I installed it using the RPM from Fedora. :-) It doesn't give you an option (that I saw) to run it in normal user space.... Indeed so. Boinc runs as a service. You should go to the configure services section and check that Boinc has been started. You should also have a Boinc manager application in your menus so that you can control the Boinc client. You certainly should NOT be root for running the client! Hope that helps, Happy crunchin', Martin See new freedom: Mageia Linux Take a look for yourself: Linux Format The Future is what We all make IT (GPLv3) |
©2025 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.