YAUD is a terminal safety tool designed to help new GNU/Linux users. It prevents potentially dangerous commands like rm (in critical directories), umount, dd, and mkfs from running while it is active. When YAUD is inactive, it does nothing and allows all commands.
| Command | Description |
|---|---|
sudo yaud --h |
Displays the help menu |
sudo yaud --s |
Shows whether YAUD is active |
sudo yaud --c |
Closes (deactivates) YAUD |
sudo yaud --a |
Activates YAUD |
Yes. YAUD must be run with sudo for the following reasons:
- During installation, it copies files to
/usr/local/bin, which requires root permissions. - To monitor or block commands like
sudo rm -rf /, YAUD itself must also run as root. - If run without
sudo, it will return an error.
Arch / Arch-based:
sudo pacman -S git gcc g++Debian / Ubuntu-based:
sudo apt install git g++ gccFedora / RHEL-based:
sudo dnf install git gcc-c++openSUSE:
sudo zypper install git gcc-c++Alpine:
sudo apk add git g++Old Pardus (non-Debian) / PisiLinux:
sudo pisi it git gccGentoo:
sudo emerge --ask dev-vcs/git sys-devel/gccgit clone https://github.com/npc-gnu/yaud.gitcd yaud
⚠️ Do not enteryaud/srcoryaud/includedirectly, otherwise the build may fail.
chmod +x compile
./compileAfter installation, YAUD is not activated by default.
To activate it, run:
yaud --aYAUD is now ready to help protect your terminal experience.
There is an AUR package, but it currently doesn't work. I'm still working on fixing it.
This project is licensed under the GNU Affero General Public License v3 (AGPLv3).
