From owner-freebsd-bugs Wed Jun 19 02:50:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA01428 for bugs-outgoing; Wed, 19 Jun 1996 02:50:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA01422; Wed, 19 Jun 1996 02:50:01 -0700 (PDT) Resent-Date: Wed, 19 Jun 1996 02:50:01 -0700 (PDT) Resent-Message-Id: <199606190950.CAA01422@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, angio@aros.net Received: from shell.aros.net (root@shell.aros.net [205.164.111.19]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id CAA00636 for ; Wed, 19 Jun 1996 02:40:41 -0700 (PDT) Received: (from angio@localhost) by shell.aros.net (8.7.5/Unknown) id DAA16261; Wed, 19 Jun 1996 03:40:41 -0600 (MDT) Message-Id: <199606190940.DAA16261@shell.aros.net> Date: Wed, 19 Jun 1996 03:40:41 -0600 (MDT) From: Dave Andersen Reply-To: angio@aros.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/1335: /etc/security problem with odd filenames. Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1335 >Category: misc >Synopsis: /etc/security generates an error with files with spaces. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jun 19 02:50:01 PDT 1996 >Last-Modified: >Originator: Dave Andersen >Organization: ArosNet, Inc. >Release: FreeBSD 2.1-STABLE i386 >Environment: Nothing relevant. >Description: When /etc/security does its find and xargs, it generates an error message when it stumbles upon files with spaces in the filename. The problem is different under -current. For a file named, alternately, 'A;mail angio < foo' (with quotes) and just A;mail angio < foo (no quotes), the security script generated this output. It doesn't appear to pose a security risk, the reason I noticed it in the first place. Stable: ls: /usr/home/angio/A;mail angio How-To-Repeat: Create a file like the above named files, and make it setuid or setgid. >Fix: Unknown. >Audit-Trail: >Unformatted: