From owner-freebsd-security Sat Feb 19 9: 2: 1 2000 Delivered-To: freebsd-security@freebsd.org Received: from relay.rtsnet.ru (bravo.rtsnet.ru [194.247.132.8]) by hub.freebsd.org (Postfix) with ESMTP id 4C5D637BCCA for ; Sat, 19 Feb 2000 09:01:56 -0800 (PST) (envelope-from igor@rtsnet.ru) Received: from shogun.rtsnet.ru (shogun.rtsnet.ru [172.16.4.32]) by relay.rtsnet.ru (Postfix) with ESMTP id 6F6B5198C03 for ; Sat, 19 Feb 2000 20:01:48 +0300 (MSK) Received: (from igor@localhost) by shogun.rtsnet.ru (8.9.3/8.9.3/Zynaps) id UAA00624; Sat, 19 Feb 2000 20:01:42 +0300 (MSK) Date: Sat, 19 Feb 2000 20:01:42 +0300 From: Igor Vinokurov To: freebsd-security@freebsd.org Subject: pw && umask Message-ID: <20000219200142.A605@shogun.rtsnet.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello. We use pw for automatic registration of new users in the system. For security reasons we use 072 as umask for all users. Unfortunately, pw creates a user home directory with the umask which was for the one who has started pw. How to solve this problem? May be it is necessary to add support umask? It is possible to be oriented on umask which is indicated in login class (which it is passed to pw by -L option). -- Igor Vinokurov To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message