Hello, thanks for all replies, but, as you can see in "/etc/login.defs"
SYS_UID_MIN 100 SYS_UID_MAX 999 there are some UID for System Account (e.g. apache, postfix,maildrop). Will I need to specify manualy the UID to the new account? Thanks. On Tue, Mar 30, 2010 at 6:36 AM, David Schmitt <[email protected]> wrote: > On 3/30/2010 9:47 AM, Thomas Mueller wrote: >> >> Am Mon, 29 Mar 2010 18:23:04 -0300 schrieb Darvin Denmian: >> >>> What option I need to use to create a system account with "Puppet"? Like >>> the bellow command: >>> >>> useradd -r nagios -s /sbin/nologin -d /var/lib/nagios -m nagios >>> >>> Sorry for this newbie question, I'm new in Puppet configuration :) >>> >>> Thanks ! >> >> >> >> User { > > It's spelled "user" at this place (with a small u). > >> "nagios": >> gid => "nagios", >> shell => "/sbin/nologin", >> home => "/var/lib/nagios", >> } >> >> >> >> see type reference "user" (and maybe "group" too): >> >> http://docs.reductivelabs.com/references/latest/type.html#id310 >> >> - Thomas > > > Regards, David > -- > dasz.at OG Tel: +43 (0)664 2602670 Web: http://dasz.at > Klosterneuburg UID: ATU64260999 > > FB-Nr.: FN 309285 g FB-Gericht: LG Korneuburg > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" 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-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" 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-users?hl=en.
