VMware

Jonathan Marrott's VM Scripting Blog

A swell blog containing some of the scripts I have written for VM management.

2 Posts tagged with the kickstart tag
0

SSH - Enable for Root

Posted by froboy Sep 28, 2007

Here is a quick 2 line change to enable ssh for root.

cp /etc/ssh/sshd_config /etc/ssh/sshd_config.orig
sed 's/PermitRootLogin no/PermitRootLogin yes/' /etc/ssh/sshd_config > /etc/ssh/sshd_config

If you want the changes immediately before a reboot also execute:
service sshd restart

Again, very handy in kickstart.

0 Comments Permalink
0

NTP - Server Script

Posted by froboy Sep 28, 2007

Here is a simple way to change you NTP settings. I have found this perl script handy to run during kickstart. Open the script and replace ntp1.yourserver.com and ntp2.yourserver.com with your NTP servers.

0 Comments Permalink
Click to view froboy's profile Member since: Jun 26, 2006

A swell blog containing some of the scripts I have written for VM management.

View froboy's profile

Communities