I have a pi 4b.
I added a new admin as explained in https://www.raspberrypi.org/documentation/configuration/security.md, it has access to all those groups.
I locked the pi user:
sudo usermod --lock pi
I rebooted.
Now, when I'm with my brand new admin user, if I want to reboot the system (or actually do anything systemctl-related), it says:
➤ systemctl reboot
==== AUTHENTICATING FOR org.freedesktop.login1.set-wall-message ===
Authentication is required to set a wall message
Multiple identities can be used for authentication:
1. ,,, (pi)
2. root
Choose identity to authenticate as (1-2):
It seems like only pi
and root
can authenticate to manage the system... But my user is an admin too!:
➤ groups
myuser adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi
Graphically it's the same. When I want to reboot:
How can I add myuser
to that list?