Timeline for Restarting systemd service only as a specific user?
Current License: CC BY-SA 4.0
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 27, 2019 at 18:00 | history | tweeted | twitter.com/StackUnix/status/1089583974115094529 | ||
| Jan 27, 2019 at 17:11 | vote | accept | Bevor | ||
| Jan 27, 2019 at 17:11 | comment | added | Bevor | @Thomas Ah, that's it. It works as expected now. Thanks. | |
| Jan 27, 2019 at 16:17 | comment | added | Thomas |
Is the defaultuser configured as sudo? In that case you should remove the user from secondary groups and check your /etc/sudoers file if there is a reference for that user.
|
|
| Jan 27, 2019 at 16:12 | comment | added | Thomas |
For the third approach you have to run systemctl --user ... as the user techops not as root. Neither my suggestion nor the one of @PerlDuck gives any sudo rights to your defaultuser but only to the techops user.
|
|
| Jan 27, 2019 at 15:48 | history | edited | Bevor | CC BY-SA 4.0 |
added 3105 characters in body
|
| Jan 27, 2019 at 13:15 | history | edited | don_crissti |
edited tags
|
|
| Jan 27, 2019 at 13:03 | answer | added | Thomas | timeline score: 42 | |
| Jan 27, 2019 at 12:54 | answer | added | PerlDuck | timeline score: 10 | |
| Jan 27, 2019 at 12:05 | history | edited | Rui F Ribeiro | CC BY-SA 4.0 |
deleted 31 characters in body
|
| Jan 27, 2019 at 10:34 | history | edited | Thomas | CC BY-SA 4.0 |
improved formatting
|
| Jan 27, 2019 at 8:45 | history | asked | Bevor | CC BY-SA 4.0 |