Displaying 20 results from an estimated 1000 matches similar to: "[Bug 110] New: bogus error messages in lastlog_get_entry()"
2003 Feb 11
0
[Bug 492] New: Spurious error message from loginrec when attempting to login in with the highest uid for the first time.
http://bugzilla.mindrot.org/show_bug.cgi?id=492
Summary: Spurious error message from loginrec when attempting to
login in with the highest uid for the first time.
Product: Portable OpenSSH
Version: 3.5p1
Platform: ix86
OS/Version: BSDI
Status: NEW
Severity: trivial
Priority: P2
2014 May 22
0
[PATCH] openssh - loginrec.c - Non-atomic file operations.
Hi all.
I rewrited lastlog_openseek function. Now is little more atomic when
file operations on lastlog file happens.
For more details why separate stat and open isn't so safe please take a
look at: http://www.akkadia.org/drepper/defprogramming.pdf
Have nice day
Robin Hack
-------------- next part --------------
diff --git a/loginrec.c b/loginrec.c
index 4219b9a..281d650 100644
---
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
but I still gets the error
2000 Jul 26
2
[2.1.1p4] utmp related patches plus unresolved bugs description
Fixed:
-- On systems such as SunOS4 where the system include files
are no help in locating the utmp file (et al.), configure
can define their location in CONF_*, but defines.h never used
these.
-- Might as well put in the usual location for SunOS4.
-- In loginrec.c (utmp_write_direct), writing to the utmp file
was not done correctly.
Remaining:
-- At logout, the utmp entry cannot be
2000 Aug 01
2
[2.1.1p4] utmp patch for SunOS 4.1.x
Follow-on to Charles Levert's <charles at comm.polymtl.ca> work on
utmp_write_direct.
Fixed:
-- At logout, the utmp entry is cleared. Tested on SunOS 4.1.4.
The code I added to loginrec.c is restricted to SUNOS4 pending
QA testing on other platforms.
This patch incorporates the work done by Charles Levert on
7/25/2000 00:43:22. (Do any of us sleep at
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
ReportedBy:
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
2003 Apr 08
1
[Bug 539] open() requires 3 arguments when using O_CREAT
http://bugzilla.mindrot.org/show_bug.cgi?id=539
Summary: open() requires 3 arguments when using O_CREAT
Product: Portable OpenSSH
Version: 3.6p1
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: P2
Component: sshd
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy:
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
2003 Jan 07
0
[Bug 110] bogus error messages in lastlog_get_entry()
http://bugzilla.mindrot.org/show_bug.cgi?id=110
djm at mindrot.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From djm at mindrot.org 2003-01-07 16:47
2003 Feb 12
0
[Bug 110] bogus error messages in lastlog_get_entry()
http://bugzilla.mindrot.org/show_bug.cgi?id=110
djm at mindrot.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |anissen at securecomputing.com
------- Additional Comments From djm at mindrot.org 2003-02-12 11:58 -------
*** Bug 492 has been marked
2000 Sep 12
0
OpenSSH 2.2.0p1 port to QNX 4
Dear OpenSSH porting developers,
finally I succeded in porting OpenSSH to QNX 4.
To get things going I had to take over some definitions from Linux'
include files, since they are not available under QNX (e.g. the howmany
makro, NFDBITS, the lastlog structure). With this email I send a patch
with all my changes as well as the file "qnx-term.h" which I created
because IXANY and
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 Dec 29
0
[Bug 460] New: ut_addr_v6 not used
http://bugzilla.mindrot.org/show_bug.cgi?id=460
Summary: ut_addr_v6 not used
Product: Portable OpenSSH
Version: 3.5p1
Platform: All
URL: http://bugs.debian.org/167867
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo: openssh-unix-dev at
2001 Aug 21
0
Resend: loginrec.c patch
I'm resending this patch just in case it got lost.
The first hunk of the patch fixes a problem with the LOGIN_NEEDS_UTMPX
support in that the date was not being set in the logininfo structure
(causing wrong timestamps in the "last" log).
The second hunk just omits the USE_WTMPX code in the LOGIN_NEEDS_UTMPX
section if USE_UTMPX is defined. This prevents duplicate events in the
2001 Jun 06
1
One more UseLogin tweak
One other thing I noticed in the record_utmp_only() function is that
it wasn't setting the timestamp in the logininfo structure. The
following patch takes care of this:
--- old/loginrec.c Wed Jun 6 11:12:14 2001
+++ loginrec.c Wed Jun 6 11:13:42 2001
@@ -448,6 +448,8 @@
login_utmp_only(struct logininfo *li)
{
li->type = LTYPE_LOGIN;
+ /* set the timestamp */
+
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:
2005 Nov 21
1
[PATCH] 64 bit clean compilation patches
Hello All,
Attached is a patch against the portable openssh sources found at
openssh at anoncvs.at.openbsd.org:/cvs. The majority of the size of the
patch comes from changes to the build system to supply the required
format specifications if they are not provided by the OS. These patches
remove the following warnings found during a 64-bit compile:
hostfile.c: In function
2003 Oct 21
2
HP-UX 10.20 assistance
To Whomever can assist,
I am looking for anyone who has gotten OpenSsh 3.7.1p2 to build under
HP-UX 10.20. I am working with the latest gcc (v. 3.3.1), gmake (v. 3.80),
and Openssl (0.9.7c) and I still can not get OpenSsh to build properly.
It errors out on the build process with a:
loginrec.c:1405: dereferencing pointer to incomplete type
cing pointer to incomplete type
loginrec.c:1514:
2002 Jan 29
0
[Bug 84] New: last command provides incorrect information on Solaris 8
http://bugzilla.mindrot.org/show_bug.cgi?id=84
Summary: last command provides incorrect information on Solaris 8
Product: Portable OpenSSH
Version: -current
Platform: UltraSparc
OS/Version: Solaris
Status: NEW
Severity: normal
Priority: P2
Component: ssh
AssignedTo: openssh-unix-dev at mindrot.org