10-20-2006
hey thanks, cleared that right up for me. what about those last few lines, are any of those valid code?
Oh, lol nope not homework, just wondering what would happen if i didn't put in brackets on some of these things. and what c is willing and not willing to do.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need an if statement that recognizes whether files fitting a certain pattern exist in the current directory. Is this syntax valid:
if ; then
...
fi
assuming that zero="0" and star="*". Is there a better way to write it? (3 Replies)
Discussion started by: mharley
3 Replies
2. Solaris
hello
It's my first post in your forum
I have a Pentium 4 processor and Motherboard Gigabyte with Intel chipset and 80 GB hard disk .My question is :
Are my computer valid for Solaris os ???
Are the Solaris is free like Fedora and Suse ??
(sorry for my bad English because I'm not English man) (3 Replies)
Discussion started by: engshaheen
3 Replies
3. Shell Programming and Scripting
I am trying to write a bash script. I am able to do simple things like pass arguments, assign variables and echo the results. However, when I try to declare and array or anything a little more complicated I get
': not a valid identifier
Here is my code so far:
#!/bin/bash
echo start t... (7 Replies)
Discussion started by: script123
7 Replies
4. Programming
#include <iostream>
#include<stdio.h>
using namespace std;
class a
{
public:
int xx;
a()
{
cout << "in CONS a \n";
}
~a()
{
cout << "in DES a \n";
}
}; (1 Reply)
Discussion started by: crackthehit007
1 Replies
5. Shell Programming and Scripting
Experts,
In a script i get the following error:
The specified substitution is not valid for this command
Do you have any idea what is wrong with it?
TITLE="Code Checker" # Script Titel #
EXT="_UA99" # Eind van dirnaam #
FILE="job.dat" # Zoekbestandsnaam #
SEARCH="returncode 0" #... (1 Reply)
Discussion started by: klaasjan
1 Replies
6. Homework & Coursework Questions
Could someone help me by midnight tonight!!!
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Insert a reference to the Bourne shell as the command... (0 Replies)
Discussion started by: cody007
0 Replies
7. UNIX for Dummies Questions & Answers
Ok so this is sort of a unix question. I am frequently logging into customers boxes and our product integrates with Active directory.
I deal with a great deal of people who have no business being admins but are and they don't know squat about their network or their DC's. So a recurring problem... (4 Replies)
Discussion started by: MrEddy
4 Replies
8. UNIX for Dummies Questions & Answers
Hello every one,
Is this a valid tar statement ?
tar cv /dev/rmt/0 /etc
tar cx /dev/rmt/0 /opt
tar c /dev/rmt/0
and what is there effect ?
Thanks in advance. (3 Replies)
Discussion started by: drdigital_m
3 Replies
9. Shell Programming and Scripting
I need to check if an account has a valid password.
Would something like this work?
read ACCNAME
if grep -q "^$ACCNAME:\$6:" /etc/shadow; thenI noticed every entry in my shadow file that has a password starts with $6 ... it works for my current setup, but would it always work? I can't test... (4 Replies)
Discussion started by: ADay2Long
4 Replies
LEARN ABOUT HPUX
gss_unwrap
gss_unwrap(3) Library Functions Manual gss_unwrap(3)
NAME
gss_unwrap - verify a message with attached message integrity code (MIC) and decrypt message content if necessary
SYNOPSIS
DESCRIPTION
The routine converts a protected message to a usable form and verifies the embedded message integrity code (MIC). The conf_state parameter
indicates whether the message was encrypted. The qop_state parameter indicates the quality of protection that was used to provide the con-
fidentiality and integrity services.
Input Parameters
context_handle Specifies the context on which the message arrived.
input_message_buffer Specifies the protected message.
output_message_buffer Specifies the buffer to receive the unwrapped message.
Output Parameters
conf_state Returns the requested level of confidentiality and integrity services, as follows:
Non-zero Both confidentiality and integrity services were used.
zero Only integrity services was used.
qop_state Returns the cryptographic algorithm, or quality of protection.
minor_status Returns a status code from the security mechanism.
STATUS CODES
The following status codes can be returned:
The routine was completed successfully.
The signature was incorrect.
The context has already expired.
The context is recognized but the associated
credentials have expired.
The token failed consistency checks.
The token was valid and contained the correct
signature but it had already been processed.
The routine failed. The context specified in the context_handle parameter was not valid.
The context identified in the
context_handle parameter was not valid.
The token was valid and contained the correct signature
but it is too old.
The token was valid, and contained a correct MIC
for the message, but has been verified out of sequence; a later token has already been received.
The token was valid, and contained a correct MIC
for the message, but has been verified out of sequence; an earlier expected token has not yet been received.
AUTHOR
was developed by Sun Microsystems, Inc.
SEE ALSO
gss_get_mic(3), gss_wrap(3).
gss_unwrap(3)