From owner-freebsd-questions Tue Nov 7 16:10:56 2000 Delivered-To: freebsd-questions@freebsd.org Received: from backup.af.speednet.com.au (af.speednet.com.au [202.135.188.244]) by hub.freebsd.org (Postfix) with ESMTP id 7BDE437B479 for ; Tue, 7 Nov 2000 16:10:50 -0800 (PST) Received: from backup.af.speednet.com.au (backup.af.speednet.com.au [172.22.2.4]) by backup.af.speednet.com.au (8.11.0/8.11.0) with ESMTP id eA80ARB16055; Wed, 8 Nov 2000 11:10:28 +1100 (EST) (envelope-from andyf@speednet.com.au) Date: Wed, 8 Nov 2000 11:10:26 +1100 (EST) From: Andy Farkas X-Sender: andyf@backup.af.speednet.com.au To: Ryan Masse Cc: questions@FreeBSD.ORG Subject: Re: adduser script In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I've migrated my server from slack to fbsd 4.1.1 stable... > > I've noticed when adding users, their home directories are chmod'd to > 755 allowing others read access to the contents of their folder. I've > tried editing the contents of /usr/sbin/adduser wherever there was a 755 i > replaced it with 711 but when creteing a new user using the modified > script it still creates the home directories with read access (755). > > Can anyone give me some suggestions other than manually adding the users > to remidying my prob? The adduser(8) command uses the /usr/share/skel directory (and its permissions) as a template for creating user homes. "chmod 700 /usr/share/skel" will do what you want. > > thx in advance, > Ryan > -- :{ andyf@speednet.com.au Andy Farkas System Administrator Speednet Communications http://www.speednet.com.au/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message