12-31-2009
Not applicable
No longer required
Last edited by James_UK; 12-31-2009 at 01:10 PM..
Reason: not needed
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a console server that runs some form of UNIX/Linux, but I get a bash shell, and I want to determine how many processor (what speed) and them amount of RAM in the system. (2 Replies)
Discussion started by: bbrandeb49
2 Replies
2. IP Networking
Given the interfaces on a firewall:
eth0 Link encap:Ethernet HWaddr 02:40:67:34:F5:47
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
eth1 Link encap:Ethernet HWaddr 86:23:98:45:35:56
inet addr:123.45.240.69 Bcast:255.255.255.255 ... (2 Replies)
Discussion started by: kikikaka
2 Replies
3. UNIX for Dummies Questions & Answers
Hi guys.
Hopefully someone can help me.
We have a old Unix box for the accounts people. What id like to do is query it for the intranet. Trouble is im not sure what type of database the server uses.
How would i go about finding out what it is? I have complete access to the hardrive and... (2 Replies)
Discussion started by: RageMonkey
2 Replies
4. UNIX for Advanced & Expert Users
Hi,
when I execute some simple commands on my solaris system, I am getting the following warning message:
Could anybody tell me what could be the reason
Ex:- If I give the command,
which ls
Warning: cannot determine current directory
... (15 Replies)
Discussion started by: axes
15 Replies
5. Programming
Hello all! I've searched the archives, google, documentation and I can't seem to find any answer regarding my question.
Our code has to be lint free and due to the following lint warning ---> logical expression always true: op "||" <--- we are forced to #include <note.h > (which appears to be... (3 Replies)
Discussion started by: quattro20v
3 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
i have a script called a.sh and within a.sh it calls b.sh.
when i do a ps -ef | grep a.sh, i get two sets of number
user_test 4225 3250 0 10:31 pts/1 00:00:00 a.sh
when i do a ps -ef | grep b.sh, i get two sets of number
user_test 4269 4225 22 10:31 pts/1 00:00:45... (17 Replies)
Discussion started by: new2ss
17 Replies
7. Shell Programming and Scripting
A regular ebcdic mainframe tape usually contains header information the 1st three blocks of the tape. The header information tells the computer/user more information about what is on tape. The header info is 240 bytes in length at 80 bytes each header. The 1st block/header is volume name or... (1 Reply)
Discussion started by: Linux-wannabe
1 Replies
8. Shell Programming and Scripting
Need help with the script, I am trying to include this script as part of kickstart profile.
based of the host's IP address, in this case if the host is IP starting with 10.10.3.* or 10.10.6.*, I will be pushing appropriate routing file from my web server.
I validate host IP from nslookup.
... (3 Replies)
Discussion started by: bobby320
3 Replies
9. UNIX for Dummies Questions & Answers
Hi Team,
I need to determine whether my OS is 32 bit or 64 bit.
For linux I am running :-
bash$ uname -a
Linux xxxx 2.6.32-358.el6.x86_64 #1 SMP Tue Jan 29 11:47:41 EST 2013 x86_64 x86_64 x86_64 GNU/LinuxThis tells me that Linux is 64 bit as it is x86_64.
For Solaris
bash$ uname -a... (4 Replies)
Discussion started by: Raj999
4 Replies
LEARN ABOUT SUNOS
gss_inquire_cred_by_mech
gss_inquire_cred_by_mech(3GSS) Generic Security Services API Library Functions gss_inquire_cred_by_mech(3GSS)
NAME
gss_inquire_cred_by_mech - obtain per-mechanism information about a credential
SYNOPSIS
cc -flag ... file ...-lgss [library ...]
#include <gssapi/gssapi.h>
OM_uint32 gss_inquire_cred_by_mech(OM_uint32 *minor_status, const gss_cred_id_t cred_handle, const gss_OID mech_type, gss_name_t *name,
OM_uint32 *initiator_lifetime, OM_uint32 *acceptor_lifetime, gss_cred_usage_t *cred_usage);
DESCRIPTION
The gss_inquire_cred_by_mech() obtains per-mechanism information about a credential.
PARAMETERS
The parameter descriptions for gss_inquire_cred_by_mech() follow:
minor_status A mechanism specific status code.
cred_handle A handle that refers to the target credential. Specify GSS_C_NO_CREDENTIAL to inquire about the default initiator
principal.
mech_type The mechanism for which the information should be returned.
name The name whose identity the credential asserts. Any storage associated with this name must be freed by the applica-
tion after use by a call to gss_release_name(3GSS).
initiator_lifetime The number of seconds that the credential is capable of initiating security contexts under the specified mechanism.
If the credential can no longer be used to initiate contexts, or if the credential usage for this mechanism is
GSS_C_ACCEPT, this parameter will be set to 0. Specify NULL if this parameter is not required.
acceptor_lifetime The number of seconds that the credential is capable of accepting security contexts under the specified mechanism.
If the credential can no longer be used to accept contexts, or if the credential usage for this mechanism is
GSS_C_INITIATE, this parameter will be set to 0. Specify NULL if this parameter is not required.
cred_usage How the credential may be used with the specified mechanism. The cred_usage parameter may contain one of the fol-
lowing values: GSS_C_INITIATE, GSS_C_ACCEPT, or GSS_C_BOTH. Specify NULL if this parameter is not required.
ERRORS
gss_inquire_cred_by_mech() may return the following status codes:
GSS_S_COMPLETE Successful completion.
GSS_S_NO_CRED The referenced credentials cannot be accessed.
GSS_S_DEFECTIVE_CREDENTIAL The referenced credentials are invalid..
GSS_S_CREDENTIALS_EXPIRED The credentials cannot be added because they have expired.
GSS_S_FAILURE The underlying mechanism detected an error for which no specific GSS status code is defined. The mecha-
nism-specific status code reported by means of the minor_status parameter details the error condition.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgss (32-bit) |
+-----------------------------+-----------------------------+
| |SUNWgssx (64-bit) |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO
gss_release_name(3GSS), , attributes(5)
Solaris Security for Developers Guide
SunOS 5.10 14 Jan 2003 gss_inquire_cred_by_mech(3GSS)