Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [safety]

The tag has no usage guidance.

0
votes
1answer
66 views

Still safe to use distro after applying c program to it?

I installed elementary OS Juno on an old iMac 5,1. The Computer uses a 32bit EFI, which is not able to boot elementary OS Juno so I decided to follow Matt Gadients guide for a little workaround. You ...
0
votes
1answer
66 views

How to protect potentially destructive command line options?

I'm curious if anyone can help me with what the best way to protect potentially destructive command line options is for a linux command line application? To give a very hypothetical scenario: imagine ...
3
votes
1answer
1k views

How to remount /var over ssh

I have a /var directory that sometimes gets too large for the partition it's on. It would be beneficial if I could mount this directory on a larger partition. I don't have physical access to this ...
-3
votes
3answers
90 views

Ensure I am a in specific folder before calling rm [closed]

in my bash script, I have some very danger lines like : rm -r * if it is mis-run in some folder, it would be very disastrous.Basically, I would need to add an if condition to make this does not ...
0
votes
1answer
46 views

Debian 8.6 - Large file at root called EMPTY

Recently I've been doing some maintenance on a cloud-hosted server I run. My host is DreamHost, specifically their DreamCompute service and the server is running Debian 8.6. While cleaning up old ...
1
vote
0answers
348 views

Unknown network connections in nethogs (is it safe?)

It's about a month that I see some unknown connections in nethogs and I tried to understand what program is responsible for them but I failed. I'm not sure but it seems that my Internet connection ...
7
votes
1answer
134 views

Linux setup for intellectually impaired

This is not a request for which distro (I intend to use arch + openbox as that's the setup I'm familiar with), but rather which tools can help me accomplish the following: I want to set up my sister'...
7
votes
1answer
2k views

How to have Linux wipe/randomize/sanitize RAM at shutdown?

For mysterious reasons I still double boot sometimes into Windows. My problem is that I fear that information may leak because the RAM memory is accessible to Windows. (the Linux partitions are ...
1
vote
0answers
914 views

Guide how to configure D-Bus safely?

Recently I have tried to improve the safety/security of my system by using Linux Security Modules LSM like (apparmor, grsecurity or NSA Selinux). In my case apparmor. Trying to limit untrusted ...
1
vote
3answers
1k views

Is it dangerous to remount a partition rw/ro frequently?

I'm developing an embedded linux system running on a SD card. To protect the SD against corruption I've used a read only root filesystem as well as an extra partition where I mount /home, also in ...
2
votes
1answer
132 views

Is it safe to `emerge -uavDN @world` while working?

In a related question, a few answers ("Yes", "...no problem", "typically... no problem") verify that it is safe to perform emerge -uavDN @world while working. Is it really so (for Funtoo/Gentoo)?
2
votes
2answers
3k views

installing/configuring and running sshguard on debian

I am trying to install/configure and run sshguard on debian, I want to check if brute force attacks happen on my server. I have installed it via apt-get, then I installed systemd and followed the ...
5
votes
3answers
1k views

When is it safe to disconnect my external HDD?

In Windows, there's an option to "safely remove hardware". Ignoring the fact that it almost always fails, and that most of the time I simply have to plug the device out, I get the initiative behind ...
4
votes
3answers
3k views

rm option to fail on nonexistent files

The man page of rm in GNU coreutils 8.12.197-032bb describes the -f or --force option as "ignore nonexistent files, never prompt". Without this option, it will remove any existing files, never prompt, ...