27.12.2012 Views

The Virtualization Cookbook for SLES 10 SP2 - z/VM - IBM

The Virtualization Cookbook for SLES 10 SP2 - z/VM - IBM

The Virtualization Cookbook for SLES 10 SP2 - z/VM - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

'command c/RDTCVSW2 WDTCVSW2 MDTCVSW2/'newPass newPass newPass'/*'<br />

'command c/RDVF WDVF MDVF/'newPass newPass newPass'/*'<br />

'command c/READ WRITE MULTIPLE/'newPass newPass newPass'/*'<br />

'command c/READ WRITE/'newPass newPass'/*'<br />

'command c/RFTPSERV WFTPSERV MFTPSERV/'newPass newPass newPass'/*'<br />

'command c/RGCS WGCS MGCS/'newPass newPass newPass'/*'<br />

'command c/RGSKADMN WGSKADMN MGSKADMN/'newPass newPass newPass'/*'<br />

'command c/RIMAP WIMAP MIMAP/'newPass newPass newPass'/*'<br />

'command c/RLDAPSRV WLDAPSRV MLDAPSRV/'newPass newPass newPass'/*'<br />

'command c/RLOG1 WLOG1/'newPass newPass'/*'<br />

'command c/RLOG2 WLOG2/'newPass newPass'/*'<br />

'command c/RLPSERVE WLPSERVE MLPSERVE/'newPass newPass newPass'/*'<br />

'command c/RMAINT WMAINT MMAINT/'newPass newPass newPass'/*'<br />

'command c/RMPROUTE WMPROUTE MMPROUTE/'newPass newPass newPass'/*'<br />

'command c/RNAMESRV WNAMESRV MNAMESRV/'newPass newPass newPass'/*'<br />

'command c/RNDBPMGR WNDBPMGR MNDBPMGR/'newPass newPass newPass'/*'<br />

'command c/RNDBSRV0 WNDBSRV0 MNDBSRV0/'newPass newPass newPass'/*'<br />

'command c/RPORTMAP WPORTMAP MPORTMAP/'newPass newPass newPass'/*'<br />

'command c/RREXECD WREXECD MREXECD/'newPass newPass newPass'/*'<br />

'command c/RSERVER WSERVER/'newPass newPass'/*'<br />

'command c/RSMTP WSMTP MSMTP/'newPass newPass newPass'/*'<br />

'command c/RSNALNKA WSNALNKA MSNALNKA/'newPass newPass newPass'/*'<br />

'command c/RSNMPD WSNMPD MSNMPD/'newPass newPass newPass'/*'<br />

'command c/RSNMPQE WSNMPQE MSNMPQE/'newPass newPass newPass'/*'<br />

'command c/RSNMPSUB WSNMPSUB MSNMPSUB/'newPass newPass newPass'/*'<br />

'command c/RSSLSERV WSSLSERV MSSLSERV/'newPass newPass newPass'/*'<br />

'command c/RSYSMON WSYSMON MSYSMON/'newPass newPass newPass'/*'<br />

'command c/RTCPIP WTCPIP MTCPIP/'newPass newPass newPass'/*'<br />

'command c/RTCPMAIN WTCPMAIN MTCPMAIN/'newPass newPass newPass'/*'<br />

'command c/RTFTPD WTFTPD MTFTPD/'newPass newPass newPass'/*'<br />

'command c/RTSAFOBJ WTSAFOBJ MTSAFOBJ/'newPass newPass newPass'/*'<br />

'command c/RUFTD WUFTD MUFTD/'newPass newPass newPass'/*'<br />

'command c/R<strong>VM</strong>KERB W<strong>VM</strong>KERB M<strong>VM</strong>KERB/'newPass newPass newPass'/*'<br />

'command c/R<strong>VM</strong>NFS W<strong>VM</strong>NFS M<strong>VM</strong>NFS/'newPass newPass newPass'/*'<br />

'command c/RX25IPI WX25IPI MX25IPI/'newPass newPass newPass'/*'<br />

'command c/R4TCPIP W4TCPIP M4TCPIP/'newPass newPass newPass'/*'<br />

'command c/ALL WTCPMAIN MTCPMAIN/ALL' newPass newPass'/*'<br />

'command c/MR READ/'MR newPass'/*'<br />

B.2.3 PROFILE EXEC <strong>for</strong> Linux user IDs<br />

This section lists the code <strong>for</strong> the PROFILE EXEC that is shared among Linux user IDs from the<br />

LNXMAINT 192 disk.<br />

/* PROFILE EXEC <strong>for</strong> Linux virtual servers */<br />

'CP SET RUN ON'<br />

'CP SET PF11 RETRIEVE FORWARD'<br />

'CP SET PF12 RETRIEVE'<br />

'ACC 592 C'<br />

'SWAPGEN 300 524288' /* create a 256M VDISK disk swap space */<br />

'SWAPGEN 301 <strong>10</strong>48576' /* create a 512M VDISK disk swap space */<br />

'PIPE CP QUERY' userid() '| var user'<br />

parse value user with id . dsc .<br />

if (dsc = 'DSC') then /* user is disconnected */<br />

'CP IPL <strong>10</strong>0'<br />

else /* user is interactive -> prompt */<br />

do<br />

say 'Do you want to IPL Linux from minidisk <strong>10</strong>0? y/n'<br />

parse upper pull answer .<br />

if (answer = 'Y') then 'CP IPL <strong>10</strong>0'<br />

Appendix B. Source code 251

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!