Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Oct 1997 11:11:44 +0500 (ES)
From:      Vasim Valejev <vasim@uddias.diaspro.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/4862: pppd with PAP logs one user twice in wtmp
Message-ID:  <199710270611.LAA11655@uddias.diaspro.com>
Resent-Message-ID: <199710270620.WAA18290@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         4862
>Category:       bin
>Synopsis:       pppd with PAP logs one user twice in wtmp
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 26 22:20:01 PST 1997
>Last-Modified:
>Originator:     Vasim Valejev
>Organization:
DiasPro
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

	FreeBSD 3.0-CURRENT

>Description:

	when user logging via PAP , pppd creates two records in wtmp file with one username and tty . Example (from last command) :

***
baheman          ttyd5    :PPP             пн  27 окт 09:44 - 09:44  (00:00)
baheman          ttyd5                     пн  27 окт 09:44   still logged in
***

	pppd options : modem auth +pap -chap login

>How-To-Repeat:


>Fix:
	
	I use next fix :

*** auth.c.orig	Fri Oct 10 12:02:54 1997
--- auth.c	Mon Oct 27 11:10:48 1997
***************
*** 910,914 ****
  	tty += 5;
  
-     logwtmp(tty, user, remote_name);		/* Add wtmp login entry */
      logged_in = TRUE;
  
--- 910,913 ----
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710270611.LAA11655>