|
Bugzilla – Full Text Bug Listing |
| Summary: | Pasting sudo password results in failed login | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | cadweed_chirography_sanities |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | normal | ||
| Priority: | low | ||
| Version: | 1.8.29 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
|
Description
cadweed_chirography_sanities
2019-12-13 15:03:58 MST
This is probably because sudo is using a 256 byte buffer when reading input. If your password is > 255 chars you won't be able to enter it. (In reply to Todd C. Miller from comment #1) > This is probably because sudo is using a 256 byte buffer when > reading input. If your password is > 255 chars you won't be able to > enter it. Reducing the length of the password seems to work. I wasn't able though to go over 170 chars though. I don't know how ExtendedASCII characters are encoded on linux but if they use up 12 bit that cap makes sense. 256 bytes (2048bit) / 12bit = ~170 characters Being a edge usecase i guess there's no point in fixing it, i will just stick with shorter passwords. Thanks for the help! Have a nice day. |