user_role_add.rb

Path: lib/puppet/provider/user/user_role_add.rb
Last Update: Wed Dec 09 12:54:29 -0800 2009

Required files

puppet/util/user_attr  

Methods

Public Instance methods

must override this to hand the keyvalue pairs

Read in /etc/shadow, find the line for this user (skipping comments, because who knows) and return the hashed pw (the second entry) No abstraction, all esoteric knowledge of file formats, yay

Read in /etc/shadow, find the line for our used and rewrite it with the new pw Smooth like 80 grit

[Validate]