Displaying 20 results from an estimated 200 matches similar to: "Resend: loginrec.c patch"
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
2001 Jun 21
0
Output of last command is strange on Solaris 2.6/8 (OpenSSH 2.9p2)
Hi.
OS: Solaris 2.6 and 8
OpenSSH: 2.9p2
I found a bug.
Output of last command becomes strange in case of "UseLogin yes"
in sshd_config.
# Two entries are output with one time of login.
strange case:
% last
fuga pts/3 bar.foo.co.jp Thu Jun 21 12:45 - 20:02 (07:16)
fuga pts/3 bar.foo.co.jp Thu Jan 1 09:00 - 12:45 (11494+03:45)
hoge pts/2
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 */
+
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
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
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()
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 Sep 14
8
Call for testers.
http://bass.directhit.com/openssh_snap/
Starting tonight I plan on tracking changes very closely with the OpenBSD
tree. I need people to test the latest snapshot (9/14 at of right now)
and report success or failure on compiling.
I am starting this now because we are looking at a code freeze soon and I
really want to ensure it compiles and runs on all existing platforms. So
we (the portable
2001 Oct 23
8
Another round of testing calls.
Outside the known 'Hang-on-exit' bug and the Solaris 'PAM_TTY_KLUDGE'
required. *WHAT* other issues *MUST* be address before 3.0 which is
approaching fast?
Those running NeXTStep I need conformation that it works under NeXT. My
current Slab is packed in a storage unit due to a fire in my apartment
complex (happened above me so I'm wrapping up dealing with that crap =).
-
2002 Apr 22
0
[Bug 224] New: configure.ac changes for crays
http://bugzilla.mindrot.org/show_bug.cgi?id=224
Summary: configure.ac changes for crays
Product: Portable OpenSSH
Version: 3.1p1
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Build system
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy: wendyp
2002 Apr 22
0
[Bug 224] configure.ac changes for crays
http://bugzilla.mindrot.org/show_bug.cgi?id=224
------- Additional Comments From wendyp at cray.com 2002-04-23 09:12 -------
sorry, slight error with that last patch.
try this instead (with 22 april snapshot):
--- configure.ac.orig Mon Apr 22 14:31:27 2002
+++ configure.ac Mon Apr 22 14:32:48 2002
@@ -236,12 +236,29 @@
AC_CHECK_FUNCS(getluid setluid)
MANTYPE=man
2001 Feb 01
0
warnings on aix325
Hi,
I'm trying to compile openssh2.3.0p1 on aix3.2.5.
Can I ignore this list of warning messages?
bsd-bindresvport.c: In function `bindresvport_af':
bsd-bindresvport.c:94: warning: implicit declaration of function `bind'
bsd-rresvport.c: In function `rresvport_af':
bsd-rresvport.c:64: warning: implicit declaration of function `bzero'
bsd-rresvport.c:82: warning: implicit
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
2003 May 02
1
loginrec.c license
Hi.
I am trying to figure out, is loginrec.c (and loginrec.h) licensed under the
4-point BSD license or one without the advertising clause? I'm developing a
small ssh2 server (Dropbear), and curently everything is under MIT/X
license. I'd prefer not to have to add any advertising clauses, and
reinventing the wheel also seems kind of pointless.
Looking at the cvs logs, I can't see any
2000 Aug 30
0
Solaris/IRIX audit support: login.c vs loginrec.c
> -----Original Message-----
> From: Rip Loomis [mailto:loomisg at cist.saic.com]
> Sent: Wednesday, August 30, 2000 11:52 AM
> To: openssh-unix-dev at mindrot.org
> Subject: Solaris/IRIX audit support: login.c vs loginrec.c
>
> Comments requested:
> I have internally-generated patches against
> commercial SSH 1.2.27 that add full support
> for generation of
2002 Apr 12
0
[Bug 214] New: IRIX utmp problem loginrec.c: line_abbrevname() goes wrong
http://bugzilla.mindrot.org/show_bug.cgi?id=214
Summary: IRIX utmp problem loginrec.c: line_abbrevname() goes
wrong
Product: Portable OpenSSH
Version: 3.1p1
Platform: MIPS
URL: http://groups.google.de/groups?hl=de&selm=3B979A7D.10809
06%40nowhere.org&rnum=4
OS/Version: IRIX
2002 Apr 23
1
[Bug 214] IRIX utmp problem loginrec.c: line_abbrevname() goes wrong
http://bugzilla.mindrot.org/show_bug.cgi?id=214
djm at mindrot.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
------- Additional Comments From djm at mindrot.org 2002-04-23 23:08 -------
Similar patch applied - please test tommorow's
2003 Feb 12
0
[Bug 492] 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
djm at mindrot.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
------- Additional Comments From djm at mindrot.org 2003-02-12 11:58
2014 Oct 18
2
[Bug 2296] New: loginrec.c fails to compile when HAVE_ADDR_V6_IN_UTMP is defined
https://bugzilla.mindrot.org/show_bug.cgi?id=2296
Bug ID: 2296
Summary: loginrec.c fails to compile when HAVE_ADDR_V6_IN_UTMP
is defined
Product: Portable OpenSSH
Version: 6.7p1
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P5
Component: sshd
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
---