Date: Tue, 29 Aug 2000 09:33:32 +0000 From: Craig Cowen <craig@allmaui.com> To: specter <ai32@drexel.edu> Cc: freebsd-security@FreeBSD.ORG Subject: Re: adduser perm problem Message-ID: <39AB836C.E5E8DA3D@allmaui.com> References: <00082906200900.00680@reddog.yi.org>
next in thread | previous in thread | raw e-mail | index | archive | help
specter wrote: > Hello, > > Perhaps I am missing something, but under 4.0 and 4.1-Release, > when adding a user via adduser, I see the perms on the created > home directory as "drwxr-xr-x", allowing any one to cd in and > view files. > > Is this normal behavior, or have I oopsed something on my > system? > > Thank you for your help. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-security" in the body of the message Just hack your adduser script to add a private directory and have it set the perms you want. It will save you tons of work. Also read up on umask Craig To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39AB836C.E5E8DA3D>