[Commotion-admin] [luci-commotion] admin password is limited to 126 characters (#411)

gradyoti notifications at github.com
Mon Sep 29 17:11:56 EDT 2014


Update #2:
It looks like this is actually a limit for the passwd utility on the nodes, which the setup wizard calls directly. Unfortunately, passwd does not pass any errors, it just truncates the password and accepts the first 127 chars. This means that setup wizard assumes the operation was successful, even though the full password was not accepted.

My suggestion is to validate the password field before calling passwd, and pass an error back to the user if the password is too long. 

---
Reply to this email directly or view it on GitHub:
https://github.com/opentechinstitute/luci-commotion/issues/411#issuecomment-57230738
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-admin/attachments/20140929/cf932e17/attachment.html>


More information about the Commotion-admin mailing list