Displaying 20 results from an estimated 11000 matches similar to: "[Bug 347] New: wrong macro used"
2002 Jul 09
0
[Bug 348] New: infinite loop scanning wtmpx
http://bugzilla.mindrot.org/show_bug.cgi?id=348
Summary: infinite loop scanning wtmpx
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
2000 Jul 03
0
FreeBSD 3.5-STABLE
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: In function `construct_utmp':
loginrec.c:619: structure has no member named `ut_user'
loginrec.c:619: structure has no member named `ut_user'
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
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
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
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
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 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()
1999 Dec 21
0
Problem with UTMP recording
Hello to all!
I have problem with OpenSSH 1.2.1pre18 on Linux (kernel 2.2.13,
distribution Slackware 4.0). When someone login using ssh, there is no way
to see his presentance with some 'standard' tools (finger, who, w,
users...). Of course, his proccesses are in ps, and so. I've tried to see
/etc/utmp using vi, and there is some entry, but maybe invalid, or
something.
When I enable
2011 Sep 02
1
problems building openssh-5.8p1 on qnx
I am having trouble figuring out how to build openssh-5.8p1 for QNX 6.5. I am trying to build on linux, cross-compiling for armv7.
If I configure like this:
configure CC=ntoarmv7-gcc --host=i686-pc-linux-gnu --target=arm-unknown-nto-qnx6.5.0
then I get these errors:
sshconnect.o: In function `timeout_connect':
sshconnect.c:(.text+0x778): undefined reference to
2002 Jul 14
0
[Bug 347] wrong macro used
http://bugzilla.mindrot.org/show_bug.cgi?id=347
tim at multitalents.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From tim at multitalents.net 2002-07-15
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 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
2001 Apr 10
2
Compiling openssh 2.5.p1 on unixware 7.0.1
Hi.
I'm tryng to compile openssh 2.5.p1 (latest)
on sco unixware 7.0.1 and I'm getting
this error in make:
cc -o sshd sshd.o auth.o auth1.o auth2.o auth-chall.o auth2-chall.o
auth-rhosts.o auth-options.o auth-krb4.o auth-pam.o auth2-pam.o
auth-passwd.o auth-rsa.o auth-rh-rsa.o auth-sia.o dh.o sshpty.o log-server.o
sshlogin.o loginrec.o servconf.o serverloop.o md5crypt.o session.o
2000 Jul 08
1
sshd Pam problem for Redhat 6.2
Hi,
There was another message about this from Darren Evans. I am hoping that
the logs from below might shed additional light on this problem (kernel
version 2.2.14). I'm running Redhat 6.2, openssh-2.1.1p2.tar.gz,
openssl-0.9.5a.tar.gz.
I haven't tried to recompile with /usr/src/linux pointing to 2.2.12 per
Darren's solution - that's my next thing to do, or perhaps compile
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
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 Jul 11
0
Solaris 2.6: Undefined symbol seed_rng
Hi,
I hope I'm not asking some FAQ, but I can't compile openssh-2.9p2 on
maas34:openssh-2.9p2 {173} uname -a
SunOS maas34 5.6 Generic_105181-23 sun4u sparc SUNW,Ultra-5_10
using:
maas34:openssh-2.9p2 {174} gcc -v
Reading specs from /opt/local/gcc-2.95.2/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/specs
gcc version 2.95.2 19991024 (release)
I get:
maas34:openssh-2.9p2 {172}
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