Commit Graph

8 Commits

Author SHA1 Message Date
sin
323f6be8ef Use correction function name in error message 2014-06-03 12:34:32 +01:00
sin
2f10d16b9f Remove explicit_bzero() calls 2014-06-03 12:18:19 +01:00
sin
0de4f5fd9f I am stupid. 2014-06-03 11:03:25 +01:00
sin
bc709278b6 Add shadow support to login(1)
Also remember to really preserve the environment.
2014-06-03 11:00:44 +01:00
sin
c4c1feac2a Check if stdin is a tty
Some indentation changes as well.
2014-06-03 10:50:41 +01:00
FRIGN
af65094dbe Simplify login
Remove some unnecessary local values, simplify the exec-call at the end
(we don't need the separate array) and print clearer and more consistent
error-messages.
2014-06-02 17:15:36 +01:00
sin
aaea1e9ff7 Print getpass() errors on a newline 2014-06-02 17:06:38 +01:00
sin
0a3ed68d25 Add initial implementation of login(1)
No shadow support atm.
2014-06-02 16:17:33 +01:00