[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: su/PAM_pwdb logging glitch?



| 	2. if the user does not have a controlling terminal,
| 	   getlogin() returns NULL.  This is a feature of POSIX. :)

 This is not quite the case, as I imagine Andrew knows; getlogin()
returns NULL if it can't find one in utmp, even if one has a controlling
terminal.

	- cks



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []