Bug 118855
Summary: | I can't see "Last login" message after logged via ssh | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Marcin Zajaczkowski <mszpak> |
Component: | openssh | Assignee: | Nalin Dahyabhai <nalin> |
Status: | CLOSED UPSTREAM | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 1 | CC: | bart.martens |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-03-22 06:17:42 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Marcin Zajaczkowski
2004-03-21 18:31:05 UTC
openssh-server-3.6.1p2-19 Bug known upstream, see: http://bugzilla.mindrot.org/show_bug.cgi?id=463 Workaround: chmod a+r /var/log/lastlog The bug exists also on Debian sarge with ssh 3.6.1p2-12, but there the lastlog file is already world readable, so the problem doesn't occur. The file /var/log/lastlog by default seems to have 600 permissions (-rw-------). The program finger consults this file to find the date/time of a user's last login (unless the user is currently logged in). This means that, unless you give world read permission on this file, a second symptom will be that fingering any user not presently logged in will yield "Never logged in." (This took me a while to track down because I erroneously assumed finger just read /var/log/wtmp.) --Mike |