sudo
is just running things as root, which is an account on every Linux system that has permission to do everything. The dangerous part is running a sudo
command if you don’t know what it’s doing, because using the extra permissions, a command can do things like delete your files, break your system, install malware, etc. sudo
itself isn’t going to do anything bad, but the command it runs could.
Something like this? https://github.com/mrusme/neonmodem
It uses my Lemmy API client library :3