Timeline for zsh strange behavior with sudo --stdin and password with random characters
Current License: CC BY-SA 3.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 16, 2017 at 10:01 | history | edited | Lucien Haurat | CC BY-SA 3.0 |
Reformat code + Solution
|
| Apr 16, 2017 at 4:12 | vote | accept | Lucien Haurat | ||
| Apr 16, 2017 at 3:57 | answer | added | Michael Homer | timeline score: 4 | |
| Apr 16, 2017 at 3:56 | comment | added | Lucien Haurat |
Sorry, I misunderstood. Well sudo --shell is supposed to ask for a password, and open a root shell right ? So with --stdin flag I expect it to read this password from pass and then open a root shell, which it does not.
|
|
| Apr 16, 2017 at 3:51 | history | edited | Lucien Haurat | CC BY-SA 3.0 |
added 14 characters in body
|
| Apr 16, 2017 at 3:51 | comment | added | Michael Homer | Right, so there you go then. | |
| Apr 16, 2017 at 3:48 | comment | added | Lucien Haurat |
From the output of pass root_password which outputs the decrypted root password to its stdout, piped to sudo
|
|
| Apr 16, 2017 at 3:40 | comment | added | Michael Homer |
What did you expect the shell to read its input from after pass root_password | sudo --stdin --shell?
|
|
| Apr 16, 2017 at 3:31 | history | edited | Lucien Haurat | CC BY-SA 3.0 |
added 85 characters in body
|
| Apr 16, 2017 at 3:26 | review | First posts | |||
| Apr 16, 2017 at 3:32 | |||||
| Apr 16, 2017 at 3:22 | history | asked | Lucien Haurat | CC BY-SA 3.0 |