]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r227314:
authored <ed@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 3 Feb 2012 17:50:39 +0000 (17:50 +0000)
committered <ed@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 3 Feb 2012 17:50:39 +0000 (17:50 +0000)
commitc06bbc475ceea9c36c0dcf4e0e11e0a83f3a2692
tree68e0eda7e84fddeb6af1e9c9db3e9213811716c5
parentc025815773824ea3ea2488a87d2edb60c561d4be
MFC r227314:

  Ensure pam_lastlog removes the /dev/ component of the TTY name.

  Some consumers of PAM remove the /dev/ component (i.e. login), while
  others don't (i.e. su). We must ensure that the /dev/ component is
  removed to ensure that the utmpx entries properly work with tools such
  as w(1).

git-svn-id: svn://svn.freebsd.org/base/stable/9@230952 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libpam/modules/pam_lastlog/pam_lastlog.c