# look at the newusers.pl script # => { uid => , gid => , # md5passwd => '', # despasswd => 'NP', # shell => '', # possible values: false, sh, bash, zsh, csh, tcsh # home => '', # possible values: home, root, export # key => # key2 => # note that shell and home settings fall back to one of the other # options if the choice listed doesn't exist (for example: csh if # tcsh isn't present, /home if /export/home doesn't exist) # uid and gid aren't checked for collisions %users = ( foo => { uid => 1000, gid => 1000, md5passwd => '$1$blahblahblahblah', despasswd => 'thiswouldbe_an_encrypted_password', shell => 'sh', home => 'root', key => q(ssh key file contents go here), key2 => q(ssh2 key file contents optionally go here) } );