From owner-freebsd-security@FreeBSD.ORG Fri Oct 22 18:58:03 2004 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 21AD916A4CE for ; Fri, 22 Oct 2004 18:58:03 +0000 (GMT) Received: from ns.pro.sk (proxy.pro.sk [212.55.244.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id F05B943D1F for ; Fri, 22 Oct 2004 18:58:01 +0000 (GMT) (envelope-from prosa@pro.sk) Received: from peter (Peter [192.168.1.53]) by ns.pro.sk (8.12.11/8.12.11) with SMTP id i9MIvx1Q023181 for ; Fri, 22 Oct 2004 20:58:00 +0200 (CEST) (envelope-from prosa@pro.sk) Message-ID: <008401c4b868$ffd64ac0$3501a8c0@pro.sk> From: "Peter Rosa" To: "FreeBSD Security" References: <1323.213.112.198.199.1098388008.squirrel@mail.hackunite.net> Date: Fri, 22 Oct 2004 20:57:37 +0200 X-Priority: 1 X-MSMail-Priority: High X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.3 (ns.pro.sk [192.168.1.1]); Fri, 22 Oct 2004 20:58:00 +0200 (CEST) X-RAVMilter-Version: 8.4.3(snapshot 20030217) (ns.pro.sk) Subject: Re: Default permissions of /home/user.. X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Security issues [members-only posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Oct 2004 18:58:03 -0000 Hi, try to read /usr/sbin/adduser. It's perl script, not ELF, so you can change something there. In line 953 (FreeBSD 4.10) is this: mkdir($homedir, 755). Simple change it to 700 and you should be where you wanted. NOT TESTED !!!! Peter Rosa