05-24-2011
Last edited by vbe; 05-24-2011 at 10:13 AM..
6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi I am new to shell scripting and trying to get values from a text file,
I have a text file with values seperated with "|". like
aga|120220090525|120220090525|120220090525|120220090530
bab|120220090530|120220090530|120220090535|120220090535|120220090535... (4 Replies)
Discussion started by: mannepalli
4 Replies
2. Emergency UNIX and Linux Support
i want to create loop for below mentioned
A1=`echo $obj1 | cut -d "," -f3`
A2=`echo $obj1 | cut -d "," -f4`
A3=`echo $obj1 | cut -d "," -f5`
A4=`echo $obj1 | cut -d "," -f6`
A5=`echo $obj1 | cut -d "," -f7`
A6=`echo $obj1 | cut -d "," -f8`
A7=`echo $obj1 | cut -d "," -f9`
A8=`echo $obj1... (3 Replies)
Discussion started by: pasricha.kunal
3 Replies
3. Shell Programming and Scripting
Hi
Can anyone what I am doing wrong while using cut command.
for f in *.log
do
logfilename=$f
Log "Log file Name: $logfilename"
logfile1=`basename $logfilename .log`
flength=${#logfile1}
Log "file length $flength"
from_length=$(($flength - 15))
Log "from... (2 Replies)
Discussion started by: dgmm
2 Replies
4. Shell Programming and Scripting
Hi folks,
I have a scenario to convert the update statements into insert statements using shell script (awk, sed...) or in database using regex.
I have a bunch of update statements with all columns in a file which I need to convert into insert statements.
UPDATE TABLE_A SET COL1=1 WHERE... (0 Replies)
Discussion started by: dev123
0 Replies
5. UNIX for Beginners Questions & Answers
I'm a complete beginner in UNIX (and not a computer science student either), just undergoing a tutoring course. Trying to replicate the instructions on my own I directed output of the ls listing command (lists all files of my home directory ) to My_dir.tsv file (see the screenshot) to make use of... (9 Replies)
Discussion started by: scrutinizerix
9 Replies
6. Shell Programming and Scripting
I am using : << cut / cut to comment out block of code.
Works fine on few lines of script, then it gives me this cryptic error when I try to comment out about 80 lines.
The "warning " is at last line of script.
done < results
169 echo "END read all positioning parameters"
170... (8 Replies)
Discussion started by: annacreek
8 Replies
LEARN ABOUT DEBIAN
pkttyagent
PKTTYAGENT(1) pkttyagent PKTTYAGENT(1)
NAME
pkttyagent - Textual authentication helper
SYNOPSIS
pkttyagent [--version] [--help]
pkttyagent [--process { pid | pid,pid-start-time } | --system-bus-name busname] [--notify-fd fd] [--fallback]
DESCRIPTION
pkttyagent is used to start a textual authentication agent for the subject specified by either --process or --system-bus-name. If neither
of these options are given, the parent process is used.
To get notified when the authentication agent has been registered either listen to the Changed D-Bus signal or use --notify-fd to pass the
number of a file descriptor that has been passed to the program. This file descriptor will then be closed when the authentication agent has
been successfully registered.
If --fallback is used, the textual authentication agent will not replace an existing authentication agent.
RETURN VALUE
If the authentication agent could not be registered, pkttyagent exits with an exit code of 127. Diagnostic messages are printed on standard
error.
If one or more of the options passed are malformed, pkttyagent exits with an exit code of 126. If stdin is a tty, then this manual page is
also shown.
If the authentication agent was successfully registered, pkttyagent will keep running, interacting with the user as needed. When its
services are no longer needed, the process can be killed.
NOTES
Since process identifiers can be recycled, the caller should always use pid,pid-start-time when using the --process option. The value of
pid-start-time can be determined by consulting e.g. the proc(5) file system depending on the operating system. If only pid is passed to the
--process option, then pkttyagent will look up the start time itself but note that this may be racy.
AUTHOR
Written by David Zeuthen davidz@redhat.com with a lot of help from many others.
BUGS
Please send bug reports to either the distribution or the polkit-devel mailing list, see the link
http://lists.freedesktop.org/mailman/listinfo/polkit-devel on how to subscribe.
SEE ALSO
polkit(8), pkaction(1), pkcheck(1), pkexec(1)
polkit May 2009 PKTTYAGENT(1)