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 ...
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 ...
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
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 ...
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 /...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
sudo × 2488linux × 328
bash × 303
permissions × 262
root × 240
su × 201
ubuntu × 150
debian × 143
ssh × 139
security × 137
shell-script × 133
shell × 132
users × 103
password × 99
centos × 87
environment-variables × 73
rhel × 64
command-line × 59
group × 50
privileges × 50
fedora × 42
scripting × 39
apt × 39
software-installation × 39
path × 39