Forum: Cfengine Help Subject: Re: Managing user accounts with Cfengine 3 Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,20993,20996#msg-20996
I have written a bundle to create users using the system-specific tools for that purpose, rather than editing the files directly. I personally like this method better, since it also ensures any other bookkeeping tasks are done properly, and can be easily made generic for multiple systems by adding the appropriate commands in the "commands:" section of the bundle. I posted it before in this thread: https://cfengine.com/forum/read.php?3,20392,20419#msg-20419 The "unclean" part of my bundle is the passwords - as it is now, in Linux the password needs to be provided already encrypted (and they are set by editing the /etc/shadow file directly), whereas on Windows systems it needs to be in clear text. I'm still unsure which policy is the best (I tend to prefer having them encrypted), but it would be nice to have a consistent behavior across different OSs. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine