From owner-freebsd-current Thu Feb 25 4:15:53 1999 Delivered-To: freebsd-current@freebsd.org Received: from bolero-x.rahul.net (bolero.rahul.net [192.160.13.1]) by hub.freebsd.org (Postfix) with SMTP id 75FDD14D65 for ; Thu, 25 Feb 1999 04:15:51 -0800 (PST) (envelope-from dhesi@rahul.net) Received: from waltz.rahul.net by bolero-x.rahul.net with SMTP id AA17180 (5.67b8/IDA-1.5 for ); Thu, 25 Feb 1999 04:15:34 -0800 Received: by waltz.rahul.net (5.67b8/jive-a2i-1.0) id AA16445; Thu, 25 Feb 1999 04:15:31 -0800 Message-Id: <199902251215.AA16445@waltz.rahul.net> To: freebsd-current@FreeBSD.ORG Subject: Re: please don't check mail for root logins In-Reply-To: Message from Matthew Dillon of Wed, 24 Feb 99 23:26:47 -0800 Date: Thu, 25 Feb 99 04:15:30 -0800 From: Rahul Dhesi Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Good idea, thanks, and I now realize that it won't work, and neither will changing /bin/login -- because sshd does not seem to honor either one. I will have to try re-installing sshd with the --with-login flag. When I last tried that flag, the use of a .hushlogin file caused failed logins for some reason, so I reinstalled sshd without --with-login . Drat! I hate it when software bypasses standard system routines. Rahul > Date: Wed, 24 Feb 99 23:26:47 PST > From: Matthew Dillon > To: Rahul Dhesi > Cc: freebsd-current@FreeBSD.ORG > Message-Id: <199902250726.XAA00776@apollo.backplane.com> > Subject: Re: please don't check mail for root logins > :I have a suggestion for the FreeBSD maintainers. > : > :In /bin/login, please don't check for mail when the user is root. And > :in the case that the mail filesystem is mounted via NFS from a > :non-responding server, it hangs root logins. > : > :Root logins on machine A should never ever ever require machine B > :to be up. > : > :Rahul > > You should be able to fix this trivially in /etc/login.conf. Look > at the standard: entry's setenv for MAIL and do something similar for > root's, pointing MAIL somewhere else. I haven't tried this myself, > but it should work. > > -Matt > Matthew Dillon > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message