Timeline for forcing sudo on remote rsync server
Current License: CC BY-SA 3.0
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 13, 2016 at 13:35 | comment | added | a coder | Done. I've removed a couple of my extraneous comments to help clean up this question & answer. :) | |
| Dec 13, 2016 at 13:34 | vote | accept | a coder | ||
| Dec 13, 2016 at 12:43 | history | edited | Wissam Roujoulah | CC BY-SA 3.0 |
deleted 345 characters in body
|
| Dec 13, 2016 at 9:12 | history | edited | Wissam Roujoulah | CC BY-SA 3.0 |
added 203 characters in body
|
| Dec 12, 2016 at 16:08 | vote | accept | a coder | ||
| Dec 12, 2016 at 17:58 | |||||
| Dec 12, 2016 at 16:05 | comment | added | a coder |
Ok so this answer says it's safe to remove the Defaults requiretty line from the sudoers file. Gave that a go, and it worked. unix.stackexchange.com/a/122624/20107
|
|
| Dec 12, 2016 at 16:01 | comment | added | a coder | "sudo: sorry, you must have a tty to run sudo" | |
| Dec 12, 2016 at 15:59 | comment | added | a coder |
Ok, so --rsync-path is used to set the path of rsync on the remote computer. Will try that and follow up.
|
|
| Dec 12, 2016 at 15:55 | comment | added | Wissam Roujoulah |
@acoder you can use sudo with --rsync-path="sudo rsync" but make sure you make the user acoder require no password for using rsync with sudo
|
|
| Dec 12, 2016 at 15:43 | comment | added | Wissam Roujoulah | @acoder i edited my question so u add a way to do that | |
| Dec 12, 2016 at 15:42 | history | edited | Wissam Roujoulah | CC BY-SA 3.0 |
added 261 characters in body
|
| Dec 12, 2016 at 15:37 | history | answered | Wissam Roujoulah | CC BY-SA 3.0 |