Forum: Cfengine Help
Subject: Managing user accounts with Cfengine 3
Author: kenneho
Link to topic: https://cfengine.com/forum/read.php?3,20993,20993#msg-20993

Greetings everyone,


I'd like cfengine to manage some system user accounts on my RHEL servers, and 
have come across a couple of suggestion on how to accomplish this:
* https://cfengine.com/forum/read.php?3,9181,9440#msg-9440
* 
http://www.cfengine.org/manuals/cf3-solutions.html#Add-users-to-passwd-and-group

Both methods seem to require that I create colon separated strings, which are 
inserted into the /etc/passwd or /etc/shadow as needed. Is this the way people 
are managing their users? Seems like a function "create_user(uid, gid, home, 
shell, etc)" would be a more neat way of doing this sort of thing. 

- Kenneth

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to