New answers tagged sudo
0
votes
Grant a user sudo powers to start/stop/etc a systemd service w/o sudo password
I had to do config using group of that user -
Login and take root sudo; then run below command
> sudo visudo
Then add below lines at the end of the opened file and save -
%[group] ALL=([username]) ...
0
votes
Why can I connect to the docker daemon with sudo, but not root?
sudo resets environment. su does not.
Your user has evidently set the DOCKER_HOST variable to unix:///run/user/1000/docker.sock or has it in Docker configuration file. grepfor docker.sock may be a ...
Top 50 recent answers are included
Related Tags
sudo × 897linux × 285
ubuntu × 114
ssh × 86
bash × 74
root × 72
permissions × 68
centos × 61
security × 55
su × 52
debian × 47
redhat × 35
unix × 28
apache-2.2 × 24
amazon-ec2 × 23
password × 23
ldap × 22
php × 21
ansible × 21
sssd × 16
scripting × 15
shell × 15
pam × 15
environment-variables × 14
user-permissions × 13