>>> On 9/4/2015 at 09:40 AM, PHILIP TULLY <[email protected]> wrote: 
> Hello All,
> 
> We are finally beginning to work on a SLES12 deployment for general use, 
> this of course mean I (and more importantly my team) needs to get up to 
> speed on systemd. 

For general purposes, look at the white paper we published previously at 
https://www.novell.com/docrep/2015/01/systemd_in_suse_linux_enterprise_12_white_paper.pdf

> The first item we would like to modify is our auto log on of root at the 
> virtual console and iucv connectivity.  Currently we have the following 
> configured:
> For  iucv:
> i1:2345:respawn:/usr/bin/iucvtty adpterm

Depending on what you're using the IUCV connectivity for, it might be better to 
use the hvc_iucv consoles/terminals that you get by default.  (Your kernel 
parameters by default should have hvc_iucv=8 specified.)  If so, then:
systemctl enable serial-getty@hvc0
systemctl enable serial-getty@hvc1
etc.

To actually start them, without rebooting:
systemctl start serial-getty@hvc0
systemctl start serial-getty@hvc0
etc.

To use the iucvtty terminals instead, the s390-tools package in SLES12 includes 
a /usr/lib/systemd/system/[email protected] file.  To use that, then
systemctl enable iucvtty-login@adpterm
systemctl start iucvtty-login@adpterm


> For root at console:
> 1:2345:respawn:/bin/login -f root

Create /etc/systemd/system/[email protected] with these contents:
[Service]
Type=simple
ExecStart=-/sbin/agetty --autologin root --noclear %I 38400 dumb
Restart=always

Then:
systemctl daemon-reload
systemctl restart serial-getty@ttyS0


Mark Post

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to