Open NightMachinery opened 6 years ago
I have installed some other stuff, so I don’t want to do an OS reinstall. How can I disable services?
On Tue, Jul 17, 2018 at 11:33 PM Jay Carlson notifications@github.com wrote:
Uninstall the server? I don't think there is a good one. What you could do is disable services, and adjust the ufw firewall if you wanted to reuse the machine. I recommend a scratch reinstall, though. Many cloud providers have "reinstall the OS" actions. Which one are you using?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/StreisandEffect/discussions/issues/139#issuecomment-405692656, or mute the thread https://github.com/notifications/unsubscribe-auth/Aii--naeWs_BHUgfCjLvVKfdpJoN_MyRks5uHjUFgaJpZM4VRdSC .
Most things are controlled by systemd. Look through the output of systemctl list-units
, and then
systemctl disable wg-quick@wg0.service
systemctl disable streisand-wireguard
You can use systemctl mask
instead of disable
if you want to make doubly-sure they don't run.
Look through the results of netstat -lp
for what programs are running. As a last resort, use ufw reject portnumber
to block stuff.
Beware there's going to be a bunch of configuration left over that's not in a standard state. For example, sslh
is running on port 443, redirecting connections to daemons on different ports. See /etc/sslh.cfg
.
I just want to free the ram. Tor in particular eats a lot of ram.
On Mon, Jul 23, 2018 at 11:00 PM Jay Carlson notifications@github.com wrote:
Most things are controlled by systemd. Look through the output of systemctl list-units, and then
systemctl disable wg-quick@wg0.service systemctl disable streisand-wireguard
You can use systemctl mask instead of disable if you want to make doubly-sure they don't run.
Look through the results of netstat -lp for what programs are running. As a last resort, use ufw reject portnumber to block stuff.
Beware there's going to be a bunch of configuration left over that's not in a standard state. For example, sslh is running on port 443, redirecting connections to daemons on different ports. See /etc/sslh.cfg.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/StreisandEffect/discussions/issues/139#issuecomment-407156531, or mute the thread https://github.com/notifications/unsubscribe-auth/Aii--ueeWQwqO8U0MquTQFo-4O8BYJZAks5uJhYugaJpZM4VRdSC .
Yeah, just systemctl disable tor
should do it. Lemme know if that works.
Uninstall the server? I don't think there is a good one. What you could do is disable services, and adjust the
ufw
firewall if you wanted to reuse the machine. I recommend a scratch reinstall, though. Many cloud providers have "reinstall the OS" actions. Which one are you using?