On Sunday 25 January 2026 14:59:53 Dr. Nikolaus Klepp via tde-users wrote:
%user ALL=(ALL:ALL) NOPASSWD: /sbin/poweroff
and then as member of group user: sudo /sbin/poweroff
Nik
But then the user must use the password.
I'm trying to recycle this UpBoard I had purchased some years ago to be used by people who know nothing about Linux (and not much about compters) to run a single program.
With your solution it (should) works: They start the computer by connecting the poweradapter, the computer automatically logs in the (only) user. I've written a small bash script so that they can automatically create a new instance of that unique program (that will be used once a year) and creates an icon on the desktop.
They just have to click on that icon, use the program and shutdown the computer. I hope they manage that :)
Thierry