From owner-freebsd-questions Sun Dec 21 07:28:32 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA07644 for questions-outgoing; Sun, 21 Dec 1997 07:28:32 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from hil-img-4.compuserve.com (hil-img-4.compuserve.com [149.174.177.134]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA07634 for ; Sun, 21 Dec 1997 07:28:27 -0800 (PST) (envelope-from Malcolm_Boff@compuserve.com) Received: (from mailgate@localhost) by hil-img-4.compuserve.com (8.8.6/8.8.6/2.9) id KAA05714 for freebsd-questions@freebsd.org; Sun, 21 Dec 1997 10:27:26 -0500 (EST) Date: Sun, 21 Dec 1997 10:26:45 -0500 From: Malcolm G Boff Subject: Behaviour of 'su' To: "freebsd-questions@freebsd.org" Message-ID: <199712211027_MC2-2CB5-7C4A@compuserve.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id HAA07640 Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As I normally work on an AIX system I was somewhat surprised when testing on FreeBSD on my PC (version 2.2.2) the behaviour of 'su' and would like some feedback. There is a user 'abc' (uid 1000) with a group of 20 (gid). As root I 'su' to the user ('su - abc') and then 'touch /tmp/test' and ls -al shows the file permissions to be 'rw-r--r-- abc wheel' whereas I would have expected 'rw-r--r-- abc staff'. Is this correct and if so why ? Please respond to my email address as I am not in the forum. Malcolm G. Boff Sylmex Ltd.