Bug 54200

Summary: [PATCH] utmp.5 needs to reflect pam changes
Product: Documentation Reporter: Matthew George <mdg>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Matthew George 2003-07-08 00:10:21 UTC
	utmp.5 still has several references to login(1), although in 5.x and later lastlog/utmp/wtmp
	manipulation is performed via pam_lastlog(8).

Fix: 

-- 
Matthew George
SecureWorks Technical Operations--QXlCOBmEl8ClEa4YapHNL4BLaLSFZOTW0jjMxp7M47NI0NIG
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

Index: utmp.5
===================================================================
RCS file: /home/ncvs/src/share/man/man5/utmp.5,v
retrieving revision 1.19
diff -u -r1.19 utmp.5
--- utmp.5	4 Oct 2002 00:25:50 -0000	1.19
+++ utmp.5	7 Jul 2003 22:36:11 -0000
@@ -100,20 +100,17 @@
 structures and is a binary log file,
 that is, grows linearly at its end.
 .Pp
-Each time a user logs in, the
-.Xr login 1
+By default, each time a user logs in, the
+.Xr pam_lastlog 8
 program looks up the user's
 .Tn UID
 in the file
 .Nm lastlog .
 If it is found, the timestamp of the last time the user logged
 in, the terminal line and the hostname
-are written to the standard output (unless the login is
-.Em quiet ,
-see
-.Xr login 1 ) .
+are written to the standard output.
 The
-.Xr login 1
+.Xr pam_lastlog 8
 program then records the new login time in the file
 .Nm lastlog .
 .Pp
@@ -140,7 +137,7 @@
 .Xr who 1 .
 .Pp
 Next, the
-.Xr login 1
+.Xr pam_lastlog 8
 program opens the file
 .Nm wtmp ,
 and appends the user's
@@ -216,7 +213,7 @@
 .Xr newsyslog 8 .
 .Pp
 If any one of these files does not exist, it is not created by
-.Xr login 1 .
+.Xr pam_lastlog 8 .
 They must be created manually.
 .Pp
 The supplied
@@ -248,7 +245,6 @@
 .El
 .Sh SEE ALSO
 .Xr last 1 ,
-.Xr login 1 ,
 .Xr w 1 ,
 .Xr who 1 ,
 .Xr login 3 ,
@@ -256,7 +252,8 @@
 .Xr logwtmp 3 ,
 .Xr ttyslot 3 ,
 .Xr ac 8 ,
-.Xr init 8
+.Xr init 8,
+.Xr pam_lastlog 8
 .Sh HISTORY
 A
 .Nm
Comment 1 dannyboy freebsd_committer freebsd_triage 2003-07-08 13:46:57 UTC
State Changed
From-To: open->closed

Committed, thanks.