search for: login_write

Displaying 5 results from an estimated 5 matches for "login_write".

Did you mean: log_write
2005 Aug 11
3
[Bug 1069] session being terminated after succesful authentication
...another ssh client host. I'm not empowered with root privileges [when deployed, the sshd daemon will be run as root] but I've convinced our SA group to at least chown root:sys the sshd & ssh binaries and to set the setuid bit on those binaries (this is needed as the geteuid checking in login_write() causes the daemon to exit if running in -D mode). Unfortunately, using the setuid approach to get around a non-root account running the binary prevents me from dbx/truss'ing the process. I'm confused as to the SIGCHLD - the man page for sshd [and the indicates no forking is done for con...
2019 Apr 02
2
Call for testing: OpenSSH 8.0 [AIX Fail]
On Mon, 1 Apr 2019 at 23:23, Kevin Brott <kevin.brott at gmail.com> wrote: [...] > port-aix.c:316:1: error: conflicting types for 'record_failed_login' > record_failed_login(const char *user, const char *hostname, const char *ttyname) I think I just fixed that by changing the function to match the new prototype. Unfortunately I can't currently test it myself. Please
2001 Aug 30
0
Q: patch for logging rsa-fingerprint on login/logout?
...for a patch to openssh which allows logging of the fingerprint on rsa2-based authentification. I've had a look at the FAQ, and a view at the source. As I couldn't find a patch for my wish, I'm telling what I thought. Suggestions welcome (a patch moreso :-) I've started to modify login_write() which seems the best point for this. BUT: how can I get the fingerprint cleanly into that? I think the cleanest version would be to add two fields to login_info: - authenticate-type (rsa, rhosts, rh-rsa, dsa, password, ...) - authenticate-info (fingerprint of key) But that means some work, as I...
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() writes the first entry to /etc/wtmp. wtmpx_write_entry() ultimately calls updwtmpx() (HAVE_UPDWTMPX is defined) to write the /etc/wtmpx entry. But updwtmpx() writes entrie...
2009 May 03
10
[Bug 1595] New: Server option PrintLastLog does not work on AIX
https://bugzilla.mindrot.org/show_bug.cgi?id=1595 Summary: Server option PrintLastLog does not work on AIX Product: Portable OpenSSH Version: 5.2p1 Platform: PPC OS/Version: AIX Status: NEW Severity: normal Priority: P2 Component: sshd AssignedTo: unassigned-bugs at mindrot.org ReportedBy: