sin
|
acb9ae197e
|
Implement -p for su(1)
|
2013-10-18 14:26:40 +01:00 |
|
sin
|
7e59506b4b
|
Set SHELL environment variable by default
If target user is not root also set USER and LOGNAME.
|
2013-10-18 11:22:31 +01:00 |
|
sin
|
784c6a5acf
|
Implement -l support for su(1)
|
2013-10-18 11:15:31 +01:00 |
|
sin
|
f7bfe68a9e
|
We use environ so declare it
|
2013-10-18 11:15:31 +01:00 |
|
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 |
|