From owner-freebsd-security Tue Nov 14 07:27:02 1995 Return-Path: owner-security Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA09645 for security-outgoing; Tue, 14 Nov 1995 07:27:02 -0800 Received: from sequent.kiae.su (sequent.kiae.su [144.206.136.6]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id HAA09601 for ; Tue, 14 Nov 1995 07:26:50 -0800 Received: by sequent.kiae.su id AA25186 (5.65.kiae-2 ); Tue, 14 Nov 1995 18:05:10 +0300 Received: by sequent.KIAE.su (UUMAIL/2.0); Tue, 14 Nov 95 18:05:09 +0300 Received: (from ache@localhost) by ache.dialup.demos.ru (8.6.12/8.6.12) id RAA00852; Tue, 14 Nov 1995 17:07:12 +0300 To: Bruce Evans , davidg@Root.COM Cc: peter@jhome.dialix.com, security@freebsd.org References: <199511131940.GAA03802@godzilla.zeta.org.au> In-Reply-To: <199511131940.GAA03802@godzilla.zeta.org.au>; from Bruce Evans at Tue, 14 Nov 1995 06:40:36 +1100 Message-Id: Organization: Olahm Ha-Yetzirah Date: Tue, 14 Nov 1995 17:07:12 +0300 (MSK) X-Mailer: Mail/@ [v2.40 FreeBSD] From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) X-Class: Fast Subject: Re: cvs commit: CVSROOT log_accum.pl Lines: 22 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Length: 1015 Sender: owner-security@freebsd.org Precedence: bulk In message <199511131940.GAA03802@godzilla.zeta.org.au> Bruce Evans writes: >>Of course. Printf introduced by Peter, I mean "return (EPERM);" here >>not a printf. I refer on my original fix and not to quoted variant >>from Peter. Setlogin must affect only _current_ session as clearly >>said in manpage (and from common sense), so no doubts here. >The man page says that the call is _normally_ used only to create new >sessions. This is a advice on how the call should be used, not a >restriction on who can make it. The call is restricted to root, and >root never makes mistaks ;-). As I already say, we need to ask opinion of original developers, because it is unclear thing enough. Can anybody do it, please? -- Andrey A. Chernov : And I rest so composedly, /Now, in my bed, ache@astral.msk.su : That any beholder /Might fancy me dead - http://dt.demos.su/~ache : Might start at beholding me, /Thinking me dead. RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849