Timeline for One prompt pkexec - two command
Current License: CC BY-SA 3.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 6, 2018 at 23:47 | comment | added | cas | 700 would be OK too. location is important because if the user has write access to the directory, they can replace the script. | |
| Feb 6, 2018 at 15:07 | comment | added | Hamlet | @cas Even if I give 700 permission? What is the importance of location when script can be edit by root <- only bc 700? | |
| Feb 5, 2018 at 3:48 | comment | added | cas | I would recommend not allowing these sudo-able scripts to be writable by the user and not putting them in a directory owned by or writable by the user. If your local user account is compromised, it provides an easy pathway to a root compromise if the scripts can be edited/replaced. The scripts should be owned by root, with 755 perms, and in a directory owned by root (e.g. /usr/local/bin, also mode 755). | |
| Feb 5, 2018 at 1:17 | comment | added | Zic | No problem x) It's good to hear that. | |
| Feb 5, 2018 at 1:15 | history | edited | Zic | CC BY-SA 3.0 | Small errors |
| Feb 5, 2018 at 0:38 | vote | accept | Hamlet | ||
| Feb 5, 2018 at 0:38 | comment | added | Hamlet | Damn it :) Thank you very much for the solution. Everything with details described and Works! Nice idea. You saved my time. | |
| Feb 5, 2018 at 0:28 | history | edited | Zic | CC BY-SA 3.0 | Now I understanding what autor want to do. |
| Feb 4, 2018 at 18:30 | review | First posts | |||
| Feb 4, 2018 at 20:07 | |||||
| Feb 4, 2018 at 18:26 | history | answered | Zic | CC BY-SA 3.0 |