Questions tagged [safety]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
55 views

Safety of automatically updated Gnome extensions

I was surprised to see that Gnome 3 extensions are updated automatically by Debian. Hence, I am wondering: Which community procedures or practices make it difficult to inject harmful code in this way?
Max Flow's user avatar
  • 615
0 votes
1 answer
104 views

How to run software in terminal offline?

I would like to run a flatpak program offline through the terminal (flatpak spoty runs as sudo!). I am looking for a simple command like: "runoffline" flatpak run application. What would be ...
staggy's user avatar
  • 1
0 votes
0 answers
80 views

Is it safe to keep server name and path to files in public git repository?

Hopefully this question is not off-topic: I find myself constantly scping files from a remote server, and I want to keep a bash script in GitHub that invokes scp and brings files. Is it safe to let ...
Daniel Duque's user avatar
1 vote
0 answers
428 views

How to safely remove directory tree in script with path defined by a variable

This is a very basic question, and surely has been asked before, but I am having trouble finding the answer or guidance. There are e.g. these but they don't quite hit the mark: How to safely remove ...
Ben Farmer's user avatar
0 votes
1 answer
4k views

How can I safely remove /var/lib/rpm/.rpm.lock on Fedora 33 Workstation?

Recently I've been having the issue that some rpm commands (e.g. # rpm --rebuilddb fail due to this error: error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied) It also ...
Newbyte's user avatar
  • 946
0 votes
2 answers
28 views

Is staying in Fedora with a 4 gigs system Safe?

So I recently switched to Fedora Linux, and At least it eats 1.5 gigs of ram after I installed software, it ate 1.7, and I have a 4 gig system, so is it safe? I am referring to Memory
user415269's user avatar
3 votes
1 answer
4k views

Safe way to automount VeraCrypt container without showing password?

I have a Raspberry Pi 4 (4GB) running Nextcloud on it. Because all my data and backups are saved on external USB drives I will encrypt them with a VeraCrypt container. Mounting and dismounting the ...
Florian's user avatar
  • 31
0 votes
0 answers
196 views

I am trying to find a spyware agent like "SpyAgent" to monitor users on a Linux system

I am trying to see if I can find a user monitoring system for Linux. Technically I am looking for spyware that I can install on my system so when I let my little nephew use my laptop I know he isn't ...
Marty Mooney's user avatar
0 votes
1 answer
172 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 ...
Domdat's user avatar
  • 3
1 vote
1 answer
267 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 ...
ÁEDÁN's user avatar
  • 23
3 votes
1 answer
3k 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 ...
Drew Dormann's user avatar
-3 votes
3 answers
115 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 ...
user40780's user avatar
  • 1,861
0 votes
1 answer
60 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 ...
M. Damian Mulligan's user avatar
3 votes
0 answers
817 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 ...
vAB's user avatar
  • 31
7 votes
1 answer
146 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'...
Damian K. Bast's user avatar
6 votes
1 answer
4k 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 ...
humanityANDpeace's user avatar
1 vote
0 answers
1k 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 ...
humanityANDpeace's user avatar
2 votes
3 answers
2k 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 ...
fmoralesalcaide's user avatar
2 votes
1 answer
164 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)?
Nikos Alexandris's user avatar
2 votes
2 answers
4k 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 ...
simona's user avatar
  • 1,001
5 votes
3 answers
3k 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 ...
jcora's user avatar
  • 3,884
6 votes
3 answers
5k 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, ...
l0b0's user avatar
  • 50.8k