You are not logged in.
Pages: 1
Hi,
I'm on a fresh install of arch,
When I try to shutdown the computer using the shutdown command with a non root user (the privileges are : power, wheel, audio, optical, storage, video),
I get the following errors, to successfully shutdown my computer I have to use sudo shutdown
Failed to set wall message, ignoring: Access denied
Failed to call ScheduleShutdown in logind, proceeding with immediate shutdown: Access denied
Failed to set wall message, ignoring: Access denied
Failed to power off system via logind: Access denied
Failed to talk to init daemon.
I searched and read the wiki but I didn't find anything that could help me fixing it.
Thanks in advance for your help
Offline
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Why did you add yourself to all of those unnecessary groups?
https://wiki.archlinux.org/index.php/Us … emd_groups
Offline
Thanks for your reply, but the issue is that I still have to use the prefix sudo
How to simply shutdown, reboot without sudo using non root users ?
Why did you add yourself to all of those unnecessary groups?
https://wiki.archlinux.org/index.php/Us … emd_groups
It was a desperate act of my own to try fixing it, but as you said it was unnecessary
Offline
My intent was not to suggest passively looking at the linked page and expecting it to - via some process of osmosis - make the problems go away.
Read and follow that page. Check whether the required packages are installed. Post the results of the recommended information gathering / diagnostic steps.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
My intent was not to suggest passively looking at the linked page and expecting it to - via some process of osmosis - make the problems go away.
Read and follow that page. Check whether the required packages are installed. Post the results of the recommended information gathering / diagnostic steps.
I agree with you, after some further reading, I was able to fix the issue. (alias shutdown='sudo shutdown')
Thanks for your help
Last edited by makosmos (2019-12-26 14:20:27)
Offline
Offline
Pages: 1