Date: Mon, 18 Jan 2010 11:29:51 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libpam/modules/pam_lastlog Makefile pam_lastlog.c Message-ID: <201001181130.o0IBU8Is042739@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2010-01-18 11:29:51 UTC FreeBSD src repository Modified files: lib/libpam/modules/pam_lastlog Makefile pam_lastlog.c Log: SVN rev 202566 on 2010-01-18 11:29:51Z by ed Let pam_lastlog use random ut_id's. By using random values for ut_id, not based on the TTY name, it is possible to run for example login(1) multiple times on the same TTY, without overwriting any previous records. The output of w(1) will then be as follows: | 12:26PM up 2 days, 2:31, 5 users, load averages: 0.01, 0.03, 0.03 | USER TTY FROM LOGIN@ IDLE WHAT | ed pts/2 mekker.80386.nl 12:26PM - w | root pts/2 - 12:26PM - w | root pts/2 - 12:26PM - w | root pts/2 - 12:26PM - w Approved by: des Revision Changes Path 1.7 +0 -3 src/lib/libpam/modules/pam_lastlog/Makefile 1.28 +42 -11 src/lib/libpam/modules/pam_lastlog/pam_lastlog.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001181130.o0IBU8Is042739>