09-11-2009
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i had a user who informed that when he tried to login he got this " too many unsuccessful attepmpts" this has happened regularly and he did not forget his password. i suspect that somebody tried to change. so i did some checks. i did a last, and found that nobody uses this
sipo other than... (8 Replies)
Discussion started by: yls177
8 Replies
2. Shell Programming and Scripting
Hi,
Can anyone suggest a Unix command or c-shell algorithm to simulate to behavior of "wall" command minus the "all users"? What I'm trying to do is to send a notice to just one particular user but i dont want other remotely-logged-on users to receive the message (on the pseudo-terminals). I... (6 Replies)
Discussion started by: Deanne
6 Replies
3. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
4. UNIX and Linux Applications
hi,
I have
* an IBM P550 machine,
* an AIX 5.3 running on it and
* an oracle database, already installed on it.
The problem (or question of my own) is:
Oracle tns listener, "CT_LISTENER", and the enterprise manager (EM) of the instance, which is uniq instance and called... (0 Replies)
Discussion started by: talipk
0 Replies
5. UNIX for Advanced & Expert Users
hi,
I have a problem about the Oracle related components. I'm not able to find any answer yet, and waiting for your responses...
Here is the configuration of my system:
* an IBM P550 machine,
* an AIX 5.3 running on it and
* an oracle database, already installed on it.
The problem (or... (1 Reply)
Discussion started by: talipk
1 Replies
6. UNIX for Dummies Questions & Answers
HI All,
I am using solaris
i created a user adam and updated his permissions
in vi sudoers file as follows
adam ALL=(ALL) NOPASSWORD: ALL
...........
when i create user by logging as sudo user .
$ sudo useradd -d /home/kalyan -m -s /bin/sh kalyan
sudo: not found
... (6 Replies)
Discussion started by: kalyankalyan
6 Replies
7. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
8. UNIX for Dummies Questions & Answers
Please can you help me understand the significance of providing arguments under sh -s in
> ssh -qtt ${user}@${host} "sh -s "${version}"" < test.sh (4 Replies)
Discussion started by: Sree10
4 Replies
9. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT CENTOS
ipsec_newhostkey
IPSEC_RANBITS(8) Executable programs IPSEC_RANBITS(8)
NAME
ipsec_newhostkey - generate a new raw RSA authentication key for a host
SYNOPSIS
ipsec newhostkey [[--configdirnssdbdir] | [--password password]] [[--quiet] | [--verbose]] [--bits bits] [--random device]
[--hostname hostname] [--output filename]
DESCRIPTION
newhostkey outputs (into filename, which can be '-' for standard output) an RSA private key suitable for this host, in /etc/ipsec.secrets
format (see ipsec.secrets(5)) using the --quiet option per default.
The --output option is mandatory. The specified filename is created under umask 077 if nonexistent; if it already exists and is non-empty,
a warning message about that is sent to standard error, and the output is appended to the file.
The --quiet option suppresses both the rsasigkey narrative and the existing-file warning message.
When compiled with NSS support (the default), --configdir specifies the nss configuration directory where the certificate key, and modsec
databases reside. There is no default value, though /etc/ipsec.d might be sensible choice.
When compiled with NSS support (the default), --password specifies a module authentication password that may be required if FIPS mode is
enabled
The --bits option specifies the number of bits in the RSA key; the current default is a random (multiple of 16) value between 3072 and
4096. The minimum allowed is 2172.
The --random is used to specify the random device (default /dev/random used to seed the crypto library RNG.
The --hostname option is passed through to rsasigkey to tell it what host name to label the output with (via its --hostname option).
The output format is that of rsasigkey, with bracketing added to complete the ipsec.secrets format. In the usual case, where ipsec.secrets
contains only the hostas own private key, the output of newhostkey is sufficient as a complete ipsec.secrets file.
FILES
/dev/random, /dev/urandom
SEE ALSO
ipsec_rsasigkey(8), ipsec.secrets(5)
HISTORY
Originally written for the Linux FreeS/WAN project <http://www.freeswan.org> by Henry Spencer. Updated by Paul Wouters
BUGS
As with rsasigkey, the run time is difficult to predict, since depletion of the systemas randomness pool can cause arbitrarily long waits
for random bits, and the prime-number searches can also take unpre dictable (and potentially large) amounts of CPU time. See
ipsec_rsasigkey(8) .
A higher-level tool which could handle the clerical details of changing to a new key would be helpful.
AUTHOR
Paul Wouters
placeholder to suppress warning
libreswan 09/06/2013 IPSEC_RANBITS(8)