hii,,
I am trying to automate jira. during my scripting using bash script, in the terminal i got the terminal message like this:
"Configure which ports JIRA will use.
JIRA requires two TCP ports that are not being used by any other
applications on this machine. The HTTP port is where you... (1 Reply)
Hi
I'm trying to run a script " abc.sh" which triggers "use.sh" .
abc.sh is nothing but a "expect" script which provides username and password automatically to the use.sh script.
Please find below the scripts:
#abc.sh
#!/usr/bin/expect -f
exec /root/use.sh
expect "*name*"
send... (1 Reply)
Hi,
Am very new to expect scripting..
Can You please suggest me how to call an expect script inside another expect script..
I tried with
spawn /usr/bin/ksh
send "expect main.exp\r"
expect $root_prompt
and
spawn /usr/bin/ksh
send "main.exp\r"
expect $root_prompt
Both... (1 Reply)
I have an expect script called remote that I want to call from inside my expect script called sudoers.push, here is the code that is causing me issues:
set REMOTE "/root/scripts/remote"
...
log_user 1
send_user "Executing remote script as $user...\n"
send_user "Command to execute is: $REMOTE... (1 Reply)
I am trying to execute expect command inside by small bash script to login into servers using key authentication method. My script is as follows:
#!/bin/bash
HOST=$1
/usr/bin/expect -c "
spawn ssh -i /root/.ssh/id_rsa root@$HOST
expect -exact "Enter... (3 Replies)
Hi I have two scripts one is Expect and other is shell.
I want to merge Expect code in to Shell script so that i can run it using only one script. Can somebody help me out ?
Order to execute: Run Expect_install.sh first and then when installation completes run runTests.sh shell script.
... (1 Reply)
i have defined a function ln_s() for customizing the ln command in script1.sh.
more script1.sh
echo "Starting Execution"
./script2.sh
echo "End of Execution"
ln_s(){
] && return
ln -s "$1" "$2"
}
My script1.sh executes another script2.sh which has the following entry
more script2.sh... (12 Replies)
Hi I am trying the following in my bash script which logs into my machine and runs a command. Trying to solve this using expect.
The first expect statement is hit and it enters the address "10.10.0.10" but when the second expect statement is hit it exits
#!/bin/bash
expect -c '
spawn... (2 Replies)
Jifty::Plugin::Authentication::Password::Dispatcher(3pm)User Contributed Perl DocumentatioJifty::Plugin::Authentication::Password::Dispatcher(3pm)NAME
Jifty::Plugin::Authentication::Password::Dispatcher - password plugin dispatcher
DESCRIPTION
All the dispatcher rules jifty needs to support "" in Jifty::Authentication::Password
RULES
"before logout"
Logout and return home.
See Jifty::Plugin::Authentication::Password::Action::Logout.
"before *"
Setup the navigation menu for login or logout.
"on qr/^(?:signup|lost_password)$/"
Redirect to home if logged.
Request a password reminder or signup for an account otherwise.
"on login"
Redirect to home if logged.
Show the login form otherwise.
"before reset_lost_password"
Request a password reset.
"before passwordreminder"
Request a new password reminder to be sent by email.
See Jifty::Plugin::Authentication::Password::Action::SendPasswordReminder.
"before signup"
Sign up for an account.
See Jifty::Plugin::Authentication::Password::Action::Signup.
"before login"
Login to your account.
See Jifty::Plugin::Authentication::Password::Action::Login.
not_logged_in_nav
Adds the login and signup links to the navigation menu.
logged_in_nav
Adds the logout link to the navigation menu.
SEE ALSO
Jifty::Plugin::Authentication::Password, Jifty::Plugin::Authentication::Password::View
COPYRIGHT
Jifty is Copyright 2005-2010 Best Practical Solutions, LLC. Jifty is distributed under the same terms as Perl itself.
perl v5.14.2 2010-12-10 Jifty::Plugin::Authentication::Password::Dispatcher(3pm)