You are not logged in.
Pages: 1
I know this question has probably been posted numerous times, but somehow I couldn't find my answer.
So I have added my user with
useradd -m user, but after I logged in (using ly dm), every
systemctl start/enable servicebecomes
authenticating as: root, I don't want that. Can someone help it become
authenticating as: user? Thanks
Last edited by jenetism (2025-05-26 08:18:42)
Offline
You're either looking for "systemctl --user" (for user session services, https://wiki.archlinux.org/title/Systemd/User ) or don't understand what's happening there.
systemctl requires root permissions to change the user and will in doubt use polkit to gain them.
You can also "sudo systemctl blafoobar", but configuring the system as unprivileged user isn't a thing.
Offline
using `systemctl --user` will list that service does not exist
Offline
Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
What are you *actually* trying to do?
Again: enabling a system service *will* require root privileges.
Offline
I'm trying to `systemctl enable iwd` (or any other service)
as non root user
I know it will prompt password, and it's okay, but, the `authenticating as: root`
meaning I will start this service as root, instead of 'authenticating as: user`
This is a new install and my last install will have `authenticating as:user` normally, before prompting as password for root privileges.
Offline
Add your user to the wheel group
Offline
It works now
Thank you @seth you are the best ![]()
Offline
Pages: 1