* src/su.c: non PAM enabled versions: do not fail if su is called

without a controlling terminal. Ignore ENXIO errors when opening
	/dev/tty.
This commit is contained in:
nekral-guest
2012-05-20 16:15:14 +00:00
parent 8690c74d6a
commit f100b5ea7e
3 changed files with 18 additions and 0 deletions

3
NEWS
View File

@@ -5,6 +5,9 @@ shadow-4.1.5 -> shadow-4.1.5.1 UNRELEASED
- login
* Log into utmp(x) when PAM is enabled, but do not log into wtmp.
This complete pam_lastlog which logs into wtmp and in into utmp(x).
- su
* non PAM enabled versions: do not fail if su is called without a
controlling terminal.
- userdel
* Fix segfault when userdel removes the user's group.