Monday August 28, 2006
Solaris first boot essential configurations Everytime one installs Solaris from a DVD/CD user needs to do a lot of initial configurations. The following perl script takes care some of those.
This script is meant to be run on development box in secure environment.This script enables SSHD explicitly so if someone doesnt want to root access for SSHD please disable "PermitRootLogin No" in "/etc/ssh/sshd_config" and restart SSHD daemon by "svcadm restart ssh"
Script configures following stuffs.
* Creates /root directory for root user updates /etc/passwd with "/root" directory and sets "/usr/bin/bash" as default shell
* Moves "/.dot-config" files to new /root directory
* Enables "PermitRootLogin yes" for /etc/ssh/sshd_config to allow root access over sshd and restarts sshd
service
* Create /root/.bashrc and /root/.bash_profile
| >updates with PATH and TERM settings |
| >bash prompt settings |
| >title bar customizations |
| >screen customization for telnet |