> -----Original Message-----
> From: Carlos Mennens [mailto:carlosw...@gmail.com] 
> Sent: Wednesday, 17 March, 2010 09:50
> To: Debian
> Subject: Re: Change Useradd Behavior
> 
> If I change the DIR_MODE=0700 in /etc/adduser.conf, will that also be
> honored when using 'useradd'?
> 

No.  Sorry, when you typed useradd in your original message I read adduser.

If you're using useradd in a script, then change the UMASK value in 
/etc/login.defs like Tyler mentioned.

That defaults to 022, you're looking for 077.

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