Displaying 3 results from an estimated 3 matches for "login_init_entry".
2009 Feb 04
1
SSH PAM authentication/login with a new user DB (through NSS)
...3 14:54:11 dharma sshd[7843]: debug3: mm_answer_pty entering
Feb 3 14:54:11 dharma sshd[7843]: debug1: session_new: init
Feb 3 14:54:11 dharma sshd[7843]: debug1: session_new: session 0
Feb 3 14:54:11 dharma sshd[7843]: debug1: SELinux support disabled
Feb 3 14:54:11 dharma sshd[7843]: fatal: login_init_entry: Cannot find
user ""
Feb 3 14:54:11 dharma sshd[7843]: debug1: do_cleanup
Feb 3 14:54:11 dharma sshd[7843]: debug1: PAM: cleanup
Feb 3 14:54:11 dharma sshd[7843]: debug3: PAM: sshpam_thread_cleanup
entering
Feb 3 14:54:11 dharma sshd[7843]: debug1: session_pty_cleanup: session
0 re...
2007 Jan 17
0
login_get_lastlog - nss enviornment - works in shell env, doesn't work when sshd calls it.
...erstand) code,
but I can't write good C apps....just a hacks.
I've researched and exracted the function that appears in the logs:
$>tail /var/log/message
Jan 16 23:59:01 user sshd[74154]: fatal: login_get_lastlog: Cannot find account for uid 1010
Jan 16 23:59:01 user sshd[74148]: fatal: login_init_entry: Cannot find user "test"
(the login_init_entry is there because I've turned on
PrintLastLog yes
before that it wasn't showing.
I've found a similar problem with nss_ldap in this list but there was no answer to it.
http://marc.theaimsgroup.com/?l=sun-managers&m=110686236...
2016 Nov 26
3
[Bug 2644] New: [PATCH] set uid for functions that use it to seek in lastlog and wtmp files
https://bugzilla.mindrot.org/show_bug.cgi?id=2644
Bug ID: 2644
Summary: [PATCH] set uid for functions that use it to seek in
lastlog and wtmp files
Product: Portable OpenSSH
Version: 7.2p2
Hardware: amd64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5