From owner-freebsd-questions@FreeBSD.ORG Mon Apr 19 01:54:01 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA14116A4CE for ; Mon, 19 Apr 2004 01:54:01 -0700 (PDT) Received: from mxfep01.bredband.com (mxfep01.bredband.com [195.54.107.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4F0B43D39 for ; Mon, 19 Apr 2004 01:54:00 -0700 (PDT) (envelope-from z3l3zt@hackunite.net) Received: from mail.hackunite.net ([213.112.193.7] [213.112.193.7]) by mxfep01.bredband.com with SMTP id <20040419085357.PSK26205.mxfep01.bredband.com@mail.hackunite.net> for ; Mon, 19 Apr 2004 10:53:57 +0200 Received: from 213.112.193.91 (SquirrelMail authenticated user z3l3zt@hackunite.net) by mail.hackunite.net with HTTP; Mon, 19 Apr 2004 10:53:59 +0200 (CEST) Message-ID: <2622.213.112.193.91.1082364839.squirrel@mail.hackunite.net> Date: Mon, 19 Apr 2004 10:53:59 +0200 (CEST) From: "Jesper Wallin" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal Subject: Why is the chmod values in /home insecure by default? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: z3l3zt@hackunite.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2004 08:54:02 -0000 Hello.. I'm running FreeBSD 5.2.1-RELEASE-p5 and when I create new user accounts with "adduser", the home directories are world readable/executable.. Sure, it might be useful if I want to publish a website in my public_html, but yet, it should be up to the user if he want to have his homedir world-readable, but by default it should be set to "chmod 700" or "chmod 750" if each user has their own group imho. However, I saw that "adduser" had a config file (/etc/adduser.conf) but the there is no manual entry for adduser.conf and I can't find any example for it.. How can I change the default permission for new home-directories? Regards, Jesper Wallin