11-23-2013
thanks for the replies i figured it out before the replies but I appreciate you help thanks
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I'm trying to figure out how to change the font or color of output in the middle of a shell script. I can't find anything that tells me how to do that. Any ideas? (1 Reply)
Discussion started by: MDyer18
1 Replies
2. UNIX for Dummies Questions & Answers
Hi Friends !
I want to change my current directory through a script.
I am running the script say, from /home/proj directory.
The script is like this :
#!/usr/bin/sh
cd module/pack/data
once i run the script, i am still in /home/proj directory only.
My problem is, i dont want to type... (5 Replies)
Discussion started by: mrgubbala
5 Replies
3. Shell Programming and Scripting
I am working on a script that checks two arguments at the command line. The first argument is a search pattern, the second can be a file or a directory, if it is a file a second script is called that checks it for the search pattern. If the second argument is a directory, it checks for the search... (5 Replies)
Discussion started by: Breakology
5 Replies
4. Shell Programming and Scripting
ed... always same values get printed out... (2 Replies)
Discussion started by: HardyV2
2 Replies
5. Shell Programming and Scripting
I am attempting to write a script where the user enters the month and day (two digit format). I am trying to have script will increase 6 more times (totaling 7). I am having issues with the script increasing by one (its either dropping off the lead zero or not increasing for 08 and 09). While... (8 Replies)
Discussion started by: bbraml
8 Replies
6. Shell Programming and Scripting
Hello,
We are running aix 5.3.
We're looking for a script that can change passwords, taking 2 arguments ( old password, new password ).
I am wondering if this can be done with a here document, or some generic scripting method.
Or, if I would have to download expect.
Alternatively I wonder... (3 Replies)
Discussion started by: fwellers
3 Replies
7. Solaris
HI
I want to run a script as new process. for example, I have two script A and B. From A I am calling B, but When I do ps -ef for the script B the parent ID should not be A' ID.
Please help me
Thanks & Regards
Ramu (3 Replies)
Discussion started by: ramukumar
3 Replies
8. Shell Programming and Scripting
#/bin/bash
#set -vx
DST_SRV=<destination_hostname>
MDATE=`date +%Y%m%d%H%M`
SRC_CONTENT="/home/prad/sourcecontent/"
DST_CONTENT="/tmp/prad/destinationfolder/"
DST_LOG="/tmp/prad/STATS"
CURRENT_LOG="/home/prad/STATS/rsync-current.log"
EMAIL="/home/prad/EMAIL/email.log"... (3 Replies)
Discussion started by: pnara2
3 Replies
9. Solaris
We are real strict when it comes to passwords. Every 60 days the admins have to change passwords on all of the accounts. And there is pretty strict enforcement of the type of passwords chosen. This is a tedious and monotonous job. Ww don't use NIS or LDAP, so this has to be done on each machine. ... (5 Replies)
Discussion started by: brownwrap
5 Replies
10. Shell Programming and Scripting
I have a problem, and I really need help with this. And I imagine that I will have to learn a new level of scripting to complete this. But I have over 5,000 pictures that are misnamed with the extension .jpg. They're not jpg, they're png, and it's extremely important that they're correctly filed. I... (3 Replies)
Discussion started by: Huitzilopochtli
3 Replies
LEARN ABOUT DEBIAN
ident2
ident2(8) System Manager's Manual ident2(8)
NAME
ident2 - An advanced ident daemon
SYNOPSIS
ident2 [options]
DESCRIPTION
ident2 is an advanced ident daemon, which can run as an inetd service or on it's own. It has various features such as user defined and ran-
dom replies, extensive logging, and full administrative control.
OPTIONS
The program follows the usual GNU syntax command-line unless it is unsupported on your system. GNU options begin with two dashes(`-') and
have much more descriptive names.
-h, --help
Show summary of options.
-u, --usage
Shows example command lines
-v, --version
Show version information
-l, --license
Show licensing information
-a, --force-inetd
Force inetd mode, if autodetection isn't working.
-d, --force-daemon
Force standalone daemon, if autodetection isn't working.
-i, --use-user-ident
Allow user defined ident replies. Just do a echo 'ident ar' > ~/.ident to change your ident reply.
-y, --user-reply-file
File ident2 should look for in user's homedir for replies. Default is ~/.ident
-n, --allow-noident-file
Disable replies for user if user has a ~/.noident file. This behavior is disabled by default.
-o, --client-timeout
Clients timeout after this many seconds
-s, --dont-change-uid
Ident2 will normally try to change it's uid to something less privileged if it finds it's uid to be 0. This option disables this
behavior altogether.
-r, --always-random
Always send a random reply, regardless of what kind of request the client made. This is useful for abusing the ident protocol as
well as assisting outgoing IP masqueraded connections.
-m, --daemon-maxclients
Daemon-only: Accept no more than this many connections at a time.
-p, --daemon-port
Daemon-only: Bind this port, instead of 'auth' aka 113
SEE ALSO
inetd(8), inetd.conf(5)
AUTHOR
This manual page was written by Alexander Reelsen <ar@rhwd.net>, for the Debian GNU/Linux system (but may be used by others).
GNU ident2(8)