07-31-2009
You seem to have a space between $ and Password on this line: Password $ PASSWD. That may be causing it.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
New to Unix scripting and have written two scripts, one calling the other. When it returns to the calling script is it possible to return information, like a return code? :confused: (1 Reply)
Discussion started by: cathrop
1 Replies
2. Shell Programming and Scripting
Hi
Is it possible to have a bash script call an external bash script? For instance, I have a series of monitor scripts that check for running services (such as httpd, postmaster). Each monitor script is individual to the service. If a service fails, I would like to have a larger script that goes... (3 Replies)
Discussion started by: mikie
3 Replies
3. Shell Programming and Scripting
is there any way to include one shell script into other
like include in c
apart from putting it in a function (3 Replies)
Discussion started by: mobydick
3 Replies
4. Shell Programming and Scripting
Hi all,
I'm trying to import some functions I have saved in a file named
functions.sh into a different script (protocol.sh). Can anybody show
me how to do this? I tried source functions.sh as I would do at the
terminal but source command cannot be found from within the script
protocol.sh.
... (2 Replies)
Discussion started by: tevang
2 Replies
5. Shell Programming and Scripting
Hi, I have a script that interacts with a config file in the format:
file1.txt
file2.txt
file3.txt
file4.txt
file5.txt
file6.txt
I would like to return the Category, when given the file name. (11 Replies)
Discussion started by: MoreCowbell
11 Replies
6. Shell Programming and Scripting
Hi!
I have a python script that requires arguments and these arguments are file paths. This script works fine when executed like this:
/my_python_script "file_path1" "file_path2"
(i added quotes as some file names may have weird characters)
the issue happens when i launch my python script... (14 Replies)
Discussion started by: gigagigosu
14 Replies
7. Web Development
Hi,
I am trying to implement a server monitoring dashboard using cgi scripting. I am planning to run the necessary unix scripts from the web page using cgi. This method works fine for standard unix commands but I am unable to run some external unix commands (like swadm show_processes, swadm... (9 Replies)
Discussion started by: jofinjoseph
9 Replies
8. Shell Programming and Scripting
Good morning,
First time poster. be gentle! :)
I do not know coding all that well but I can hack the hell out of example scripts! I just cant wrap my brain around this one.
Im trying to run two grep statements in the first IF statement and doing an AND between them. Something is going... (6 Replies)
Discussion started by: mrplow2k69
6 Replies
9. Shell Programming and Scripting
Hi,
I have created a Shell Script and invoke through java using Process Builder
It's working fine, if (Shell script file ) in the same directory as java file.
By Problem:
How to run the Shell Script file( resides in external directory) using java. What configuration i have... (1 Reply)
Discussion started by: nanthagopal
1 Replies
10. Shell Programming and Scripting
So, I've been playing with speeding up some analysis we do by using multiple threads of awk (actually, mawk, but code-compatible as far as I use it) on multiple CPU cores. So, I have a big data file and I have several copies of exactly the same processor script, written in mawk. I also have a... (8 Replies)
Discussion started by: treesloth
8 Replies
LEARN ABOUT REDHAT
iscsi.conf
ISCSI.CONF(5) File Formats Manual ISCSI.CONF(5)
NAME
iscsi.conf - iSCSI Target and LUN configuration
SYNOPSIS
/etc/iscsi.conf
DESCRIPTION
This manual page describes the format of the /etc/iscsi.conf file. This file is a simple text file that iscsid(8) uses to locate iSCSI tar-
get devices and LUNs. Comments are marked by lines beginning with '#'.
Available entries include:
DiscoveryAddress=<address>
IP address or hostname to use for target discovery. A TCP port number may be specified by appending a colon followed by the port
number. This entry must start in the first column, and must not contain any whitespace.
TargetIpAddr=<address>
A synonym for DiscoveryAddress.
Username=<user>
Specify the authentication user. If this entry precedes all DiscoveryAddress entries, it serves as the default. If this entry is
indented under a DiscoveryAddress entry, it specifies the user for all targets discovered at that IP address.
Password=<pass>
Specify the authentication password for the previously listed iSCSI If this entry precedes all DiscoveryAddress entries, it serves
as the default. If this entry is indented under a DiscoveryAddress entry, it specifies the user for all targets discovered at that
IP address.
EXAMPLE
# set the default user and password
Username=alice
Password=nty57nbe
# targets at this address will use the default Username and Password
DiscoveryAddress=192.168.10.94
# targets at this address will use the Username and Password below
DiscoveryAddress=192.168.10.95
Username=beatrice
Password=93fdgc20
NOTES
The iSCSI initiator drivers, README files, and example configuration files are available on the Linux-iSCSI homepage at:
http://linux-iscsi.sourceforge.com <http://linux-iscsi.sourceforge.com>
FILES
/etc/iscsi.conf
iSCSI Target and LUN configuration
SEE ALSO
iscsid(8)
$Revision: 1.9 $ $Date: 2002/09/19 20:00:32 $ ISCSI.CONF(5)