News for hackers. Stuff that matters.
Re:A thorough Linux clean-up script by not_your_vase on Saturday February 15, 2025 @12:29PM (#43060307)
Literally 8-9 lines of rm/shred commands (depending on how you count), asking you to run it as root (so it will clean the home of root instead of the user, without even checking what's going on -.-) or with sudo.

Come on, this is not even low effort. I'm sure you can do better than this.

Re:A thorough Linux clean-up script by uws on Saturday February 15, 2025 @04:35PM (#43062575)
Thank you for your review. I have updated the script to mention running as the user with sudo. Some people use the root user for administration.
Re:A thorough Linux clean-up script by not_your_vase on Sunday February 16, 2025 @03:17AM (#43066316)

  shred_and_fill "$HOME/.local/share/Trash"
  shred_and_fill "/root/.local/share/Trash"

If I, as a sysadmin give root rights to my user, and that user deletes my (real root) files, even from the Trash or anywhere else, then the next step includes such a level of violence that's not compatible with any kind of Code of Conduct.
Re:A thorough Linux clean-up script by uws on Sunday February 16, 2025 @12:05PM (#43069555)
If you give a user wheel/sudo/root privileges, then they will be able to delete the root user's files regardless of using this script. I will consider removing this line and thus the required superuser privileges in the next release.