diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-05-08 20:33:05 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-05-08 20:33:05 +0000 |
commit | 97c677d4f04b8f8938c893656f667a29527f4a0f (patch) | |
tree | 17e28513452c08b9a5a026e19b64ae8eae09ec59 /sshlogin.h | |
parent | 387c472660ef173c2e469e70eb1a25d47f6e8887 (diff) |
- (bal) UseLogin patch for Solaris/UNICOS. Patch by Wayne Davison
<wayne@blorf.net>
Diffstat (limited to 'sshlogin.h')
-rw-r--r-- | sshlogin.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -31,6 +31,15 @@ void record_login(pid_t pid, const char *ttyname, const char *user, uid_t uid, const char *host, struct sockaddr *addr); +#ifdef LOGIN_NEEDS_UTMPX +/* + * Record just the utmp info for /bin/login. + */ +void +record_utmp_only(pid_t pid, const char *ttyname, const char *user, + const char *host, struct sockaddr * addr); +#endif + /* * Records that the user has logged out. This does many thigs normally done * by login(1) or init. |