Hello
I'm very new to unix, am learning it as part of my new job.
I have a book which has a list in the back, of a number of commands and their command line flags, detailing what these flags are used for.
I've been looking everywhere for an electronic copy of this type of list, so I can... (4 Replies)
Has anyone scripted an OEM (Oracle Enterprise Manager) blackout within a shell script? I can script the "emctl blackout" command, however, there are issues with unique names, etc. in 10g and I hate to re-create the wheel if someone has found a great way to do this. Thanks for your time. (0 Replies)
Hi, a simple question : How can I sent user and password to the command su.
I need this for a script, but the problem is the command su wait for the password.
Thanks. (2 Replies)
I tried opening the windows command line and typing UNIX commands, but they don't work. It kept saying that it was not recognized as an internal or external command, operable program or batch file.
Removed strange sentence with even stranger link
I need to use UNIX commands such as 'less',... (9 Replies)
I'm reading about debugging aids in bash and have come across the set command. It says in my little book that an addition to typing
set
you can also use them "on the command line when running a script..." and it lists this in a small table:
set -o option Command Line... (5 Replies)
Hi guys,
I have some echo scripts and awk scripts like these:
echo "some text" > output1
.
.
awk '{....}{print}' input > output2Both output1 and output2 are saved with unix END Of Line, then,
is there an option to include within echo command and awk command to save the output as DOS END Of... (3 Replies)
RHEL 6.2/Bash shell
root user will be executing the below script. It switches to oracle user and expect to do the following things
A. Source the environment variables for BATGPRD Database (the file used for sourcing is shown below after the script)
B. Shutdown the DB from sqlplus -- The... (13 Replies)
Hello Forum,
I'm making very good progress on my report thanks to the very helpful people on this forum. I've been able to successfully create my report for my Red Hat servers. But I do have a few ubuntu servers in the mix and I'd like to capture some data from them when an ssh connection is... (8 Replies)
Discussion started by: greavette
8 Replies
LEARN ABOUT HPUX
newkey
newkey(1M)newkey(1M)NAME
newkey - create a new Diffie-Hellman key pair in the publickey database
SYNOPSIS
[
[
DESCRIPTION
establishes new public keys for users and machines on the network. These keys are needed when using secure RPC or secure NFS service.
prompts for a password for the given username or hostname and then creates a new public/secret Diffie-Hellman 192 bit key pair for the user
or host. The secret key is encrypted with the given password. The key pair can be stored in the file, the NIS map, or entries in the LDAP
directory.
consults the entry in the name service switch configuration file (see nsswitch.conf(4)) to determine which naming service is used to store
the secure RPC keys. If the entry specifies a unique name service, will add the key in the specified name service. However, if there are
multiple name services listed, cannot decide which source to update and will display an error message. The user is required to specify the
source explicitly with the option.
In the case of NIS, should be run by the superuser on the master NIS server for that domain. In the case of LDAP, should be run by the
superuser on a machine that has permission to update the entries in the LDAP directory.
Options
Create a new public/secret key pair for the privileged user at the given
hostname. Prompts for a password for the given hostname.
Create a new public/secret key pair for the given
username. Prompts for a password for the given username.
Update the database in the specified source:
(for NIS), or (LDAP). Other sources may be available in the future.
WARNINGS
HP-UX 11i Version 2 is the last HP-UX release on which NIS+ is supported. LDAP is the recommended replacement for NIS+. HP fully supports
the industry standard naming services based on LDAP.
AUTHOR
was developed by Sun Microsystems, Inc.
SEE ALSO chkey(1), keylogin(1), nsswitch.conf(4), publickey(4).
newkey(1M)