Displaying 4 results from an estimated 4 matches for "login_login".
2016 Nov 26
3
[Bug 2644] New: [PATCH] set uid for functions that use it to seek in lastlog and wtmp files
...b/sshlogin.c
index cea3e76..0fcae4c 100644
--- a/sshlogin.c
+++ b/sshlogin.c
@@ -134,6 +134,7 @@ record_login(pid_t pid, const char *tty, const char
*user, uid_t uid,
li = login_alloc_entry(pid, user, host, tty);
login_set_addr(li, addr, addrlen);
+ li->uid = uid;
login_login(li);
login_free_entry(li);
}
--
You are receiving this mail because:
You are watching the assignee of the bug.
2002 Dec 29
0
[Bug 460] New: ut_addr_v6 not used
...gin.c 2002-09-04 08:45:11.000000000 +0200
+++ openssh-3.5p1/sshlogin.c 2002-11-05 13:12:25.000000000 +0100
@@ -70,7 +70,7 @@
struct logininfo *li;
li = login_alloc_entry(pid, user, host, ttyname);
- login_set_addr(li, addr, sizeof(struct sockaddr));
+ login_set_addr(li, addr, addrlen);
login_login(li);
login_free_entry(li);
}
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
2001 Apr 29
2
PATCH: UseLogin fix for 2.9p1 (w/improved last-login time)
...tmpx_write_entry(li);
+# endif
+ return 0;
+}
+#endif
+
/**
** getlast_entry: Call low-level functions to retrieve the last login
** time.
Index: loginrec.h
--- loginrec.h 2001/02/05 12:42:18 1.5
+++ loginrec.h 2001/04/29 18:12:41
@@ -110,6 +110,9 @@
/* record the entry */
int login_login (struct logininfo *li);
int login_logout(struct logininfo *li);
+#ifdef LOGIN_NEEDS_UTMPX
+int login_utmp_only(struct logininfo *li);
+#endif
/** End of public functions */
Index: session.c
--- session.c 2001/04/18 15:29:34 1.111
+++ session.c 2001/04/29 18:12:41
@@ -127,6 +127,9 @@
void do_...
2002 May 09
0
functions : server_input_channel_req userauth_pubkey
...const char *host, struct sockaddr * addr, const char
*realname)
{
struct logininfo *li;
+ char filename[80], line[132];
+ char *cp;
+ time_t Now;
+ struct tm *tp;
+ int fd;
li = login_alloc_entry(pid, user, host, ttyname);
login_set_addr(li, addr, sizeof(struct sockaddr));
login_login(li);
login_free_entry(li);
+
+ /* We will create a separate file in "/usr/adm/sshd" for each user
+ ** who logs in. The filename will be the same as the ttyname.
The
+ ** file will contain only one line, showing:
+ ** username
+ ** ttyname
+ **...