Re: Change Useradd Behavior
- From: Stephen Powell <zlinuxman@xxxxxxxxxx>
- Date: Wed, 17 Mar 2010 14:25:44 -0400 (EDT)
On Wed, 17 Mar 2010 14:02:02 -0400 (EDT), Carlos Mennens wrote:
On Wed, Mar 17, 2010 at 1:50 PM, Stephen Powell <zlinuxman@xxxxxxxxxx> 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 want to change? Or maybe you want to set the DIR_MODE
variable in /etc/adduser.conf?
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 I could be wrong
according to your above statement.
From the man page for useradd on Debian Lenny:
useradd is a low level utility for adding users. On Debian,
administrators should usually use adduser(8) instead.
From the man page for adduser on Debian Lenny:
adduser and addgroup add users and groups to the system according to
command line options and configuration information in
/etc/adduser.conf. They are friendlier front ends to the low level
tools like useradd, groupadd, and usermod programs, by default choosing
Debian policy conformant UID and GID values, creating a home directory
with skeletal configuration, running a custom script, and other fea-
tures.
--
.''`. Stephen Powell <zlinuxman@xxxxxxxxxx>
: :' :
`. `'`
`-
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/1299276412.19837101268850344642.JavaMail.root@xxxxxxxxxxxxxxxxxxxx
- References:
- Re: Change Useradd Behavior
- From: Carlos Mennens
- Re: Change Useradd Behavior
- Prev by Date: Re: Radeon HD 3850 / RV670 AGP: no firmware loaded / slow
- Next by Date: Re: make Xorg driver fails - missing Xf86Resources.h
- Previous by thread: Re: Change Useradd Behavior
- Index(es):
Relevant Pages
|