Displaying 20 results from an estimated 4000 matches similar to: "[Bug 348] New: infinite loop scanning wtmpx"
2001 Jun 29
1
wtmpx problem on Solaris 8 sparcv9 (64bit) environment
Hello
When I was using OpenSSH-2.9p2 in Solaris 8 sparcv9 (64bit)
environment, I found some trouble that wtmpx has broken.
The size of utmpx structure object becomes larger than 32 bit environment
in sparcv9 environment.Therefore, instead of using utmpx structure object,
using futmpx structure object is better.
In sparcv9 environment, futmpx structure object is used instead of utmpx
structure
2002 Jul 14
0
[Bug 348] infinite loop scanning wtmpx
http://bugzilla.mindrot.org/show_bug.cgi?id=348
tim at multitalents.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From tim at multitalents.net 2002-07-15
2001 Jan 29
1
Solaris wtmpx patch
Hi,
Solaris (tested with 2.6) needs a username in the logout record in the wtmpx
file. Currently openssh (version 2.3.0p1) leaves the username (utmpx.ut_user)
empty in logout records, which leads to conflicting results from the last
command. Example:
# last -5 siegert
siegert pts/186 stikine.ucs.sfu. Mon Jan 15 14:26 still logged in
siegert pts/105 stikine.ucs.sfu. Mon Jan 15
2002 Jul 09
0
[Bug 347] New: wrong macro used
http://bugzilla.mindrot.org/show_bug.cgi?id=347
Summary: wrong macro used
Product: Portable OpenSSH
Version: -current
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy: rodney at bond.net
This
2007 Jan 17
0
login_get_lastlog - nss enviornment - works in shell env, doesn't work when sshd calls it.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello to every one!
Maybe this is not exactly the right place,
but I don't know where to ask, so...
I have a FreeBSD-6-STABLE machine,
setuped with custom nss lib which reads from pgsql database.
It seems to be working just fine except
that I can't login trought ssh, when trying the normal method.
When I do
$>ssh host.com tcsh
I get
2001 Mar 22
0
Solaris UseLogin problem
I was having problems getting the UseLogin option to work
on Solaris.
I would recieve this error:
No utmpx entry. You must exec "login" from the lowest level "shell".
This led me to believe that Solaris login wants a utmpx entry in
order to function. I put together a patch that calls record_login
on Solaris when using the system login. I also noticed that writing
a wtmpx
2000 Jul 04
0
AW: FreeBSD 3.5-STABLE
At 08:15 04/07/00 +0200, Bladt Norbert wrote:
>> Darren Evans [SMTP:darren at horseplay.demon.co.uk] wrote:
>>
>> gcc -g -O2 -Wall -I/usr/local/ssl/include -DETCDIR=\"/usr/local/etc\"
>-DSSH_PROGRAM=\"/usr/local/bin/ssh\" -
>> DSSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh/ssh-askpass\"
>-DHAVE_CONFIG_H -c loginrec.c
>> loginrec.c:
2001 Jun 06
0
Remove duplicate "last" log messages with UseLogin
Using UseLogin on a system that has to twiddle utmpx before calling
login currently also twiddles wtmpx, and this causes problems on Solaris
in the "last" log. Changing the source to avoid modifying wtmpx when
also modifying utmpx fixes things up nicely:
Index: loginrec.c
--- loginrec.c 2001/05/08 20:33:06 1.33
+++ loginrec.c 2001/06/06 17:14:25
@@ -456,9 +456,10 @@
# endif
# ifdef
2004 Jul 08
1
openssh 3.8.1p1 problem on SCO 5.0.7
On SCO 5.0.7 and openssh 3.8.1p1, two entries are written to /etc/wtmp
and /etc/wtmpx each time a user logs in via ssh. This can be
demonstrated using the last(C) command. Any user connected via ssh will
have two identical login and logout entries.
On SCO, login_write() in loginrec.c calls both wtmp_write_entry() and
wtmpx_write_entry() (USE_WTMP and USE_WTMPX are defined).
wtmp_write_entry()
2006 Feb 04
2
OpenSSH 4.3P1: incorrect wtmpx entries
Hi,
I just installed OpenSSH 4.3p1 on our Solaris 8 machines and 'last' now
shows wtmpx entries for ssh logins like
zierke pts/4 Thu Jan 1 01:00 still logged in
zierke pts/3 Thu Jan 1 01:00 - 10:56 (13183+09:
instead of e.g.
zierke pts/3 rzdspc10.informa Sat Feb 4 10:54 - 10:54 (00:00)
zierke pts/2
2009 Dec 25
2
[openssh-portable] utmpx and ut_name
Hello OpenSSH hackers,
The last couple of weeks I've been figuring out how hard it is to
replace FreeBSD's <utmp.h> with <utmpx.h>. I don't think utmpx is
perfect, but at least it's better than what we have now and at least it
has gone through some form of standardisation. I noticed POSIX says the
following [1]:
| The <utmpx.h> header shall define the utmpx
2000 Sep 13
0
Solaris wtmp/wtmpx handling
It appears to be a pervasive assumption in the Portable OpenSSH code
that wtmp and wtmpx records for the end of a session do not need to
include the user name or hostname. Unfortunately Solaris appears not to
go along with that assumption; the Solaris "last" command shows all
login sessions initiated by OpenSSH as never terminating, or sometimes
terminating with the user's next
2003 Jan 08
0
[Bug 464] New: sshd seems to corrupt the wtmpx
http://bugzilla.mindrot.org/show_bug.cgi?id=464
Summary: sshd seems to corrupt the wtmpx
Product: Portable OpenSSH
Version: 3.5p1
Platform: UltraSparc
OS/Version: Solaris
Status: NEW
Severity: minor
Priority: P4
Component: sshd
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy: pas50
2001 Apr 29
2
PATCH: UseLogin fix for 2.9p1 (w/improved last-login time)
Attached is the latest version of my UseLogin patch that makes
"UseLogin true" work on Solaris and UNICOS. As usual, I have provided
configure.in changes that set the appropriate defines for Solaris, but
I have not provided the configure.in changes for UNICOS (since they
would be incomplete, and Wendy is working on this).
This version fixes a problem with the last-login time always
2002 Feb 24
1
[Bug 122] sshd does not update wtmpx at end of session
http://bugzilla.mindrot.org/show_bug.cgi?id=122
------- Additional Comments From tim at multitalents.net 2002-02-25 05:32 -------
I spent some time looking into this. Initially I did see that last was reporting
users still logged in that had logged out of their ssh connection. I noticed
logintest showed everything working as expected. Now I can not duplicate the
problem. I didn't change
2001 Apr 04
1
Solaris UseLogin problems
I'm using openssh 2.5.2p2 on Solaris-x86 2.6. I ran into a couple
problems when I set UseLogin to "yes":
The big one seems to have been reported before: login refuses to run
without a utmpx entry. This problem appears to have been caused by
the changes in revision 1.24 of session.c. Before this revision, the
record_login() function was always called, no matter how UseLogin was
2002 Oct 24
1
[SUMMARY] Problems with 'last' (when OpenSSH compiled 64-bit)
Problem:
'last' output is incorrect, /var/adm/wtmpx is corrupted. Example:
foster pts/1 Wed Dec 31 16:00 still logged in
foster pts/3 dim Thu Aug 1 14:34 still logged in
Solution: (workaround)
This turned out to be an OpenSSH problem! If OpenSSH (only tested
versions 3.4p1 and 3.5p1) is compiled 64-bit it corrupts the
/var/adm/wtmpx
2000 Jun 12
1
AIX and 2.1.1p1
The new login code works fine with AIX 4.3. Two nits, though. If
--disable-lastlog is defined, the code still tries to slog through wtmp
to determine the last login time. Is this a bug or a feature? If a
feature, change the DISABLE_LASTLOG test below to WITH_AIXAUTHENTICATE.
Also, a small typo in configure.in, plus an AIX tweak.
--- configure.in.orig Thu Jun 8 21:58:35 2000
+++ configure.in Mon
2012 Mar 06
6
openssh static build - mission impossible?
I am trying to build a static version of ssh, sshd and sftp, but after banging my head against the wall for the best part of the last 3 days I am about to give up...
Since I plan to use this on an embedded device (building dropbear is *NOT* an option!), I've excluded as many openssh configure options as I can but, ultimately, failed. This is my setup:
export LDFLAGS=' -pie -z relro -z
2001 Mar 06
3
utmpx/wtmpx problems with 2.5.1p2 on irix...
I installed 2.5.1p2 on an irix system and noticed that if a user logged
in typed "logname" it was providing the wrong username. File creations
were correct, "w" produces the correct output....so something is funky
in p2 that wasn't there in p1.