CFEngine Help: Re: add users to /etc/shadow

2011-07-28 Thread no-reply
Forum: CFEngine Help Subject: Re: add users to /etc/shadow Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,22920,22949#msg-22949 If you want to modify the password after the line is already there this will require a field edit. What is common to do use a bundle that does

CFEngine Help: Re: add users to /etc/shadow

2011-07-28 Thread no-reply
Forum: CFEngine Help Subject: Re: add users to /etc/shadow Author: tuibelgium Link to topic: https://cfengine.com/forum/read.php?3,22920,22946#msg-22946 > Try using the append_if_no_line bundle instead for > the /etc/shadow promise. Then it adds the line but adds it again once the password is cha

Re: CFEngine Help: Re: add users to /etc/shadow

2011-07-27 Thread Tokarski Boleslaw
Well, even if it is expecting an array... "passwd[support]" string => "support:x:301:301:Remote Support User,,,:$(home):/bin/bash", comment => "/etc/passwd line for support user", handle => "support_vars_passwd_support"; "shadow[support]" string => 'support:$(shadow):14939:0:9:7:::', comment

CFEngine Help: Re: add users to /etc/shadow

2011-07-27 Thread no-reply
Forum: CFEngine Help Subject: Re: add users to /etc/shadow Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,22920,22929#msg-22929 You are trying to use the bundle append_users_starting which wants its parameter to be an array. When you have your bundle loop over the users