Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26100 - Missing lastb and /var/log/btmp from baselayout
Summary: Missing lastb and /var/log/btmp from baselayout
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-06 21:22 UTC by Steven Elling
Modified: 2003-08-07 03:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Elling 2003-08-06 21:22:07 UTC
When I logged into my firewall and tried to run lastb, I found that lastb was 
not available.  I am using baselayout-1.8.6.8-r1. 

Reproducible: Always
Steps to Reproduce:
1. Try to run lastb using baselayout-1.8.6.8-r1. 
Actual Results:  
My shell BASH output "-bash: lastb: command not found" 

Expected Results:  
If lastb were available and the file /var/log/btmp existed, it should of 
displayed a list of bad login attempts. 

To correct this make /bin/lastb a symbolic link to /bin/last. 
 
In order to enable bad login attempts, the file /var/log/btmp must exist.  
Otherwise, lastb will output "/var/log/btmp: No such file or directory. Perhaps 
this file was removed by the operator to prevent logging lastb info."  To 
enable bad login attempts baselayout should create /var/log/btmp. 
 
Also, I think /var/log/wtmp and /var/log/btmp should be rotated once a month or 
so.  What do you think?
Comment 1 SpanKY gentoo-dev 2003-08-06 21:32:19 UTC
upgrade to sys-apps/baselayout-1.8.6.10 
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-08-07 03:58:39 UTC
Yep, in since 1.8.6.9.  Add a cron job for the logs, or open a new bug
for whoever doing the crons.