[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Debian 2.0 last, wtmp broken



I have a different (but related?) problem with last.  After upgrading to 2.0
a few days ago I noticed that logins via X don't show up in last.  who
works just fine.  Apparently xterm puts something in utmp but not wtmp?...

I seem to recall something about this.  Unfortunately, I've slept since
then.  Anybody remember?

jim

----------
From: 	Eric Fain[SMTP:Eric.Fain@colorado.edu]
Sent: 	Thursday, August 27, 1998 3:14 PM
To: 	debian-user@lists.debian.org
Cc: 	The recipient's address is unknown.
Subject: 	Re: Debian 2.0 last, wtmp broken


Unfortunately, repeating the procedure described in autoup.sh has not been
successful.
Your operation of last doesn't sound right to me, unless you have last
aliased to something.  In my case however, logging in as root does not
give me any more entries than before (zero). 

Does everyone else use last? It occurs to me that maybe people who don't
have a lot of users on their systems might not have tried last since
upgrading to hamm.

Perhaps there is a configuration file that controls this logging? In my
/etc/login.defs I have LASTLOG_ENAB yes  and LOG_OK_LOGINS yes
but perhaps there is something else. 

______________________________________________________________
Eric Fain                   DSP/Communications Lab
                            (303)492-2759
eric.fain@colorado.edu      University of Colorado, Boulder CO
______________________________________________________________                 

On Thu, 27 Aug 1998, Jay Barbee wrote:

> It sounds as if you did changing over of wtmp and utmp correctly.  I however did 
> not.  I actually touched wtmp and copied /dev/null to utmp before I rebooted my 
> newly install hamm for the first time.  This gave me garbage for last.  So I redid 
> the steps pointed out by the upgrade FAQ, and rebooted for safe measure.  
> Last works fine now.
> 
> One thing I noted, and I am not sure if this is how it shoul actually work, but 
> when I am logged in as root, last has several entries, but when I am logged in 
> as a user, it only shows a couple if any at all.
> 
> --Jay Barbee
> 
> > I have 4 machines running Debian, three of which I have upgraded to 2.0
> > (hamm) from 1.3.1 using autoup.sh. I have followed the instructions
> > contained therein regarding utmp and wtmp, (repeatedly) but my last
> > command does not work properly on any of these machines:
> >  "last" returns with nothing except "wtmp begins ..." 
> > though "who" seems to be ok
> > In fact, everything else works great.
> > 
> > I have noted the posting regarding this problem with the suggestion of
> > reinstalling the shellutils package. Does this work? dselect seems to
> > indicate that removing this will break my system.   
> > 
> > I would appreciate any help on this problem
> > 
> > Thank you.
> > ______________________________________________________________
> > Eric Fain                   DSP/Communications Lab
> >                             (303)492-2759
> > eric.fain@colorado.edu      University of Colorado, Boulder CO
> > ______________________________________________________________            
> >     
> > 
> > 
> > --  
> > Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org <
> > /dev/null
> > 
> 
> 
> 


--  
Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null



Reply to: