Date: Thu, 25 Feb 99 04:15:30 -0800 From: Rahul Dhesi <dhesi@rahul.net> To: freebsd-current@FreeBSD.ORG Subject: Re: please don't check mail for root logins Message-ID: <199902251215.AA16445@waltz.rahul.net> In-Reply-To: Message from Matthew Dillon <dillon@apollo.backplane.com> of Wed, 24 Feb 99 23:26:47 -0800
next in thread | previous in thread | raw e-mail | index | archive | help
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 <dillon@apollo.backplane.com> > To: Rahul Dhesi <dhesi@rahul.net> > 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 > <dillon@backplane.com> > > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902251215.AA16445>