From owner-freebsd-doc@FreeBSD.ORG Mon Jul 7 16:10:24 2003 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FF7A37B405 for ; Mon, 7 Jul 2003 16:10:24 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38FD043FAF for ; Mon, 7 Jul 2003 16:10:23 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h67NANUp068794 for ; Mon, 7 Jul 2003 16:10:23 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h67NANSZ068784; Mon, 7 Jul 2003 16:10:23 -0700 (PDT) Resent-Date: Mon, 7 Jul 2003 16:10:23 -0700 (PDT) Resent-Message-Id: <200307072310.h67NANSZ068784@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Matthew George Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B341537B401 for ; Mon, 7 Jul 2003 16:06:15 -0700 (PDT) Received: from mail.secureworks.net (mail.secureworks.net [209.101.212.155]) by mx1.FreeBSD.org (Postfix) with SMTP id 07F7343F75 for ; Mon, 7 Jul 2003 16:06:15 -0700 (PDT) (envelope-from mdg@secureworks.net) Received: (qmail 18137 invoked from network); 7 Jul 2003 23:03:27 -0000 Received: from unknown (HELO HOST-192-168-17-31.internal.secureworks.net) (209.101.212.253) by mail.secureworks.net with SMTP; 7 Jul 2003 23:03:27 -0000 Message-Id: <20030707190521.X64707@localhost> Date: Mon, 7 Jul 2003 19:06:14 -0400 (EDT) From: Matthew George To: freebsd-gnats-submit@FreeBSD.org Subject: docs/54201: [PATCH] login(1) does not modify utmp/lastlog in 5.x X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2003 23:10:25 -0000 >Number: 54201 >Category: docs >Synopsis: [PATCH] login(1) does not modify utmp/lastlog in 5.x >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 07 16:10:22 PDT 2003 >Closed-Date: >Last-Modified: >Originator: mdg >Release: FreeBSD 5.1-RELEASE i386 >Organization: >Environment: System: FreeBSD mdg.secureworks.net 5.1-RELEASE FreeBSD 5.1-RELEASE #2: Tue Jun 10 11:13:46 EDT 2003 mdg@mdg.secureworks.net:/usr/src/sys/i386/compile/GENERIC i386 >Description: In 5.x, all utmp interaction was pulled out of login(1) and put in pam_lastlog(8). This patch removes utmp references, as well as changes wording towards the top indicating that pam(8) may be used to configure authentication services. The current doc is fairly indicates that login(1) must use password authentication. >How-To-Repeat: >Fix: Note: these changes only apply to 5.x and later Index: login.1 =================================================================== RCS file: /home/ncvs/src/usr.bin/login/login.1,v retrieving revision 1.24 diff -u -r1.24 login.1 --- login.1 16 Oct 2002 15:17:38 -0000 1.24 +++ login.1 7 Jul 2003 21:14:05 -0000 @@ -52,7 +52,9 @@ of the user fails, .Nm prompts for a user name. -Authentication of users is done via passwords. +Authentication of users is configurable via +.Xr pam 8 . +Password authentication is the default. .Pp The following options are available: .Bl -tag -width indent @@ -101,13 +103,6 @@ exists in the user's home directory, all of these messages are suppressed. This is to simplify logins for non-human users, such as .Xr uucp 1 . -The -.Nm -utility then records an entry in the -.Xr wtmp 5 -and -.Xr utmp 5 -files and executes the user's command interpreter. .Pp The .Nm @@ -139,12 +134,6 @@ login class capabilities database .It Pa /etc/motd message-of-the-day -.It Pa /var/run/utmp -current logins -.It Pa /var/log/lastlog -last login account records -.It Pa /var/log/wtmp -login account records .It Pa /var/mail/user system mailboxes .It Pa \&.hushlogin @@ -168,7 +157,6 @@ .Xr fbtab 5 , .Xr login.access 5 , .Xr login.conf 5 , -.Xr utmp 5 , .Xr environ 7 , .Xr pam 8 .Sh HISTORY -- Matthew George SecureWorks Technical Operations >Release-Note: >Audit-Trail: >Unformatted: