Timeline for Allow certain guests to execute certain commands
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 24, 2024 at 14:25 | vote | accept | Programster | ||
| Nov 1, 2017 at 16:08 | comment | added | Kamil Dziedzic | Is there a way to do it just from command line? | |
| Aug 30, 2017 at 7:51 | comment | added | Aleksey |
In my case I had to put the line after %sudo ...
|
|
| Jul 12, 2015 at 21:22 | comment | added | Gilles 'SO- stop being evil' |
Note that giving users the permission to run apt-get, or even merely apt-get upgrade, gives them full root access! Many upgrade scripts allow the interactive user to execute a shell, for example when a configuration file has changed. To be safe, restrict apt-get to certain commands, and force it to be non-interactive. See Is it safe for my ssh user to be given passwordless sudo for apt-get update and apt-get upgrade?
|
|
| Jul 12, 2015 at 12:56 | history | edited | Programster | CC BY-SA 3.0 |
deleted 38 characters in body
|
| Jul 12, 2015 at 12:51 | history | answered | Programster | CC BY-SA 3.0 |