/var/adm/lastlog grows enormously big

/var/adm/lastlog grows enormously big

Post by Michal Szymans » Thu, 24 Mar 1994 19:32:26



Hi,

I'm using Slackware 1.1.2, kernel 1.0. The file "/var/adm/lastlog"
grows enormously - after a few days it has 512kB, mostly zeros.

Any hints?

regards, Michal.

****************************************************************************


  Al. Ujazdowskie 4                   Voice:    48-22-294011 ext 23
  00-478 Warszawa, POLAND             FAX:      48-22-294967
****************************************************************************

 
 
 

/var/adm/lastlog grows enormously big

Post by Florian La Roc » Mon, 11 Apr 1994 04:01:18


: Hi,

: I'm using Slackware 1.1.2, kernel 1.0. The file "/var/adm/lastlog"
: grows enormously - after a few days it has 512kB, mostly zeros.

: Any hints?

That file is just as big as your highest uid in /etc/passwd.
So if you have some uid as 200000, you will have a big lastlog file.
If you do not want to know, when you have logged in the last time,
you could just edit /etc/login.defs and say LAST_LOG no" in it.
(About that syntax, I am not sure.)

Florian  La Roche

: regards, Michal.

: ****************************************************************************


:   Al. Ujazdowskie 4                   Voice:    48-22-294011 ext 23
:   00-478 Warszawa, POLAND             FAX:      48-22-294967
: ****************************************************************************

 
 
 

/var/adm/lastlog grows enormously big

Post by J.S. van Oost » Thu, 14 Apr 1994 11:49:24




: : Hi,

: : I'm using Slackware 1.1.2, kernel 1.0. The file "/var/adm/lastlog"
: : grows enormously - after a few days it has 512kB, mostly zeros.

: : Any hints?

: That file is just as big as your highest uid in /etc/passwd.
: So if you have some uid as 200000, you will have a big lastlog file.
: If you do not want to know, when you have logged in the last time,
: you could just edit /etc/login.defs and say LAST_LOG no" in it.
: (About that syntax, I am not sure.)

Yes, but also Linux has a "smart" filesystem in that all the empty blocks in
between (filled with 0s) are not stored... with the 'du' command you can see
the real diskspace it occupies.

J. v. O.

--
Sometimes I wonder if this whole universe isn't anything more than a
simulation on a BIG computer. And they just might press Ctrl-C any time
now...
--
My PGP public key [version 2.3] (you know when, why and how...) :
mQCNAi1lYqsAAAEEAMCgUKS7DxyGF8D7QIGYXxRuh2n9Q2+5gIrrb1n9iOl4Xlgo
cO8Y3DE71J5K6WhlpEGDqXZIwY/Xx8mxq80ZHJ3n0pHOUxOQGdxxMT1mrKotjE4Y
wmGqnQhMhpcCKgT/5+5xhuMEluyGQqjyud3PCDogJCC/Sia7eO9+56e/13btAAUR
tC1KLlMuIHZhbiBPb3N0ZW4gPGp2b29zdGVuQGNvbXBpbGVyLnRkY25ldC5ubD4=
=3brb

 
 
 

1. what is /var/adm/lastlog and /var/adm/wtmp ?

Hi there,

I am wondering what are the files:
/var/adm/lastlog
and
/var/adm/wtmp ?

they are getting pretty big in size:  the lastlog is 900k right now...if
they are not needed, I will just delete them from my hard disk.

Thanks in advance for any info.

Jack

--
****************                                              )*(
Jack Y. Duan                                                  >:<
UCS-PCFC Consultant                                           .|.
Computer Science Dept., Indiana University, Bloomington, IN  ( . )

2. Epson color stylus 800 - Linux drivers ?

3. /var/adm/lastlog file grows fast

4. AIX 3.2.3 Extended

5. why does /var/adm/wtmp grow and grow and grow ...

6. XF86Config for Compaq Pressario CDS 742 ?

7. More /var/adm/lastlog blues...

8. Via-rhine crashing

9. /var/adm/lastlog format

10. how do you view /var/adm/lastlog?

11. /var/adm/lastlog wierdness

12. /var/adm/lastlog

13. monitoring /var/adm/lastlog