Skip to main content
3 votes

Correct sudoers configuration syntax to allow a group of user access to specific tools (any arguments)

%developers PACKET_MONITORING = NOPASSWD: ALL means that users in the developers group are allowed to run all commands on hosts in the PACKET_MONITORING. The man page has e.g. this example: jack ...
ilkkachu's user avatar
  • 142k
2 votes
Accepted

Strange bash errors for root console

To answer the question formally, and as mentioned by @steeldriver in the comments, _sudo is the name of the function from the file completions/sudo from the bash-completion project. The given error ...
Vilinkameni's user avatar
  • 1,488
1 vote

"Permission denied" error when using sudo for writing image to /dev/sdb on Debian

zcat doesn't need sudo, but the redirection does. Try zcat firmware.A20-OLinuXino-Lime2.img.gz partition.img.gz | sudo dd of=/dev/sdb
user10489's user avatar
  • 7,737
1 vote

Docker host network works only under sudo

You definitely need specific privileges (being root or having CAP_NET_BIND_SERVICE) to bind ports lower than 1024. This is independent of you using docker. That means no matter whether your rootless ...
Marcus Müller's user avatar
1 vote

How to run a systemctl command without sudo?

To do it without sudo, you would need to set up a polkit rule. The default rules can be found at /usr/share/polkit-1/rules.d/. You can read them for examples, but your own custom rules should go to /...
telcoM's user avatar
  • 103k

Only top scored, non community-wiki answers of a minimum length are eligible