Forum: CFEngine Help
Subject: Re: CFEngine Help: Editing /etc/shadow file using variables
Author: josephvj
Link to topic: https://cfengine.com/forum/read.php?3,24725,24728#msg-24728

Hi Nick,

Thank you for the reply. 
But I still have a doubt, in the above scenario user's uid, gid must be given 
during user creation within the script. And so we can replace/add the 
corresponding line in the shadow file. If the user was created without passing 
the uid & gid within the script, then the added user is configured to the next 
uid & gid available by default, right? So how can we edit the shadow file in 
such a scenario?

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

Reply via email to