From owner-cvs-libexec Fri Dec 1 13:36:34 1995 Return-Path: owner-cvs-libexec Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA26257 for cvs-libexec-outgoing; Fri, 1 Dec 1995 13:36:34 -0800 Received: from GndRsh.aac.dev.com (GndRsh.aac.dev.com [198.145.92.241]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id NAA26204 ; Fri, 1 Dec 1995 13:36:09 -0800 Received: (from rgrimes@localhost) by GndRsh.aac.dev.com (8.6.12/8.6.12) id NAA29851; Fri, 1 Dec 1995 13:35:56 -0800 From: "Rodney W. Grimes" Message-Id: <199512012135.NAA29851@GndRsh.aac.dev.com> Subject: Re: cvs commit: src/libexec/rlogind rlogind.c To: guido@freefall.freebsd.org (Guido van Rooij) Date: Fri, 1 Dec 1995 13:35:56 -0800 (PST) Cc: CVS-committers@freefall.freebsd.org, cvs-libexec@freefall.freebsd.org In-Reply-To: <199512012038.MAA23408@freefall.freebsd.org> from "Guido van Rooij" at Dec 1, 95 12:38:45 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 647 Sender: owner-cvs-libexec@FreeBSD.ORG Precedence: bulk > > guido 95/12/01 12:38:44 > > Modified: libexec/rlogind rlogind.c > Log: > It is not necessary to check if a '-' is in lusername., Checking if > lusername starts with a '-' is enough. Otherwise, no users with a '-' > in there name can use rlogin. > > Revision Changes Path > 1.7 +1 -1 src/libexec/rlogind/rlogind.c What happens if I start the username with a space or put a space in it some place? (ie, ` -option' or `foouser -foooptions') ?? -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Reliable computers for FreeBSD