Why is the chmod values in /home insecure by default?

Peter Risdon peter at circlesquared.com
Mon Apr 19 02:37:56 PDT 2004

Jesper Wallin wrote:

>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

This might help:


Basically, you need to change the permissions f the directory 
/usr/share/skel and its contents.


More information about the freebsd-questions mailing list