6 turning on password authentication – HP Insight Control Software for Linux User Manual

Page 85

Advertising
background image

1

The backslash (\) in this example indicates line continuation. Do not enter a backslash
character in your file.

2

Add console=ttyS0 here. Make sure you enter the number zero, not the letter O.

For managed systems that are virtual hosts:

Look for the default= attribute, add com1=115200,8n1 console=com1 to the kernel
entry for HP BladeSystems, and add console=ttyS0 to the module entry. For example:

default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-92.el5xen)
root (hd0,0)
kernel /xen.gz-2.6.18-92.el5 com1=115200,8n1 console=com1

1

2

module /vmlinuz-2.6.18-92.el5xen \

3

ro root=/dev/VolGroup00/LogVol00 rhgb \
quiet console=ttyS0

4

module /initrd-2.6.18-92.el5xen.img
title Red Hat Enterprise Linux Server-base (2.6.18-92.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-92.el5 \
ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-92.el5.img

1

For HP BladeSystems, add com1=115200,8n1 here. For non-blade systems, add
com2=115200,8n1

. Make sure you enter zeroes, not lowercase letter Os and that

you enter ones, not lowercase letter Ls.

2

For HP BladeSystems, add console=com1 here. For non-blade systems, add
console=com2

.

3

The backslash (\) in this example indicates line continuation. Do not enter a backslash
character in your file.

4

Add console=ttyS0 here regardless whether you are using COM1 or COM2;
this is a requirement of Xen. Make sure you enter the number zero, not the letter O.

6.

Save your changes and exit the text editor.

7.

After all three files are modified, reboot the system for the changes to take effect.

After you make these changes, all system start up and shut down messages are directed to the
serial console you selected and are not directed to the graphics display. Therefore, the system
boot appears to be different. This is expected and normal behavior.

To view the system console, use the CMF utilities on the CMS. For more information about using
CMF, see

Chapter 22 (page 187)

.

8.3.6 Turning on password authentication

This task is required only on managed systems that are installed with a supported version of SLES,
but you did not use a configuration file derived from the Insight Control for Linux installation
templates to install its OS. Otherwise, skip this task.

If a managed system is installed with SLES, password authentication must be turned on in order to
set up the HP SIM SSH keys

When you use Insight Control for Linux tools to install SLES on a managed system, Insight Control
for Linux automatically edits the /etc/ssh/sshd_config file and turns on password
authentication in this file.

However, if you did not use the Insight Control for Linux tools to install a SLES OS on a managed
system, you must manually edit the /etc/ssh/sshd_config file to turn on the
PasswordAuthentication

attribute as shown in

Example 2

.

8.3 Setting up managed systems for monitoring

85

Advertising