carlasouza-userskel

Manage the skeleton used by useradd for user creation


Keywords
user, skel, useradd, skeleton
License
GPL-3.0+
Install
puppet module install carlasouza-userskel --version 0.0.1

Documentation

userskel

Manage the skeleton used by useradd for user creation.

It already comes with default content for .bashrc, .bash_logout, .gemrc, .gitignore_global and .profile files inside files/default/ directory of this module.

Modify, remove or add more files at files/default as desired, or create new collections by creating a subfolder at files/. It will look for files/$name as skel source. If non existent, the default directory, files/default, will be used as source.

Examples

Default values:

userskel { 'default':
  group             => '100',
  home              => '/home/',
  inactive          => -1,
  expire            => '',
  shell             => '/bin/bash',
  skel_dir          => '/etc/skel',
  create_mail_spool => no
}

Prevent any created user to ssh to your server

userskel { 'server':
  shell             => '/bin/nologin',
  create_mail_spool => 'yes'
}

Change the default shell to zsh

userskel { 'desktop':
  shell => '/bin/zsh',
  group => '1001'
}

Support

Please log tickets and issues at the Project site

Author

Carla Souza contact@carlasouza.com

License

Copyright 2014 Carla Souza. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.