diff loginrec.c @ 782:e0084f136cb8

If running as non-root only allow that user to log in
author Matt Johnston <matt@ucc.asn.au>
date Wed, 17 Apr 2013 22:29:18 +0800
parents ada77f43c79a
children 1ed6f39e8aa4
line wrap: on
line diff
--- a/loginrec.c	Tue Apr 16 22:16:32 2013 +0800
+++ b/loginrec.c	Wed Apr 17 22:29:18 2013 +0800
@@ -329,8 +329,6 @@
 {
 #ifndef HAVE_CYGWIN
 	if ((int)geteuid() != 0) {
-	  dropbear_log(LOG_WARNING,
-			  "Attempt to write login records by non-root user (aborting)");
 	  return 1;
 	}
 #endif