Issue #4460 has been updated by Mathias Gug.

As mentioned in the [useradd man 
page](http://manpages.ubuntu.com/manpages/maverick/en/man8/useradd.8.html):

<cite>useradd is a low level utility for adding users. On Debian, 
administrators should usually use adduser(8) instead.</cite>

puppet being a higher level tool to manage system it seems that it should use 
tools that are the recommended way of doing things in a specific in 
environment. In the Debian and Ubuntu world adduser is the recommended way of 
adding a user to the system.

It's true that useradd is called by adduser and is a lower level tool. Why 
should puppet use useradd then? Puppet could also edit /etc/passwd and create 
home directories instead of calling useradd. It all depends at which level of 
abstraction puppet should be inserted.

----------------------------------------
Bug #4460: adduser should be used to add user on Ubuntu/Debian instead of 
useradd
http://projects.puppetlabs.com/issues/4460

Author: Mathias Gug
Status: Needs more information
Priority: Normal
Assigned to: Mathias Gug
Category: user
Target version: 
Affected version: 
Keywords: 
Branch: 


If a user is created via puppet useradd is called. The recommendation on Ubuntu 
and Debian is to use adduser instead.

See https://bugs.launchpad.net/ubuntu/+source/puppet/+bug/64700.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to