From owner-freebsd-bugs Wed Jan 26 18:20: 6 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 88CA2151BE for ; Wed, 26 Jan 2000 18:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id SAA87589; Wed, 26 Jan 2000 18:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id C4AB9154E1; Wed, 26 Jan 2000 18:10:40 -0800 (PST) Message-Id: <20000127021040.C4AB9154E1@hub.freebsd.org> Date: Wed, 26 Jan 2000 18:10:40 -0800 (PST) From: kjh@milinx.com To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/16390: an issue with the user "root " Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 16390 >Category: misc >Synopsis: an issue with the user "root " >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 26 18:20:00 PST 2000 >Closed-Date: >Last-Modified: >Originator: kj >Release: 3.3/3.4 >Organization: >Environment: FreeBSD fud.indifference.org 3.4-RELEASE FreeBSD 3.4-RELEASE #0: Mon Dec 20 06:54:39 GMT 1999 jkh@time.cdrom.com:/usr/src/sys/compile/GENERIC i386 >Description: when a user has "root" as a user like "testroot" even though the user doesn't have user ID "0" and/or group ID "0" when that user creates a file the file has that user's name, but the group is the group with ID "0" (mostly "wheel"). fud% grep /etc/wheel fud% grep wheel /etc/group wheel:*:0: fud# tail -1 /etc/passwd testroot:*:1010:1009:testroot:/tmp:/usr/local/bin/zsh fud# su - testroot fud% id uid=1010(testroot) gid=1009(leet) groups=1009(leet) fud% pwd /tmp fud% ls -l total 1 -rw-rw---- 1 dante wheel 6 Jan 26 04:27 test -rw-r--r-- 1 testroot wheel 0 Jan 26 06:02 test3 fud% touch foo fud% ls -l total 1 -rw-r--r-- 1 testroot wheel 0 Jan 26 06:28 foo -rw-rw---- 1 dante wheel 6 Jan 26 04:27 test -rw-r--r-- 1 testroot wheel 0 Jan 26 06:02 test3 >How-To-Repeat: create a user with the user "root" in it, like "testroot" give it a group ID other then "0" and create a file and see what group it created as. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message