Displaying 20 results from an estimated 277 matches for "lastlog".
2006 Mar 03
0
[PATCH] contrib/cygwin/ssh-host-config: Handle lastlog with more care
Hi,
below is a patch to Cygwin's ssh-host-config file. So far this script
allowed to have a lastlog file as well as a lastlog dir, whatever the
user preferred. This is no problem as long as ssh is the only
application using lastlog, but that's nothing we can be sure about, so
we decided to restrict lastlog to being a file in a Cygwin installation.
This also allows reliable porting and use of...
2005 Nov 06
4
Size of /var/log/lastlog
Hi,
Can any of you explain this weirdness:
[root at machine log]# cd /var/log/
[root at machine log]# ls -la|grep last
-r-------- 1 root root 1254130450140 Nov 6 21:44 lastlog
[root at machine log]# du -hs lastlog
52K lastlog
What's up with the output of ls? This is x86_64.
Thanks,
Morten
1999 Dec 23
0
Patch to make pre19 work with NetBSD
The pre19 code assumes that struct lastlog either exists in lastlog.h or
isn't there. On NetBSD, struct lastlog is defined in utmp.h. Even worse,
the non-lastlog code in login.h is terrible on NetBSD (since NetBSD
doesn't have a ut_type struct member).
With the patch below, openssh will compile and run on NetBSD again.
Thanks,
Dav...
2004 Jan 26
6
Kernel modules listing
Hi all,
please, is there some utility/command/... to list all installed kernel
modules ?
Peter Rosa
2001 Jan 30
1
HP-UX lastlog / contrib
Hi,
just built 2.3.0p1 on HP-UX 10.20 more or less smoothly
>From 1.2.3 I had documented --without-lastlog, can't
remember why, broke something.
So I tried my old configure settings for 2.3.0
which seams to break stuff:
loginrec.c:1338: warning: `struct lastlog' declared inside parameter list
some more dereferencing pointers and then Error 1 [of course]
Omitting the --without-lastlog all is...
2018 Jan 30
4
logging in
This is.... odd.
We're seeing a *lot* of
sshd[8400]: Timeout, client not responding.
So I'm trying to find out whose client is having issues. Trying to figure
that, after processes are gone, I tried looking in lastlog, which is where
it gets odd. lastlog shows root coming in, and it shows a security account
coming in... years ago.
I see one of our users logging in a goodly number of times... but lastlog
doesn't show him. I just logged in as myself, no password, using keys...
and lastlog doesn't show me,...
2005 Sep 06
1
/var/log/lastlog on x86_64
Hi list,
this problem is already known and I'm sorry to bother if an acceptable
workaround was already debated on the list.
I was getting trouble with a 'grep something /var/log*' which caused the
"Memory exhausted" message. With some deeper search I found the lastlog
file in /var/log/ to be 1.2T sized. This seems to come from the
nfsnobody's uid to be 4294967294 on x86_64 system (and -1 on i386) and
the pre-allocation space for every uid (so from 0 to
...4294967294...hum..) from lastlog.
Since I do not use NFS at all, can I just erase the nfsnobody fro...
2001 Sep 06
1
lastlog on Solaris with PAM (patch included)
On Solaris, the pam_unix module includes a pam_session which updates the
lastlog file. Since OpenSSH calls pam_session before reading the lastlog
file, SSH logins to systems with this configuration (as well as similar
ones, I'd imagine) report the last login time and remote host as the values
from the current session.
My solution to this problem is to call pam_open_sessio...
2000 Aug 03
1
lastlog_get_entry error on IRIX
Precedence: bulk
Hi,
I'm getting the error:
sshd[71835]: lastlog_get_entry: Error reading from /var/adm/lastlog: Error 0
from openssh 2.1.1p4 on IRIX (6.5.8m). Looks like there's some confusion
about /var/adm/lastlog being a directory and not a file on IRIX.
./configure says:
checking for lastlog... no
checking if your system defines LASTLOG_FILE... no...
2000 Dec 28
1
Bug in lastlog printing
Hi,
I just ltraced ssh to see why it prints the lastlog twice instead of one
time. I think the bug seems to be in the parsing of the lastlog-entry
and I especially think that the function lastlog_populate_entry is the
buggy one, but I'm not sure, as I'm not very familar with the code. So
if someone of you, would please trace this bug down and fi...
2001 Sep 27
1
AIX lastlog change?
Somewhere between 2.9p1 and 2.9.9p2 there was a change to auth2.c that
removed the userauth_reply() function. There were a few lines of code
in that function, #ifdef'd with WITH_AIXAUTHENTICATE, that handled the
AIX method of lastlog type stuff (specifically, a loginsuccess() call).
There is a similar call in auth1.c, down in do_authentication(), which
is still there in 2.9.9p2.
So with 2.9.9p2, the lastlog stuff is handled properly if you connect
with protocol version 1, but not with protocol version 2. Looking at
the code a...
2010 Sep 13
5
[Bug 1817] New: lastlog is not recorded with the big uid
https://bugzilla.mindrot.org/show_bug.cgi?id=1817
Summary: lastlog is not recorded with the big uid
Product: Portable OpenSSH
Version: 5.6p1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo: unassigned-bugs at mindrot.org...
2014 Sep 17
5
[Bug 2278] New: 'configure --disable-lastlog' should mark PrintLastLog as unsupported in servconf.c
https://bugzilla.mindrot.org/show_bug.cgi?id=2278
Bug ID: 2278
Summary: 'configure --disable-lastlog' should mark PrintLastLog
as unsupported in servconf.c
Product: Portable OpenSSH
Version: 6.6p1
Hardware: All
OS: Solaris
Status: NEW
Severity: minor
Priority: P5
Component: sshd...
2001 Sep 12
3
lastlog with hp-ux 10.20
i haven't heard of problems with configure/lastlog on 10.20. i'll copy
the development list as there are folks there who use 10.20.
On Thu, 6 Sep 2001, Jesse Caldwell wrote:
:one last problem with openssh -- building openssh on HPUX 10.20 fails
:on loginrec.c (i don't have the errors handy but i would be more than
:happy to recreate them)...
1999 Nov 19
1
[solaris 7 patch] resubmit and extended ...
Okay, everything as the first large one I sent today, with a few extra
mods. _PATH_MAILDIR is only used in sshd.c, that I can see, so moved the
#ifdef from config.h.in to there.
several files had __progname defined in the middle of the code, as well as
at the top of the code, so cleaned those out.
all the fixes for u_int32_t -> uint32_t and u_int16_t -> uint16_t, plus
added appropriate
2000 Jul 27
2
bug in lastlog logging?
Folks;
I couldn't find anything on my archive of the mailing list on this,
and it may just be my mis-understanding, but:
When I "ssh machine1 -l user1" as user2 on machine2, if user2 has the
same uid on machine1, then user2's name ends up in lastlog, instead of
user1's.
This is a bit disconcerting when user2 is root, and root isn't allowed
to remotely log in on machine1.
I haven't dived into the code yet? Is the bug in openssh, or my
understanding?
This is with machine1 running openssh-2.1.1p1 under RedHat Linux 6.2,
and machin...
2000 Jun 13
2
Openssh-2.1.1p1 and solaris 7/8
...n 13 12:31:27 2000 from jhorne.csd.plymo:tJ`
^[[?1;2c
Telnet logs in okay, but just shows 'Last login...jhorne.csd.plymo'.
This seems to get passed to the shell, which it of course errors on. I do,
however, actually login okay. This is seen on both systems. As a test I
purged the /var/adm/lastlog file - logged out, logged in - this was okay.
Logged out and logged in again, and got the same problem.
I upgraded from 2.1.0p3 to fix the utmpx problem; that version did not
exhibit this problem. So far the utmpx problem hasn't recurred though :-)
I configured both systems using:
./config...
2006 Feb 02
0
Report of some warning during openssh 4.3 configure
Host: sparc-sun-solaris2.9
./configure --prefix=/usr/local/openssh --with-skey=/usr/local/skey \
> --with-ssl-dir=/usr/local/openssl CC=cc CFLAGS=-O \
> LDFLAGS="-L /usr/local/skey/lib -R /usr/local/skey/lib"
checking lastlog.h presence... yes
configure: WARNING: lastlog.h: present but cannot be compiled
configure: WARNING: lastlog.h: check for missing prerequisite
headers?
configure: WARNING: lastlog.h: see the Autoconf documentation
configure: WARNING: lastlog.h: section "Present But Cannot Be
Compiled&qu...
2006 Feb 02
0
1. Configure problems on openssh-4.3p1, SunOS 5.8
Trying to make openssh-4.3p1 with openssl-0.9.8a and zlib-1.2.3
uname -a
SunOS gauss.hg.med.umich.edu 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-80
Doing the configure I got these messages.
checking lastlog.h presence... yes
configure: WARNING: lastlog.h: present but cannot be compiled
configure: WARNING: lastlog.h: check for missing prerequisite headers?
configure: WARNING: lastlog.h: see the Autoconf documentation
configure: WARNING: lastlog.h: section "Present But Cannot Be Compiled&qu...
2013 Dec 04
1
lastlog oddity
This is very odd. I updated a user's workstation yesterday. This morning,
I ran lastlog | grep -v Never, and it shows only another admin and myself,
and that's from days ago, but not the user. It shows her as "Never logged
in". Meanwhile, last does indeed show her logged in (though not today).
Anyone have any ideas?
mark