Subject: CVS commit: src/usr.bin/su
To: None <source-changes@NetBSD.org>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: source-changes
Date: 01/09/2005 21:32:38
Module Name:	src
Committed By:	manu
Date:		Sun Jan  9 21:32:38 UTC 2005

Modified Files:
	src/usr.bin/su: su.c

Log Message:
Rewrite PAMification of su.
- don't try to fallback to plain old authentication. It could lead to unix
  authentication to be used while the administrator wanted to forbid it.
  Moreover, a broken PAM setup can be fixed by just rebooting in single user.
- In order to make the code more readable, make two main(), with and aithout
  PAM.
- Outstanding issues that seem impossible to fix:
  The -K flag die with PAM.
  -c cause PAM credentials to be ignored.


To generate a diff of this commit:
cvs rdiff -r1.62 -r1.63 src/usr.bin/su/su.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.