Forum: CFEngine Help
Subject: Re: Ownership issue with output files
Author: bijohnvincent
Link to topic: https://cfengine.com/forum/read.php?3,24996,25031#msg-25031

Hi Nick and Zamboni, thank you for your valuable advice. It is really 
encouraging fresh hands like me. I didn't know that 'report_to_file' was not 
meant to append to files. Zamboni's code helped me to complete my script at the 
latest. 

About the private key distribution: I am using a gateway server to control 
access from outside world and a key with pass phrase is used in it which is 
added manually after creating a user. Once a user log on to the gateway he has 
the freedom to ssh to any servers (should have from any servers to any server). 
That is why we are distributing the private key to all servers. Only root has 
access to /var/cfengine. So others won't be able to get the key from this dir. 
Also trying a remote_cp.

Thanks all !!!
~Bijohn

_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to