<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>588</bug_id>
          
          <creation_ts>2002-02-10 15:32:01 +0300</creation_ts>
          <short_desc>last shows a fake 0 sec. entry in wtmp before any real user session</short_desc>
          <delta_ts>2003-08-25 15:18:28 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>login</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="imz">vanyaz</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>placeholder</cc>
    
    <cc>vt</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>559</commentid>
    <comment_count>0</comment_count>
    <who name="imz">vanyaz</who>
    <bug_when>2002-02-10 15:32:01 +0300</bug_when>
    <thetext>Just look at this output from last, there were no real 0 sec. sessions:

[&lt;a href=&quot;mailto:imz@altair&quot; target=&quot;_new&quot;&gt;imz@altair&lt;/a&gt; imz]$ last -20 imz
imz      pts/7        shamrock.office. Sun Feb 10 15:39   still logged in
imz      pts/7        shamrock.office. Sun Feb 10 15:39 - 15:39 (00:00)
imz      pts/5        212.45.20.210    Sun Feb 10 12:29   still logged in
imz      pts/5        212.45.20.210    Sun Feb 10 12:29 - 12:29 (00:00)
imz      pts/9        shamrock.office. Sat Feb  9 23:10 - 23:10 (00:00)
imz      pts/9        shamrock.office. Sat Feb  9 23:10 - 23:10 (00:00)
imz      pts/5        212.45.20.210    Sat Feb  9 21:59 - 23:49 (01:49)
imz      pts/5        212.45.20.210    Sat Feb  9 21:59 - 21:59 (00:00)
imz      pts/24       212.45.20.210    Sat Feb  9 19:47 - 21:36 (01:48)
imz      pts/24       212.45.20.210    Sat Feb  9 19:47 - 19:47 (00:00)
imz      pts/9        212.45.20.210    Sat Feb  9 19:22 - 21:25 (02:02)
imz      pts/9        212.45.20.210    Sat Feb  9 19:22 - 19:22 (00:00)
imz      pts/7        212.45.20.210    Sat Feb  9 18:18 - 18:22 (00:03)
imz      pts/7        212.45.20.210    Sat Feb  9 18:18 - 18:18 (00:00)
imz      pts/7        212.45.20.210    Sat Feb  9 18:16 - 18:18 (00:02)
imz      pts/7        212.45.20.210    Sat Feb  9 18:16 - 18:16 (00:00)
imz      pts/7        212.45.20.210    Sat Feb  9 15:51 - 18:15 (02:24)
imz      pts/7        212.45.20.210    Sat Feb  9 15:51 - 15:51 (00:00)
imz      pts/14       212.45.20.210    Sat Feb  9 02:00 - 02:05 (00:04)
imz      pts/14       212.45.20.210    Sat Feb  9 02:00 - 02:00 (00:00)

wtmp begins Fri Feb  1 04:02:02 2002
[&lt;a href=&quot;mailto:imz@altair&quot; target=&quot;_new&quot;&gt;imz@altair&lt;/a&gt; imz]$

The fake 0 sec. sessions make reading the list difficult.

---

---
Probably this is not a bug of last from SysVinit, but I can\&apos;t find a better category for the bug report.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3233</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2002-02-11 15:02:31 +0300</bug_when>
    <thetext>No, last is innocent.

The bugs are in sshd/login pam configs.
They do lastlog manipulations and use pam_lastlog - it\&apos;s mutially exclusive.

Default login and sshd configs are affected.

Relocating bug report to login package.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6598</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2002-02-11 15:02:31 +0300</bug_when>
    <thetext>No, last is innocent.

The bugs are in sshd/login pam configs.
They do lastlog manipulations and use pam_lastlog - it\&apos;s mutially exclusive.

Default login and sshd configs are affected.

Relocating bug report to login package.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3234</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2002-03-12 19:44:02 +0300</bug_when>
    <thetext>Problem fixed in
login-0.60-alt11
openssh-3.0.2p1-alt2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6599</commentid>
    <comment_count>4</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2002-03-12 19:44:02 +0300</bug_when>
    <thetext>Problem fixed in
login-0.60-alt11
openssh-3.0.2p1-alt2</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>