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
-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
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
If I change the DIR_MODE=0700 in /etc/adduser.conf, will that also be
honored when using 'useradd'?
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive:
On Wed, 17 Mar 2010 13:35:39 -0400 (EDT), Carlos Mennens 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
-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
On Wed, Mar 17, 2010 at 1:50 PM, Stephen Powell zlinux...@wowway.com wrote:
First of all, useradd should not be invoked directly. I suggest the
adduser frontend to useradd. Second, /etc/profile, the system-wide
bash profile, contains a setting for the default umask. Perhaps this
is what you
Carlos Mennens carlosw...@gmail.com wrote:
I have never heard this before in years or using Linux. I am not
saying you're wrong but I would just like to know why I should not use
'useradd' rather than 'adduser'. I assumed that it was just personal
preference for which you preferred to use but
On Wed, 17 Mar 2010 14:02:02 -0400 (EDT), Carlos Mennens wrote:
On Wed, Mar 17, 2010 at 1:50 PM, Stephen Powell zlinux...@wowway.com wrote:
First of all, useradd should not be invoked directly. I suggest the
adduser frontend to useradd. Second, /etc/profile, the system-wide
bash profile,
9 matches
Mail list logo