Displaying 20 results from an estimated 1300 matches similar to: "wtmp bug in OpenSSH"
2000 Mar 31
4
anomalous wtmp logging bug
I've noticed rather strange wtmp logging behavior in sshd. Can anyone
confirm or solve the following:
Once a user authenticates themself to sshd, sshd among other things
records the login in the wtmp, which `last` reads. However, sshd logs
hostnames which are longer than 16 characters instead of IPs like normal
programs would. As a result, I have useless entries such as:
tempest
2009 Oct 06
8
compiling issue 1.2.6 - Solaris
Heya,
I am expiriencing compiling issues on Solaris 8 and Solaris 10 boxes
with dovecot 1.2.6. On Solaris 8 the compiler is gcc 64bit 3.2.2, on
Solaris 10 gcc 3.4.3.
On both systems the compiling fails with:
/bin/bash ../../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2
-Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2
2000 Jan 13
0
new login library alpha release
Hi,
I've just posted an early alpha of a new login record library 'liblogin'
to my website -> http://dspace.dial.pipex.com/andre.lucas/openssh.html .
It's released as a patch, and it doesn't enable itself by default. Read
the instructions first!
This release is missing a lot of functionality, but is tested and
working on Linux (RH6.0 anyway) and OpenBSD. Why you might
2010 Jul 27
2
Cant compile managesieve 0.11.11 on Solaris10
hi,
i can't compile managesieve-0.11.11 on Solaris 10 against Sieve 0.1.17
and Dovecot 1.2.13:
[...]
gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
-Wbad-function-cast -I/usr/sfw/include -o managesieve-login client.o
client-authenticate.o managesieve-capability.o managesieve-proxy.o
cmd-noop.o
2009 Jul 07
4
Problems with Expire Plugin
Dear Sirs,
I try to configure expire plugin to delete emails older than 7 days from the Papelera
folder, but I do not see any information recorded in the expires table,
although there are emails that were copied before and after configuring
the plugin.
dovecot -n
# 1.1.16: /usr/local/etc/dovecot.conf
Warning: There is no way to login to this server: disable_plaintext_auth=yes, ssl-disable=yes,
2000 Jan 14
3
Failed password
I may have posted this before but got no reply.
I run sshd -d and try to login from another machine and this is what
happens:
gene at bubba:/usr/include/asm> sudo sshd -d
Password:
debug: sshd version OpenSSH-1.2.1
Server listening on port 22.
Generating 768 bit RSA key.
RSA key generation complete.
debug: Server will not fork when running in debugging mode.
Connection from 216.131.4.131 port
2012 Feb 24
3
Dovecot 2.1 with custom OpenSSL fails to build
Hello Dovecot users!
There seems to be a new dependency in some modules (eg, lib-storage,
libdovecot-lda, libdovecot-ssl) on OpenSSL. In Dovecot 2.0, those
modules didn't require OpenSSL, but 2.1 does.
For the linking process the path to the OpenSSL library isn't
specified properly (SSL_LIBS). Dovecot fails to build if OpenSSL
is in a non-standard path. (Haven't checked if SSL_CFLAGS
2000 Jan 19
1
New liblogin release
Hi,
I've just put a new version of liblogin[1] on my website. This version
is fully tested on Linux RH6, OpenBSD, HPUX10.20 and Solaris 2.6. It may
well work on other systems now, as it supports login(), [uw]tmp,
[uw]tmpx, and lastlog (filemode only.)
If you're feeling adventurous, please check out the web page and try it
out.
By 'tested', I mean that the library is known to
2000 Jan 31
0
New liblogin 0.3alpha
FYI a new version of liblogin, 0.3alpha, is up on my website at
http://dspace.dial.pipex.com/andre.lucas/liblogin.html
This version fixes a few bugs and has implementations for the full API,
including 'get last login time' support, even for systems without
lastlog.
New OpenSSH patches against 1.2.2 are also available, to enable the last
login time features. Again, the function (in
2002 Dec 18
1
wtmp repair - painless
hi,
from reiserfs it`s known to happen quite often - wtmp may be corrupted;
but actually I`m using only ext2/3 on the test machine.
After 7 days running the RH8 system I`ve noticed the first corruption of wtmp.
last shows only the line
wtmp begins Wed Dec 11 09:14:52 2002
and
/usr/sbin/dump-utmp wtmp
spits out the history,
e.g. the last line
|Sun Dec 15 14:36:34 2002
ithum
2002 Jan 09
1
64-bit HP/UX 11.00 wtmp corruption identified
I spent some time with 3.0.2p1 to discover why OpenSSH on HP/UX 11.00
64-bit corrupts the /var/adm/wtmp file. The problem is with the utmp
structure itself. When building with 32-bit compilation flags, the size
of the utmp structure is 60 bytes. When building under 64-bit, the size
is 72 bytes. The size difference is due to structure alignment and
using basic types whose size changes depending
2001 May 07
5
SSH and forced wtmp entries ...
Hi all!
wtmp entries are generated when loggin into a system without a command,
e.g. "ssh -l user system". When using an additional command executed by
ssh on the "other side", no wtmp entry will be generated. So the command
"ssh -l user system /bin/csh" will not generate a wtmp entry but the
user is logged in ... I have the problem right know. The users are starting
2011 Oct 21
0
[Bug 1946] New: AIX and /var/adm/wtmp
https://bugzilla.mindrot.org/show_bug.cgi?id=1946
Bug #: 1946
Summary: AIX and /var/adm/wtmp
Classification: Unclassified
Product: Portable OpenSSH
Version: 5.9p1
Platform: PPC
OS/Version: AIX
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo: unassigned-bugs at
2005 Apr 28
1
Openssh Solaris problem writing /var/adm/wtmp
Hi :-)
i have rollout a new ssh pakage in our environment.
Apr 27 12:06:03 systemx sshd[869]: [ID 847 auth.info] wtmp_write: problem
writing /var/adm/wtmp: No such file or directory
Solaris 8 has no /var/adm/wtmp, it use /var/adm/wtmpx
In the old package there was many of this messages
I compiled the new package with
--disable-wtmp \
--enable-wtmpx \
but sometimes one of this message are in
2005 May 03
1
which PID should be written to utmp/wtmp file
Hi,
For each user connection when privilege separation is enabled, 3 processes
are of interest for this topic.
1. sshd:[priv] - privileged user process.
2. sshd:user at pts/0 - user process.
3. shell - shell process.
Openssh code writes the #2. sshd:user at pts/0 - user process to the utmp/wtmp
file. Is this the correct behaviour.? Or should it write the #3. shell
2005 May 25
1
no wtmp updates
Please carbon-copy me on replies.
For some reason, my wtmp is never updated when I login via
openssh.
Some information about my system:
Linux kernel 2.6.9 running glibc-2.3.4. And the opensshd is openssh-3.9p1
(pkgsrc package openssh-3.9.1nb6).
$ ls -l /var/log/lastlog /var/log/wtmp /var/run/utmp
-rw-rw-r-- 1 root utmp 29492 May 25 13:12 /var/log/lastlog
-rw-rw-r-- 1 root
2002 Jul 04
0
[Bug 337] New: utmp/wtmp logging
http://bugzilla.mindrot.org/show_bug.cgi?id=337
Summary: utmp/wtmp logging
Product: Portable OpenSSH
Version: 3.1p1
Platform: ix86
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: sshd
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy: thomas at
2023 Apr 25
0
[PATCH] support for wtmpdb (Y2038 safe wtmp replacement)
Hi,
On Linux, glibc is using a 32bit time_t for wtmp and similar structs
even on a 64bit system:
https://www.thkukuk.de/blog/Y2038_glibc_utmp_64bit/
https://www.thkukuk.de/blog/Y2038_glibc_wtmp_64bit/
Since the glibc developers stated that they don't plan to solve the problem
in glibc, but think that this interfaces are legacy and should be
removed from glibc (like musl libc, which does not
2005 May 05
4
[Bug 1030] sshd writes twice to wtmp when "UseLogin" is yes
http://bugzilla.mindrot.org/show_bug.cgi?id=1030
Summary: sshd writes twice to wtmp when "UseLogin" is yes
Product: Portable OpenSSH
Version: 4.0p1
Platform: HPPA
OS/Version: HP-UX
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo: openssh-bugs at mindrot.org
2013 Jun 01
3
[Bug 2111] New: Android does not properly implement utmp or wtmp.
https://bugzilla.mindrot.org/show_bug.cgi?id=2111
Bug ID: 2111
Summary: Android does not properly implement utmp or wtmp.
Product: Portable OpenSSH
Version: 6.2p1
Hardware: All
OS: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Build system
Assignee: unassigned-bugs