> -----Original Message-----
> From: Carlos Mennens [mailto:carlosw...@gmail.com] 
> Sent: Wednesday, 17 March, 2010 09:36
> To: Debian
> Subject: Change Useradd Behavior
> 
> 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.
> 

/etc/adduser.conf:

# If DIR_MODE is set, directories will be created with the specified
# mode. Otherwise the default mode 0755 will be used.
DIR_MODE=0755

James 

--
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/4a09477d575c2c4b86497161427dd94c149f788...@city-exchange07

Reply via email to