Forum: Cfengine Help
Subject: your opinion about user account management
Author: santa
Link to topic: https://cfengine.com/forum/read.php?3,21170,21170#msg-21170

Hello,

I would like to know what's the best way to manage user accounts with cfengine 
3.
I think I will have to manage around 30 users.

For now I foresee 2 ways :
. 1st method : we use a 2 dimension array such as :

        
"shell" string                                  => "/usr/bin/ksh";

       "users" string                 => "Santa Claus";
        "users" string                   => "2412";
        "users" string                   => "myteam";
        "users" string                  => "/home/santa";
        "users" string                 => "$(shell)";
        "users" string              => "dk9999999999999";


And we use useradd commands with a method promise.

. 2nd method : using provisioning files i.e. with /etc/passwd and /etc/shadow 
format. These files would be templates.

Do you have any better way for provisioning users, I mean add/delete/change 
password ?
Thank you.

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

Reply via email to