Displaying 20 results from an estimated 1100 matches similar to: "utmpx bug in openssh-2.1.0p2 using Solaris 8"
2002 Jan 16
0
OpenSSH: Solaris login and utmpx
We're trying to build OpenSSH 3.0.2p1 for Solaris 8 (among others) and are
running into a problem with UseLogin and utmpx.
If we set "UseLogin no" then we can login okay. finger or who won't find
us, even with a TTY allocated altough "who /etc/wtmpx" will find us.
But the real problem is if we set "UseLogin true" which we must do for BSM
support on some
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
2010 Jan 13
1
[Patch] Make OpenSSH work with FreeBSD's utmpx implementation
Hello all,
The next version of FreeBSD will use utmpx for its user accounting
database, as opposed to utmp which is used right now.
Unfortunately wtmpx and lastlog handling isn't standardized at all,
which is why we took the liberty to integrate all these databases into a
compact API, where setutxdb() can be used to switch to a different
database and getutxuser() to search for a USER_PROCESS
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
2015 Jan 20
0
[ANNOUNCE] sessreg 1.1.0
sessreg is used by display managers such as xdm and gdm to record X sessions
in utmp, wtmp, and lastlog files.
This release attempts to clean up some inconsistencies around the handling
of the various files.
Long long ago, Unix systems had a utmp file to record who was currently
logged in, and a wtmp file to record login history.
Long ago, extended versions of the files & APIs for them were
2000 May 26
4
openssh-2.1.0p2 ans Solaris 8
I have some troubles with subj and proper utmpx/wtmpx functionality.
After successfull ssh connect to Solaris 8 box, I run
#w
11:59am up 13:45, 1 user, load average: 0.00, 0.01, 0.02
User tty login@ idle JCPU PCPU what
root console 11:43am 9 bash
#
Record about my pts/1 login is absent. Next command I run from Solaris 8
console
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
2010 Mar 06
7
[Bug 1732] New: Proper utmpx support for FreeBSD HEAD
https://bugzilla.mindrot.org/show_bug.cgi?id=1732
Summary: Proper utmpx support for FreeBSD HEAD
Product: Portable OpenSSH
Version: 5.4p1
Platform: Other
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy: ed
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
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()
1999 Dec 20
2
Portability hacks + alpha HPUX1020 port
Hi,
Attached is a patch to 1.2.1pre18 that includes a number of portability
changes, and more a more complete HPUX10.20 implementation. Thanks to
Ben Taylor's utmpx patch, utmpx and wtmpx support are now in for HP,
with a few caveats. It compiles cleanly on HPUX10.20 with gcc, cleanly
on Linux, and with a few minor warnings on Solaris 2.6.
Most compat changes are made via autoconf which
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
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
1998 May 11
1
(wtmp) Suggestion to samba
Joao Carlos Mendes Luis <jonny@coe.ufrj.br> wrote:
> I think it would be useful if samba had a utmp log interface.
> I know that it's possible to see who is logged with smbstatus, but
> sometimes a simple who(1) or w(1) is more efficient and ubiquitous.
If you were to search for 'wtmp' in the 1997 archives
(via the Samba web pages), you would find one interesting
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
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.
2002 Aug 02
0
[Bug 378] New: sshd does not update utmp/utmpx records correctly when "UseLogin" feature on
http://bugzilla.mindrot.org/show_bug.cgi?id=378
Summary: sshd does not update utmp/utmpx
records correctly when "UseLogin" feature on
Product: Portable OpenSSH
Version: -current
Platform: MIPS
OS/Version: IRIX
Status: NEW
Severity: normal
Priority: P2
2001 Jul 18
0
configure: sense of --enable-utmpx test et al. reversed
it seems that --enable-utmpx and friends have the effect of disabling
the corresponding feature (i.e., #define-ing DISABLE_UTMPX etc.), which
leads to the (perhaps not so) obvious breakage of UseLogin on Solaris
etc. For the less anal (or reformed anal) configure-r who leaves these
unspecified, everything is OK
i'd suggest changes to configure.in, but i'm blissfully ignorant of
autoconf.
1999 Dec 27
2
Suggestion: login.c->record_login()
Hi,
A lot of the problems with openssh portability so far appear to be with
the login record functionality, i.e. lastlog support, and variations on
handling utmp vs. utmpx etc. Looking at for-profit SSH 1.2.27, login.c
is rather embarassing spaghetti code, so laden with '#ifdef's it's
almost impossible to read.
OpenSSH's code isn't anything like that, but then it doesn't
2008 Apr 27
1
patch to add utmps support for HP-UX 11.23 and above
Starting with 11.23 HP is using utmps as if we didn't already have
enough (utmp, wtmp, utmpx, wtmpx,... did I miss any??) .
Anyway, I added support for it in (before this patch no logins from
ssh were showing up on my 11.23 and 11.31 systems).
http://homepage.mac.com/gagnocg/downloads/hpux-cvs.diff