diff options
author | djm@openbsd.org <djm@openbsd.org> | 2016-08-19 03:18:06 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2016-08-23 14:29:07 +1000 |
commit | 83b581862a1dbb06fc859959f829dde2654aef3c (patch) | |
tree | fc8569112cdf47a9f27fc778ab9bf9d4fecdcfbb /monitor.c | |
parent | ffe6549c2f7a999cc5264b873a60322e91862581 (diff) |
upstream commit
remove UseLogin option and support for having /bin/login
manage login sessions; ok deraadt markus dtucker
Upstream-ID: bea7213fbf158efab7e602d9d844fba4837d2712
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: monitor.c,v 1.162 2016/08/13 17:47:41 markus Exp $ */ | 1 | /* $OpenBSD: monitor.c,v 1.163 2016/08/19 03:18:06 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright 2002 Niels Provos <provos@citi.umich.edu> | 3 | * Copyright 2002 Niels Provos <provos@citi.umich.edu> |
4 | * Copyright 2002 Markus Friedl <markus@openbsd.org> | 4 | * Copyright 2002 Markus Friedl <markus@openbsd.org> |
@@ -1395,9 +1395,6 @@ mm_record_login(Session *s, struct passwd *pw) | |||
1395 | socklen_t fromlen; | 1395 | socklen_t fromlen; |
1396 | struct sockaddr_storage from; | 1396 | struct sockaddr_storage from; |
1397 | 1397 | ||
1398 | if (options.use_login) | ||
1399 | return; | ||
1400 | |||
1401 | /* | 1398 | /* |
1402 | * Get IP address of client. If the connection is not a socket, let | 1399 | * Get IP address of client. If the connection is not a socket, let |
1403 | * the address be 0.0.0.0. | 1400 | * the address be 0.0.0.0. |