Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Oct 2004 20:57:37 +0200
From:      "Peter Rosa" <prosa@pro.sk>
To:        "FreeBSD Security" <freebsd-security@freebsd.org>
Subject:   Re: Default permissions of /home/user..
Message-ID:  <008401c4b868$ffd64ac0$3501a8c0@pro.sk>
References:  <1323.213.112.198.199.1098388008.squirrel@mail.hackunite.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?008401c4b868$ffd64ac0$3501a8c0>