Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 15241

sudo - Execute a command with superuser privileges.

3
votes
You can restrict in sudoers the commands that are allowed to run with sudo. Write a small script ./bridge that call sudo ./real-bridge and give the users the right to run ./real-bridge as root via sudo. …
answered Feb 20 '12 by jofel
2
votes
Normally, visudo ignores the VISUAL and EDITOR variable for security reasons and calls vi, so the compatibility mode of vim is enabled. Read How to set visudo to use a different editor than the defau …
answered Sep 26 '14 by jofel
4
votes
(nearly full) root rights via sudo. See https://serverfault.com/questions/36759/editing-sudoers-file-to-restrict-a-users-commands …
answered Apr 17 '12 by jofel
1
vote
/usr/share/john is probably not the path to the binary, but to the folder containing application specific data. Try sudo mpirun -np 2 /usr/sbin/john --test=10 instead. …
answered Feb 4 '13 by jofel
42
votes
Just add all needed commands to sudoers separately: %webteam cms051=/usr/bin/systemctl restart httpd.service %webteam cms051=/usr/bin/systemctl stop httpd.service %webteam cms051=/usr/bin/systemctl s …
answered Mar 26 '15 by jofel