10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello
I would like to make a script which will get the line from file list (ex. passkey) and put it into further processing.
The main problem is that lines, in text file contains all specials characters, and whitespaces too, as these that was used as a extremmaly-safe passwords. I have written... (4 Replies)
Discussion started by: elxa1
4 Replies
2. Red Hat
Hi
In opensuse we have this nice version control variable I use much when designing rpm spec files:
rpm --showrc | grep suse_version
%if 0%{?suse_version} > 0 && 0%{?suse_version} < 1700
-14: suse_version 1140But I do not find anything close to this in rhel/centos
The only way... (0 Replies)
Discussion started by: mortenb
0 Replies
3. Shell Programming and Scripting
Good day people,
Hereby wish to have your advise for below:
I have some .jar files, some script files (install.sh, action.sh) , and a libaes.so file. Basically, the .jar files compute the operation of my system and define the working directory for my system.
My current scenario:
i trigger... (1 Reply)
Discussion started by: cielle
1 Replies
4. Shell Programming and Scripting
Hi am new to perl script ..
i need some useful tutorials links to learn perl script..
and a sample script to call a php file from perl script..
thanks.. (3 Replies)
Discussion started by: senkerth
3 Replies
5. Shell Programming and Scripting
How to make RPM not write to RPM database if RPM fails to deploy?
IE I create an rpm spec file that contains the following
if
then
exit 1
fi
My rpm will fail at deployment, but if I do rpm -qa , I can see the rpm in the rpm db (3 Replies)
Discussion started by: 3junior
3 Replies
6. Shell Programming and Scripting
I'm new to this. This installer just installs PHP code so NOTHING needs to be built (do I still need to use the build and buildroot directories?). I would just like to create an installer (spec) that:
1) unpacks a tarball
2) moves the unpacked files to the installation target
3) runs a script... (2 Replies)
Discussion started by: stevenswj
2 Replies
7. Shell Programming and Scripting
Hi Guys,
I need some help related to my script... I will explain you briefly about my script and requirement
I written one script which will monitor all my services in the server and send a mail to me....
There are about 10 Services(Processes) running on my services, and I have written 10... (1 Reply)
Discussion started by: Anji
1 Replies
8. Shell Programming and Scripting
Hi,
I am writting a script and i am using SYBASE database. i have a config file with my logging credentials. when i am calling the file via isql command its throwing me an error. see the below code.
while read line
do
SERVER=`echo $linea |awk -F"|" ' {print $1} ' `
... (6 Replies)
Discussion started by: dazdseg
6 Replies
9. Shell Programming and Scripting
It's the end of the day and I just can't get my head around this. I'm trying to extract just the name of the RPM from the path to a .rpm file. So from:
/home/me/rpm/RPMS/i386/nagios-our-plugins-1.2-6.i386.rpmI need to extract 'nagios-our-plugins'.
I can't get the awk syntax right:
awk '{... (5 Replies)
Discussion started by: aussieos
5 Replies
10. UNIX for Advanced & Expert Users
Hi
I have a shell script that call a sql file. The sql file will create a spool file.
My requirement is, when ever i get an OS error like file not found. I have to log it in a log file.
Could some who worked in a like scenario help me by giving the code sample.
Many Thanks.. (1 Reply)
Discussion started by: chintapalli001
1 Replies
GRID-CA-PACKAGE(1) Globus Commands GRID-CA-PACKAGE(1)
NAME
grid-ca-package - Prepare a CA certificate, configuration, and policy for distribution
SYNOPSIS
grid-ca-package [-help] [-h] [-usage] [-version] [-versions]
grid-ca-package [-ca HASH] [-g] [-b] [-r] [-d]
DESCRIPTION
The grid-ca-package utility creates a tarball containing an RPM spec file and the files needed to use a CA with grid tools. It optionally
will also create a GPT package for distributing a CA.
By default, the grid-ca-package utility displays a list of installed grid CA and prompts for which CA to package. It then creates a tarball
containing the CA certificate, signing policy, CA configuration files, and an spec script to generate a binary RPM package containing the
CA. If the CA hash is known prior to running grid-ca-package, it may provided as an argument to the -ca parameter to avoid prompting.
In addition to generating a spec script and tarball, grid-ca-package creates a GPT package if either the -g or -b options are used on the
command-line. These packages may be used to distribute a CA and configuration to systems which do not support RPM packages.
The grid-ca-package utility writes the package tarballs to the current working directory.
The full set of command-line options to grid-ca-package follows.
-help, -h, -usage
Display the command-line options to grid-ca-package and exit.
-version, -versions
Display the version number of the grid-ca-package command. The second form includes more details.
-ca CA
Use the CA whose name matches the hash string CA. When invoked with this option, grid-ca-package runs non-interactively.
-g
Create a GPT binary package in addition to the RPM script tarball. This package may be installed on other systems using the gpt-install
program.
-b
Create a GPT binary package with GPT metadata located in the path expected by GPT 3.2 (used in Globus 2.0.0-5.0.x) instead of
${datadir}/globus/packages as used in Globus 5.2.x. This option overrides the -g command-line option.
-r
Create a binary RPM package for the CA. This option currently only works on RPM-based distributions.
-d
Create a binary Debian package for the CA. This option currently only works on Debian-based distributions.
EXAMPLES
Package a Simple CA with hash 0146c503
% grid-ca-package -ca 0146c503
Creating RPM source tarball... done
globus_simple_ca_0146c503.tar.gz
ENVIRONMENT VARIABLES
The following environment variables affect the execution of grid-ca-package:
GLOBUS_LOCATION
Non-standard installation path of the Globus toolkit.
SEE ALSO
grid-cert-request(1), grid-ca-sign(1), grid-default-ca(1), grid-ca-create(1)
AUTHOR
University of Chicago
Globus Toolkit 5.2.0 07/22/2011 GRID-CA-PACKAGE(1)