Does anyone have a bundle or set of promises for deleting a local Unix
account? I'm thinking about how to approach this cleanly, including
removing the user from any groups in /etc/group. I thought about using
systems' native commands (e.g. userdel, passmgmt, pwck, pwconv, etc.)
but there can be odd cases, such as half-deleted accounts (only in
/etc/shadow for example) that the native commands won't clean up. It
could have an option, as well, for deleting the accounts' home
directories, also depending on whether they're local or NFS. What else
am I forgetting? 

I can work on this on my own once I have the time (working on my Nova
upgrade and initial policy finalization right now), but I think
something like this, if someone already has a good starting point, would
be a great candidate for the COPBL or at least a Cfengine cookbook like
Neil's. Hmm, I sense an O'reilly book here... :)

Thanks,
Justin

-- 
Justin C. Lloyd 
Unix Infrastructure Engineer 
DigitalGlobe, An Imaging and Information Company


This electronic communication and any attachments may contain confidential and 
proprietary 
information of DigitalGlobe, Inc. If you are not the intended recipient, or an 
agent or employee 
responsible for delivering this communication to the intended recipient, or if 
you have received 
this communication in error, please do not print, copy, retransmit, disseminate 
or 
otherwise use the information. Please indicate to the sender that you have 
received this 
communication in error, and delete the copy you received. DigitalGlobe reserves 
the 
right to monitor any electronic communication sent or received by its 
employees, agents 
or representatives.

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

Reply via email to