10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
i'm getting this error,
can somebody check?
file name is like this
951957039339019_560119_000523_2w47_3060_0038_6002.log
filename=$(basename "$1")
extension="${filename##*.}"
filename="${filename%.*}"
IFS="_" read -r -a array... (2 Replies)
Discussion started by: charli1
2 Replies
2. Slackware
when i attach HP 1020 leaser jet printer on slackware 13.1 via usb port it detects and display message "Ready to print", in printing window (start->setting->printing) it detects & its properties(Printer->properties) is
Description : Hewlett-Packard HP LaserJet 1020
Location : Divya
Device... (0 Replies)
Discussion started by: hitlar
0 Replies
3. HP-UX
Any clue why I'm getting the error below?
I would greatly appreciate any help. HP ITRC is already engaged since this morning but until now I haven't got any resolution. I'm wondering if anybody out there got an idea on how to fix this. Thanks in advance.
This is my system:
HPUX11i-OE-Ent... (2 Replies)
Discussion started by: msgameng
2 Replies
4. HP-UX
I'm sharing this in case anybody needs it. Modified from the original solaris pwage script. This modified hpux script will check /etc/password file on hpux trusted systems search /tcb and grep the required u_succhg field. Calculate days to expiry and notify users via email.
original solaris... (2 Replies)
Discussion started by: sparcguy
2 Replies
5. Shell Programming and Scripting
Hi
I have many problems with a script. I have a script that formats a text file but always prints the same error when i try to execute it
The code is that:
{
if (NF==17){
print $0
}else{
fields=NF;
all=$0;
while... (2 Replies)
Discussion started by: fate
2 Replies
6. Shell Programming and Scripting
Hello.
I cant figure out how can i move entire row up , so it pasted on the one above at the end , or to do that for one character.
In notepads,word, or some other text editors we would do that with backspace button.
Example.
Content of my text file is this :
I am trying to do
that.
And... (2 Replies)
Discussion started by: tonijel
2 Replies
7. Shell Programming and Scripting
I am running HPUX and using WLM (workload manager). I want to write a script to fork CPUs to basically take CPUs from other servers to show that the communication is working and CPU licensing is working. Basically, I want to build a script that will use up CPU on a server. Any ideas? (2 Replies)
Discussion started by: cpolikowsky
2 Replies
8. Shell Programming and Scripting
Hi,
I am working on HPUX 11.11i and 11.10 boxes. My default shell is ksh.
I have the following entry in my profile file
HOSTNAME=`uname -n`
Every time I login to the server, this is the error I get:
${HOME:-.}/.profile: syntax error: `)' unexpected
The line number shown... (1 Reply)
Discussion started by: Yomaanmean
1 Replies
9. UNIX for Dummies Questions & Answers
m installing cups-1.2.12 in hp-ux
./configure didnt give any error.
but make gives the following error
making all in cups...
Compiling adminutil.c...
In file included from http-private.h:142,
from globals.h:35,
from adminutil.c:47:
/usr/include/net/if.h:240: error: field 'iftp_local' has... (5 Replies)
Discussion started by: rosalina
5 Replies
10. HP-UX
Hi,
is it possible to import a disk into a system, and to mount it without overwriting all data on this disk?
thanks (7 Replies)
Discussion started by: Olivier
7 Replies
KAS_LISTTICKETS(8) AFS Command Reference KAS_LISTTICKETS(8)
NAME
kas_listtickets - Displays all of the issuer's tickets (tokens)
SYNOPSIS
kas listtickets [-name <name of server>] [-long] [-help]
kas listt [-n <name of server>] [-l] [-h]
DESCRIPTION
The kas listtickets command displays the associated user ID (AFS UID), cell name, and expiration date of some or all of the issuer's
tickets (tokens), depending on which options are provided:
o To display all tokens, provide neither the -name argument nor -long flag. The output is similar to that of the tokens command.
o To display a single token, provide the -name argument to specify name of the Authentication Database entry for the entity that accepts
the token. All AFS server processes accept tokens sealed with the key from the "afs" entry.
o To display in addition the octal numbers that constitute the token and session key, provide the -long flag.
OPTIONS
-name <name of server>
Names the Authentication Database entry of the entity (usually a server process) that accepts the token to display.
-long
Displays the octal numbers that constitute the session key and ticket.
-help
Prints the online help for this command. All other valid options are ignored.
OUTPUT
The output reports the AFS UID of the user who owns the token, the service (usually, "afs") and cell for which it is valid, and its
expiration date, using the following format. If the message does not specify a cell, the ticket is for the local cell.
User's (AFS ID <AFS UID>) tokens for <service>[@<cellname>]
[Expires <date>]
If the -long flag is provided, the output also includes the octal numbers making up the session key and token, along with the key version
number and the number of bytes in the token (if the number of bytes is not 56, there is an error).
If the marker "[>> POSTDATED <]" appears instead of an expiration date, the ticket does not become valid until the indicated time. (Only
internal calls can create a postdated ticket; there is no standard interface that allows users to do this.)
EXAMPLES
The following two examples are for a user with AFS UID 1020 in the "abc.com" cell and AFS UID 35 in the "test.abc.com" cell. He is working
on a machine in the first cell and is authenticated in both cells.
% kas listtickets
User's (AFS ID 1020) tokens for afs [Expires Wed Mar 31 9:30:54 1999]
User's (AFS ID 35@test.abc.com) tokens for afs@test.abc.com
[Expires Wed Mar 31 13:54:26 1999]
% kas listtickets -name afs -long
User's (AFS ID 1020) tokens for afs [Expires Wed Mar 31 9:30:54 1999]
SessionKey: 375205351227 32310263 13
Ticket: (kvno = 0, len = 56): 33 05221156203278312 58 16133...
PRIVILEGE REQUIRED
None, and no password is required.
SEE ALSO
kas(8), tokens(1)
COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 KAS_LISTTICKETS(8)