Skip to content.
Infrastructure > LinuxSetup
Configuring a Linux box during OS Installation:

  • Add Linux box to NIS domain:
    • domain: loni
    • servers: 128.97.134.82,128.97.134.43,128.97.134.45,128.97.134.46

  • Configure NTP
    • time server: 128.97.134.82

  • Allow only SSH connections in Firewall Config

Configuring a Linux box post OS Installation:

  • visudo
    • uncommment line '%wheel ALL=(ALL) ALL' to allow sudo
    • add line 'Defaults logfile=/var/log/sudo.log' to log sudo use

  • add usernames w/ sudo privileges in /etc/group:wheel

  • copy doig:/etc/fstab LONI entries into machine's /etc/fstab

  • create NFS mountpoint directories

  • mount using 'mount -va'

  • edit /etc/ssh/sshd_config to EXPLICITLY disable PermitRootLogin?
    • 'PermitRootLogin no'

  • edit /etc/hosts.deny by adding line 'ALL: ALL'

  • edit /etc/hosts.allow by adding line 'sshd: ALL'