10 More Discussions You Might Find Interesting
1. Linux
I am creating binary RPM on RedHat 6 and would like to do this:
at install time, depending on situation, install a file or not install it
For comparison, I do this on solaris using "installf",
is there a way of achieving similar functionality in RPM?
And conversely for conditional... (4 Replies)
Discussion started by: ad101
4 Replies
2. Shell Programming and Scripting
Hi,
I have the shell script requirement mentioned below :
List all java and c files or all files in directory and sub directories' in folder structure in current dir.
then search for pattren1 in all files globally and replace with other string .
And also check the date... (3 Replies)
Discussion started by: ammulu
3 Replies
3. Shell Programming and Scripting
Bonjour,
I have a large script with a lot of print statements and misc commands. Standard and error outputs are redirected like into the following code :
#!/usr/bin/ksh
LOG=/<some dir>/log
> $LOG
exec >>${LOG} 2>>${LOG}
print aaaaa
print bbbbb
print ccccc
...
some_cmd
That way,... (5 Replies)
Discussion started by: Fundix
5 Replies
4. OS X (Apple)
Ok, so I've been looking all over the place for how exactly to do this and I've become so bombarded with information I finally decided I'll pose the question here. I'm not a programmer or anything that hardcore, but if I see things already implemented and working examples I can easily learn and... (17 Replies)
Discussion started by: panacea
17 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
Hi All,
Can anyone help to write the script to check files updation?
i have files as mentioned below. which will be updated some time.
i just want to check the last file is updating the data for last 15 mins or not.
if its not updating i want to print NOT OK. if its updating data i want... (1 Reply)
Discussion started by: steve2216
1 Replies
7. Shell Programming and Scripting
Dear All,
Pls help me on this issue.
i want to write a script to check whether files updation happening in cuttent time or not.
i have set of files in directory which wil update in time basis..
Requirement: If the files are updating in system time i just want to print "files are... (6 Replies)
Discussion started by: steve2216
6 Replies
8. Red Hat
Hi,
I created an RPM for one of our internal serer: tel-gw--2010.05.1.0-SNAPSHOT-1.rpm
What happened I Installed for 5 times, and it get installed (/usr/tel-gw/) & added 5 entries into rpm db. And when I query RPM db as "rpm -qa | grep tel-gw--2010.05.1.0-SNAPSHOT-1", it shows 5 times in... (0 Replies)
Discussion started by: jw_amp
0 Replies
9. UNIX for Advanced & Expert Users
I am responsible for administering 6 Tru64UX servers.
I need to keep an eye on all the commands executed by all the users.
Is there a way where I can save the commands executed in a seperate folder and then keep checking the list every now and then.
How can do it ? (5 Replies)
Discussion started by: shauche
5 Replies
10. UNIX for Dummies Questions & Answers
I would like to create a script that logs into a list of several servers 50+ and changes my password all at once.
Every 60 days we are required to login to each system and change our passwords or else they expire and our login account is deleted.
I have an idea on how I could do this but... (4 Replies)
Discussion started by: darthur
4 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)