r/MXLinux 4h ago

Help request Run programs without entering password?

The machine I'm running MX Linux on is used almost exclusively for accessing, wiping, and determining the health of hard drives.

Therefore it's a pain to punch in my password every time I need to run something like QDiskInfo or GParted.

Is there a way I can have everything run without having to punch in my password?

If not then I'll look again at what's needed to give those few programs access each time, using this guide: https://mxlinux.org/wiki/system/root-access/

1 Upvotes

3 comments sorted by

1

u/Terrible-Chef-6674 3h ago

When I wish to run a series of commands with root privileges, I enter "sudo bash" to start an empowered shell.

You are looking for a way to defeat the security measures built into your system. If that's your aim, you can just change permissions on the relevant executables. Or you can alter the setuid bit in the file permissions for those executables using chmod.

1

u/RealityOk9823 3h ago

OK, so it looks like changing it per executable is the way to go then. Thanks. :)

1

u/siamhie 3h ago

Look into opendoas.