Questions and Answers :
Unix/Linux :
Password protection for remote administration (RPC)?
Message board moderation
Author | Message |
---|---|
mscs.NET Internet Services / Mark Soentges Send message Joined: 7 Jun 99 Posts: 1 Credit: 57,458 RAC: 0 ![]() |
Hi, I've installed BOINC at home and on two of my Linux server machines hosted at a professional datacenter with 100 MBit Internet connection. I was pleased when I found out, that the BOINC Manager on my home system (Windows) can log in to the BOINC Client on those Linux machines remotely for easy administration (as there is no graphics mode availible on those remote Linux systems). When connecting to these Linux machines, the BOINC manager asked for a hostname and a password. As I had none, I left the password field empty. The connection was immediately established. Fine so far, but I don't want to keep this remote administration access unprotected - so how can I set a password? I'd be happy aboutn any hints. Mark --- Solution (found it myself): Create a file named "gui_rpc_auth.cfg" in your boinc directory, put the desired password into it and restart boinc or boinc service. Not comfortable, but quite easy. Should be better documented. Mark |
![]() Send message Joined: 6 May 00 Posts: 758 Credit: 149,536 RAC: 0 ![]() |
Thank you for finding a posting the answer to this problem. |
zarthon Send message Joined: 2 Aug 99 Posts: 1 Credit: 863,305 RAC: 0 ![]() |
It seems the behavior of bonic has changed. If there is no file "gui_rpc_auth.cfg" then one is created with a very long hash code when the client starts so deleteing this file does not get rid of a password and having no password has been made impossible. You can however update the file with your own password as specified above. Useful commands ( dir may vary): cd /opt/boinc echo 'password_example_change_me' > gui_rpc_auth.cfg then start / restart boinc It's also useful to change the run_client script to include the -allow_remote_gui_rpc option for the client. If the connection fails it also might be necessary to change your iptables configuration, and ofcourse check out any zonealarm or other windows firewall messages and settings. Cheers + + + + + + + John |
©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.