From FGWiki
Jump to: navigation, search
Important: The content of this page is outdated. If you have checked or updated this page and found the content to be suitable, please remove this notice.

Adding a New Host

Ubuntu 10.04/Debian Squeeze

  • Assign IP/Hostname, physical devices named for tree species, virtual for elements.
  • Add host to wiki page Hosts
  • Write wiki page at Hosts/<hostname>
  • Install puppet apt-get install puppet
  • Run puppet once puppetd --onetime --no-daemonize
  • Sign new certificate
    • ssh
    • sudo puppetca -s <host>.shop.lan
    • exit
  • Run puppet again 'puppetd --onetime --no-daemonize'
  • Add host to [1], our monitoring server
  • Update maple to allow backups

Other OS

@include common-password

auth sufficient /lib/security/

auth required /lib/security/ shadow nullok

account sufficient /lib/security/

account required /lib/security/

password required /lib/security/ retry=3 type=aerospace

password sufficient /lib/security/ authtok use_first_pass

password required /lib/security/ authtok use_first_pass md5 shadow

  • Modify '/etc/pam.d/common-password' with the following

password sufficient nullok obscure md5

  • run 'nss_updatedb ldap'
  • test with 'id jordan' should return UID 1000
  • add to wiki host pages at<hostname> (please use this template)
  • add to Backup system
  • Finally restrict ssh-access to only those users in the ssh-access group
  • Edit /etc/ssh/sshd_config
  • Add AllowGroups ssh-access to the top of the file
  • Restart sshd