Date: Wed, 8 Nov 2000 11:10:26 +1100 (EST) From: Andy Farkas <andyf@speednet.com.au> To: Ryan Masse <rmasse@mastery.ca> Cc: questions@FreeBSD.ORG Subject: Re: adduser script Message-ID: <Pine.BSF.4.21.0011081103530.12298-100000@backup.af.speednet.com.au> In-Reply-To: <Pine.BSF.4.21.0011062311130.51506-100000@comp1.mastery.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0011081103530.12298-100000>
