Actually, the interactive question is not generated from a script I wrote. It's a java tool which ask me questions to create a certificate based on it. I guess my solution probably lies in trying to be able to program my script to answer these interactive questions which I'm not exactly sure how to do
Hi!
I want to write a script that will create an archive (via tar) that will restrict the size of the tar file. The size can be constrained using the keyword 'k' and providing the size restriction. The problem is that the script needs to know (detect) when the tar command prompts the user (which... (2 Replies)
Hi
I have a question that after trying tirelessly I cant solve. I'm not great wth UNIX and wonder if anyone could help. I have to create a shell program using functions that prompts for a user ID. I must then verify that the user Id corresponds to an account on the system. If a legal user Id is... (1 Reply)
Hi
I have a question that after trying tirelessly I cant solve. I'm not great wth UNIX and wonder if anyone could help. I have to create a shell program using functions that prompts for a user ID. I must then verify that the user Id corresponds to an account on the system. If a legal user Id is... (16 Replies)
First off, I am using Mac OS X, with Apple Remote Desktop.
I have to install several app's on teachers' laptops which are on several cd's that I have made disk images of. (DMG's)
To do rollouts quicker, I have written a script to mount the disk images and running the installers inside each of... (4 Replies)
At work I use this rover script to perform ID administration of machines that have no central management system. The one problem I encounter is the prompt of the machine I'm trying to reach.
For instance, by default rover looks for $, which most *nix prompts do end with a $, and tries to... (0 Replies)
I'm trying to write a script the simplifies the execution of a program:
After starting the program (sh ~/.mfix/model/make_mfix) I am prompted four times for options:
Do you need SMP version? (y/n)
Do you need DMP version? (y/n)
Do you need debug version? (y/n)
Force re-compilation of... (2 Replies)
Dear all,
I am new to shell scripting and have tried to make a small program for fun sake that tells age from the last number of cell phone and birth year.
At the end we get a final 3 digit number and the first digit represents the last digit of cell phone and rest 2 numbers shows age. eg. 423... (4 Replies)
Good morning,
I'm attempting to call sqlldr via shell script and it is prompting endIf is unec
#!/bin/sh
cd /tmp/v_tst
FILENAME_WANTED=`date +"HourlyData_%Y%m%d_%H00.txt"`
echo "FILENAME_WANTED = ${FILENAME_WANTED}"
LIST_OF_FILES=`ls -rt HourlyData*.txt |tail -1`
LIST_OF_FILES=`basename... (4 Replies)
Discussion started by: V1l1h1
4 Replies
LEARN ABOUT DEBIAN
shib-keygen
SHIB-KEYGEN(8) Shibboleth SHIB-KEYGEN(8)NAME
shib-keygen - Generate a key pair for a Shibboleth SP
SYNOPSIS
shib-keygen [-bf] [-e entity-id] [-g group]
[-h hostname] [-o output-dir] [-u user] [-y years]
DESCRIPTION
Generate a self-signed X.509 certificate for a Shibboleth SP. By default, the certificate will be for the local fully-qualified (as
returned by "hostname --fqdn") hostname. An entity ID can be specified with the -e flag. The openssl command-line client is used to
generate the key pair. By default, the public certificate will be created in /etc/shibboleth/sp-cert.pem and the private key in
/etc/shibboleth/sp-key.pem.
OPTIONS -b Suppress all standard error output when creating the certificate. This option is normally only used by the package build.
-e entity-id
Add entity-id (which should be a URI) as an alternative name for the certificate.
-f Remove /etc/shibboleth/sp-cert.pem and /etc/shibboleth/sp-key.pem before generating a new certificate. Without this option, if those
files already exist, shib-keygen prints an error and exits rather than overwriting them.
-g group
After generating the key and certificate, change the group ownership of the key file to this group. By default, the group used is
"_shibd".
-h hostname
Specify the fully-qualified domain name for which to generate a certificate. If this option isn't given, the hostname defaults to the
result of "hostname --fqdn".
-o output-dir
Store sp-cert.pem and sp-key.pem in the directory output-dir rather than the default of /etc/shibboleth.
-u user
After generating the key and certificate, change the ownership of the key file to this user. This is used to allow the key to be read
by a non-root user so that shibd can be run as a non-root user. By default, the key is owned by "_shibd".
-y years
The number of years for which the certificate should be valid. The default expiration time is ten years into the future.
FILES
/etc/shibboleth/sp-cert.cnf
The OpenSSL configuration file used for generating the self-signed certificate. This configuration file is generated when the script
is run and deleted afterwards.
/etc/shibboelth/sp-cert.pem
The default location of the public certificate created by this script.
/etc/shibboleth/sp-key.pem
The default location of the private key for the certificate created by this script.
These three files are stored in the directory given with -o instead, if that option is given.
AUTHOR
This manual page was written by Russ Allbery for Debian GNU/Linux.
COPYRIGHT
Copyright 2008, 2011 Russ Allbery. This manual page is hereby placed into the public domain by its author.
2.4.3 2012-02-16 SHIB-KEYGEN(8)