Hi, Thomas: On Tuesday 30 March 2010 09:47:18 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 { > "nagios": > gid => "nagios", > shell => "/sbin/nologin", > home => "/var/lib/nagios", > }
No, that won't do the trick. Useradd -r will honour SYS_UID_MIN-SYS_UID_MAX; whithout it UID_MIN-UID_MAX will cut it. In general, a "-r" account will get an UID somewhere between 100 and 499 while without it, it will go above 500. -- Jesús M. Navarro Ándago Ingeniería - www.andago.com Teléfono: +34 916 011 373 (ext. 29) Móvil: +34 666 431 088 e-mail: jesus.nava...@andago.com C/Alcalde Ángel Arroyo n.º10 2.ªPl. (28904) Getafe, Madrid *Parque Tecnológico de Bizkaia:* c/ Kanala Bidea, Edificio 103, Planta 1ª Izqda. 48170 Zamudio, Bizkaia -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.