Commit Graph

8 Commits

Author SHA1 Message Date
sin
924fc8449b Disable core dumps in case passwd(1) crashes
Avoids leaking the shadow db.
2014-06-10 11:44:33 +01:00
sin
60500e376a Print "incorrect password" when checking empty passwords as well 2014-06-09 13:08:18 +01:00
sin
d745889805 Fix pw_check() semantics and style - it is now similar to pw_copy() 2014-06-09 13:05:24 +01:00
sin
78192e87d9 Simplify a bit pw_check() 2014-06-09 12:57:45 +01:00
sin
4c38dffade If the user password is empty check it against the provided pass as well 2014-06-09 12:13:22 +01:00
sin
77a2f9f92c Add initial pw_check() 2014-06-09 11:12:53 +01:00
sin
abbb8fffc7 Remember to free the agetline() buffer 2014-06-05 17:00:39 +01:00
sin
1ec996439a Add initial implementation of passwd(1)
No shadow support yet.
2014-06-05 16:57:27 +01:00