10 More Discussions You Might Find Interesting
1. AIX
Hello,
On Aix 5.2, we changed the parameters tcp_keepinit, tcp_keepintvl and tcp_keepidle with the no command.
tunrestore -R is present in inittab
in the directory /etc/tunables we can clearly see the inclusion of parameters during reboot, including the file lastboot.log
... (0 Replies)
Discussion started by: dantares
0 Replies
2. Shell Programming and Scripting
Hi,
please tell me the systax for passing 11 variables(including 4compulsory variables) in shell program.
ORA_USERPASS=`echo $1`
USERID=`echo $2`
USERNAME=`echo $3`
REQUESTID=`echo $4`
P5=`echo $5`
P6=`echo $6`
P7=`echo $7`
P8=`echo $8`
P9=`echo $9`
shift
P10=`echo $9`
shift... (3 Replies)
Discussion started by: anitha126
3 Replies
3. AIX
I know that IBM's official stance is that NIM does not work on etherchannel environment, but has anyone able to get around it?
I'm working on a p5-590 LPAR system, and the NIM master and clients are all on the same frame.
Any help is appreciated. (1 Reply)
Discussion started by: pdtak
1 Replies
4. Shell Programming and Scripting
i'm supposed to come up with a script that
-accepts a directory as an optional command line parameter
-display an error message and terminates if more than one parameter is provided
-use the current directory if no parameter is provided
-displays an error message and terminates if the provided... (4 Replies)
Discussion started by: jaay
4 Replies
5. UNIX for Dummies Questions & Answers
Hopefully this post won't be too long :rolleyes:
I've been in data processing for a number of years running on a windows system, and working with perl and MySQL to get the job done.
I'm now part of a team who have bought a company and have been asked to investigate how we setup a new Data... (3 Replies)
Discussion started by: Kraythorne
3 Replies
6. Shell Programming and Scripting
I have a script that needs to check if the given parameters are a combination of 0123456789 and not a word or another irelevant character.please help (6 Replies)
Discussion started by: aekaramg20
6 Replies
7. Shell Programming and Scripting
I can test for one parameter but anything more then that and I get an Error.
I forgot I run this batch in a shell
#!/bin/sh
-------------------------------------------------------------------------
Write a batch program that accepts a keyword as a parameter and finds all the files... (3 Replies)
Discussion started by: james2006
3 Replies
8. UNIX for Dummies Questions & Answers
Am looking installing Red Hat 7.2 on an AMD-K6/2 PC and after realising that I can't use my space 80G HD due to BIOS restrictions (have resorted to using a 20G HD), was wondering what setup others use.
If "Other" please indicate. (5 Replies)
Discussion started by: Cameron
5 Replies
9. IP Networking
Hi there im new to linux.
I installed mandrake linux and set up all my networkcard ip address etc.
when i do "route" or "ifconfig" all addresses etc. are allright but i cant ping other machines in my network also the machine with linux on it cant be pinged if i ping a machine from linux i always... (5 Replies)
Discussion started by: PhoenixHawk
5 Replies
10. UNIX for Dummies Questions & Answers
I'm a Unix newbie.
In a shell-script, is there any way to accept keyboard input (via STDIN) without having it display on the screen? I know keying in a login password sort of does this by replacing what you key with astericks (*) but I believe that's a "C" routine. I'd like to be able to... (2 Replies)
Discussion started by: liteyear18
2 Replies
Crypt::DSA::KeyChain(3pm) User Contributed Perl Documentation Crypt::DSA::KeyChain(3pm)
NAME
Crypt::DSA::KeyChain - DSA key generation system
SYNOPSIS
use Crypt::DSA::KeyChain;
my $keychain = Crypt::DSA::KeyChain->new;
my $key = $keychain->generate_params(
Size => 512,
Seed => $seed,
Verbosity => 1,
);
$keychain->generate_keys($key);
DESCRIPTION
Crypt::DSA::KeyChain is a lower-level interface to key generation than the interface in Crypt::DSA (the keygen method). It allows you to
separately generate the p, q, and g key parameters, given an optional starting seed, and a mandatory bit size for p (q and g are 160 bits
each).
You can then call generate_keys to generate the public and private portions of the key.
USAGE
$keychain = Crypt::DSA::KeyChain->new
Constructs a new Crypt::DSA::KeyChain object. At the moment this isn't particularly useful in itself, other than being the object you need
in order to call the other methods.
Returns the new object.
$key = $keychain->generate_params(%arg)
Generates a set of DSA parameters: the p, q, and g values of the key. This involves finding primes, and as such it can be a relatively long
process.
When invoked in scalar context, returns a new Crypt::DSA::Key object.
In list context, returns the new Crypt::DSA::Key object, along with: the value of the internal counter when a suitable prime p was found;
the value of h when g was derived; and the value of the seed (a 20-byte string) when q was found. These values aren't particularly useful
in normal circumstances, but they could be useful.
%arg can contain:
o Size
The size in bits of the p value to generate. The q and g values are always 160 bits each.
This argument is mandatory.
o Seed
A seed with which q generation will begin. If this seed does not lead to a suitable prime, it will be discarded, and a new random seed
chosen in its place, until a suitable prime can be found.
This is entirely optional, and if not provided a random seed will be generated automatically.
o Verbosity
Should be either 0 or 1. A value of 1 will give you a progress meter during p and q generation--this can be useful, since the process
can be relatively long.
The default is 0.
$keychain->generate_keys($key)
Generates the public and private portions of the key $key, a Crypt::DSA::Key object.
AUTHOR & COPYRIGHT
Please see the Crypt::DSA manpage for author, copyright, and license information.
perl v5.12.4 2011-10-05 Crypt::DSA::KeyChain(3pm)