You are not logged in.
Pages: 1
1. I'm trying to use Netctl commands without sudo on non-root accounts. My idea of going about this is to add the particular user to the correct group. However, i'm not sure as to which group this is. I tried adding it network , and systemd-network but to no avail, it still asks for authentication.
2. Netctl list <-- doesn't need authentication
Netctl stop <--- requires authentication
Why is this ? ( How do you set authentication for differing command line options?)
Any help or pointers would be appreciated !
Offline
Netctl is just a thin wrapper around systemd. All it does is invoke systemd commands like
systemctl start ...
systemctl stop ...
You can look at the source if you want to know how it works.
Offline
I have the same problem and this doesn't quite answer the question. Is it possible to grant a non-root user the required permissions?
Offline
Use sudo with a sudoers file that targets the netctl binary and allows certain groups to use sudo with it?
Hurricane Electric Certified IPv6 Sage
CPU: Core i7-2600 @ 4.0Ghz | RAM: 16GB (4x4GB) | GFX: AMD Radeon R9 290 4096MB VRAM | HDD: 1x 120GB SATA3 Corsair SSD (~500MB/s RW), 1x SATA2 250GB, 1x SATA2 320GB, 1x 180GB SATA3 Intel SSD
*EDIT* Replaced Nvidia GTX 570 for a AMD Radeon R9 290, and added an extra SSD 180GB
Offline
Pages: 1