Carlos, If you set the default umask in /etc/login.defs , "useradd" will obey this when creating home directories. Try setting "UMASK 077" in /etc/login.defs . Alternately, you can user the higher level "adduser" tool, which has it's own configuration setting for world-readable home directories (dpkg-reconfigure -plow adduser).
Cheers, Tyler Carlos Mennens <carlosw...@gmail.com> wrote: > I would like to know if it's possible when creating a new user with > the '/usr/sbin/useradd' script to set the users home directory > permissions to 700 rather than the Debian default of 755? I don't > understand why Debian does this not do I really care to debate it but > I don't like users being able to browse each others directories and > would like it to be '700' like it is in most other distributions. Is > it possible to modify this without doing something drastic? > > I checked /etc/default/useradd but couldn't find anything there for > default home permissions. > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: > http://lists.debian.org/d80f793f1003171035x12fb75dfo647307c667970...@mail.gmail.com > -- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100317174314.gb...@yi.org