07-19-2007
Hi
Thanks for your help.But unfortunately it has to be a UNIX korn shell script as otherwise the production support will not be able to handle any errors.
My sincere apologies for troubling you!
Regards
SRK
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi ,
I am having one situation in which I need to run some simple unix commands after doing "chroot" command in a shell script. Which in turn creates a new shell.
So scenario is that
- I need to have one shell script which is ran as a part of crontab
- in this shell script I need to do a... (2 Replies)
Discussion started by: hkapil
2 Replies
2. AIX
Hi,
Please give me the detailed Differences between writing Unix Shell script and AIX Shell Scripts. Thanks in advance..... (0 Replies)
Discussion started by: haroonec
0 Replies
3. Shell Programming and Scripting
I want to create an automated script which is called by another maually executed script.
The condition is that the no one should be able to manually execute the automated script.
The automated script can be on the same machine or it can be on a remote machine.
Can any one suggest a check in the... (1 Reply)
Discussion started by: adi_bang76
1 Replies
4. Shell Programming and Scripting
Can anybody help me out in sending parameters from sql*plus script to unix shell script without using flat files..
Initially in a shell script i will call sql*plus and after getting some value from some tables, i want that variable value in unix shell script. How can i do this?
Please tell me... (2 Replies)
Discussion started by: Hara
2 Replies
5. Shell Programming and Scripting
Hi,
I need help urgently for following issue. Pls help me to resolve this issue.
I am calling sql script file(file1.sql) from UNIX Shell Script(script1.ksh) using sql plus and trying to create flat file that contains all records returned from SQL query in SQL script(file1.sql)
I given... (6 Replies)
Discussion started by: praka
6 Replies
6. Shell Programming and Scripting
Hi,
Is it possible to ftp a huge zip file from windows to unix server using unix shell scripting?
If so what command i need to use.
thanks in advance. (1 Reply)
Discussion started by: Shri123
1 Replies
7. Shell Programming and Scripting
Can anyone help me with a dos batch script to execute a shell script residing in an unix server. I am not able to use ssh.
Thanks in advance (2 Replies)
Discussion started by: Shri123
2 Replies
8. Shell Programming and Scripting
Please share the doc asap as very urgently required. (1 Reply)
Discussion started by: 24ajay
1 Replies
9. Shell Programming and Scripting
Hi team,
My requirement is to transfer pdf files from windows machine to unix server and then from that unix server we should sftp to another server.
I have completed the first part i.e From windows to using to unix server with the help of psftp.exe
code:
psftp user@host -pw password <... (1 Reply)
Discussion started by: bhupeshchavan
1 Replies
10. Shell Programming and Scripting
Hi all,
$ echo $SHELL
/bin/bash
Requirement - How to pass oracle sql script as argument to unix shell script?
$ ./output.sh users.sql
Below are the shell scripts and the oracle sql file in the same folder.
Shell Script
$ cat output.sh
#!/bin/bash
.... (7 Replies)
Discussion started by: a1_win
7 Replies
LEARN ABOUT DEBIAN
tspi_tpm_ownergetsrkpubkey
Tspi_TPM_OwnerGetSRKPubKey(3) Library Functions Manual Tspi_TPM_OwnerGetSRKPubKey(3)
TCG Software Stack Developer's Reference
NAME
Tspi_TPM_OwnerGetSRKPubKey - get public key of the SRK
SYNOPSIS
#include <tss/tspi.h>
TSS_RESULT Tspi_TPM_OwnerGetSRKPubKey(TSS_HTPM hTPM,
UINT32* pulPubKeyLength,
BYTE** prgbPubKey);
DESCRIPTION
Tspi_TPM_OwnerGetSRKPubKey returns the public key of the key object using owner authorization. This can only be used on 1.2 TPMs, and only
to return the public key of the SRK.
PARAMETERS
hTPM
The hTPM parameter is used to specify the handle of the TPM object.
pulPubKeyLength
The pulPubKeyLength parameter is the length (in bytes) of the prgbPubKey parameter.
prgbPubKey
The prgbPubKey parameter is the pointer to the memory block containing the public key blob retrieved for the key object referenced by hKey.
RETURN CODES
Tspi_TPM_OwnerGetSRKPubKey returns TSS_SUCCESS on success, otherwise one of the following values is returned:
TSS_E_INVALID_HANDLE
hTPM is not a valid handle.
TSS_E_BAD_PARAMETER
One or more parameters is bad.
TSS_E_INTERNAL_ERROR
An internal SW error has been detected.
TSS_E_TPM_UNSUPPORTED
The TPM is not version 1.2 or later - (Note: still unimplemented)
CONFORMING TO
Tspi_TPM_OwnerGetSRKPubKey conforms to the Trusted Computing Group Software Specification version 1.2
SEE ALSO
Tspi_Context_FreeMemory(3), Tspi_Key_GetPubKey(3).
TSS 1.1 2007-07-19 Tspi_TPM_OwnerGetSRKPubKey(3)