5

Every time I do netctl start Newton (Newton is the name of my wifi network's profile) I get this message:

==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to manage system services or other units.
Authenticating as: root
Password:

If I type the wrong password I get the message:

==== AUTHENTICATION FAILED ===
Failed to start [email protected]: Access denied

This isn't actually a problem for me because I know my root password, but it strikes me that if I didn't, I wouldn't be able to connect to the internet and that's not right. I'm a sudoer so I should be able to use my own password to connect to the network, but it asks for root's.

How do I make it stop asking for the root password?

1
  • Phew, it's commom for others, it's not a virus! Apr 18, 2017 at 21:22

3 Answers 3

9

So the reason I was being asked for the root password was because I wasn't running the command with sudo. If I do that it won't ask for a password.

1
  • Yes, netctl aliased with sudo
    – Alex
    Jul 26, 2015 at 11:51
0

Try in visudo

user host= NOPASSWD: /usr/bin/netctl

Use absolute path !

2
  • So you mean I need to add that line to the sudoers file? I tried that and it didn't fix the problem. Jul 26, 2015 at 0:02
  • When I removed the space before NOPASSWD the message changed to Failed to start [email protected]: Interactive authentication required. Jul 26, 2015 at 1:22
-1

If you simply want to remove PolicyKit,

sudo apt-get remove libpolkit-agent-1-0

ought to make this easier.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .