Commit Graph

4 Commits

Author SHA1 Message Date
sin
86566f4ceb Only try to ask for a password and check if uid is != 0 2013-10-18 10:26:48 +01:00
sin
56ce9e8bff Some stylistic changes to su(1)
Also set errno to zero before calling getspnam().
2013-10-18 10:26:40 +01:00
sin
f7fdd58972 Use a compound literal instead of malloc() in su(1) 2013-10-18 10:08:27 +01:00
sin
ff2e11638f Add initial su(1) 2013-10-17 23:04:20 +01:00