ssh-certd as a started task, use a JCL procedure such as
SAMPLIB (shown below). The JCL must be installed in the procedure library.
//RUNCRTD PROC F=START,OPTS='' //SSHCRTD EXEC PGM=BPXBATCH,REGION=0M,TIME=NOLIMIT, // PARM='PGM /bin/sh /opt/tectia/etc/init.d/ssh-certd // &F foreground &OPTS' //STDOUT DD PATH='/tmp/SSHD2-certd.out', // PATHOPTS=(OWRONLY,OCREAT,OTRUNC), // PATHMODE=(SIRUSR,SIWUSR) //STDERR DD PATH='/tmp/SSHD2-certd.err', // PATHOPTS=(OWRONLY,OCREAT,OTRUNC), // PATHMODE=(SIRUSR,SIWUSR) //STDIN DD DUMMY // PEND
Start the Certificate Validator with the following operator command:
== > s sshcertd
sshcertd job starts.
As an OPTS parameter, you can give parameters that the actual binary accepts, such as
-d 9. For example:
== > S SSHCERTD,OPTS='-d 9'
In the sample
SSHCERTD script above,
ssh-certd is started with the
foreground option that disables the daemon mode. With the
foreground option, the daemon does not spawn the process to background and the task name stays as
You can assign the user
SSHD2 to the started task by defining the procedure in the
STARTED class and entering the user ID in the
STDATA segment, for example:
RDEFINE STARTED SSHCERTD.* STDATA(USER(SSHD2)GROUP(SYS1)) SETROPTS RACLIST REFRESH
For more information, see