Displaying 2 results from an estimated 2 matches for "ttynm".
Did you mean:
ttyn
2009 May 03
10
[Bug 1595] New: Server option PrintLastLog does not work on AIX
...e, e.g. AIX */
return (0);
On the other hand, when issuing the AIX loginsuccess() call (which
writes a new login record), the last login record can be retrieved by
that very same call.
If we look at port-aix.c, we can see the following:
if (loginsuccess((char *)user, (char *)host, (char *)ttynm, &msg) == 0)
{
success = 1;
if (msg != NULL && loginmsg != NULL && !msg_done) {
debug("AIX/loginsuccess: msg %s", msg);
buffer_append(loginmsg, msg, strlen(msg));
xfree(msg);...
2009 May 03
0
Server option PrintLastLog does not work on AIX
...e, e.g. AIX */
return (0);
On the other hand, when issuing the AIX loginsuccess() call (which writes a new login record), the last login record can be retrieved by that very same call.
If we look at port-aix.c, we can see the following:
if (loginsuccess((char *)user, (char *)host, (char *)ttynm, &msg) == 0) {
success = 1;
if (msg != NULL && loginmsg != NULL && !msg_done) {
debug("AIX/loginsuccess: msg %s", msg);
buffer_append(loginmsg, msg, strlen(msg));
xfree(msg);...