Questions tagged [safety]
21 questions
0
votes
4 answers
Linux utility to monitor for stupid / likely ill-advised commands
sudoing adds a little bit of a roadblock to doing potentially stupid and dangerous things in the Linux shell, but it is a meager deterrent to newer Linux users. Still, many users login as root or have become desensitized to sudo, and may sometimes…

tacos_tacos_tacos
- 3,250
- 18
- 63
- 100
0
votes
1 answer
Ubuntu - server protection when forwarding ports via ssh
I will make a reservation, I am mediocre in Linux systems. I have several Raspbian (Client) devices that have access to the network over LTE (IP over NAT). I have my own server under Ubuntu (server). I plan to automatically run a script on the…

MaxNTF
- 1
- 1
0
votes
0 answers
Is it safe and appropriate to remove SUID and SGID from certain system files in Debian 11 (files on the screenshot)?
The whole list of all files found with find / -perm -4000 -print and find / -perm -2000 -print commands (same) are on the screenshot. So is it an efficient and safe thing to delete SUID, SGID from all of them? Or it won't give any additional safety…
0
votes
1 answer
Is it safe to unplug a UPS during operation?
Interestingly there is no word in the manual and nothing to be found on the internet. But it seems like an obvious question:
While a UPS (let’s use APC Smart-UPS 1500RM as an example) drives equipment/server, is it safe to disconnect the mains power…

divB
- 568
- 1
- 7
- 23
0
votes
1 answer
Compiling and running untrusted code on a server
In teaching CS, students submit their code to our server and we compile and run with unit tests. Similar to Codeforces, Codewars, and HackerRank.
How should we be configuring servers for this? Launch a new minimal VM for each code submission? Is…

apptree
- 345
- 1
- 3
- 10
-2
votes
1 answer
PHP SuHosin -- my code is already secure... is it needed?
I believe I have set up my code quite securely, it validates and cleans user input so it's safe, etc.
So would I need SuHosin? (which is a security addition/patch for PHP)
How does it help me if my code is already secure?For example, I read that…

Hope4You
- 165
- 3
- 12