10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello all,
for security reasons my compagny imposes that my script be launch remotly via ssh under the users login shell.
So serverA launches the ssh command to serverB which has a local user with my script as a login shell.
Local script works like a charm on his own.
serverB$ grep... (20 Replies)
Discussion started by: maverick72
20 Replies
2. Shell Programming and Scripting
Hi All,
I am trying to create a script with the help of while and expect loop to do the following:
1. script will pick up the servers one by one from server_list file and will do ssh to it.
2. for each server it will change the password of user test1.
3. script should also provide logs for... (1 Reply)
Discussion started by: omkar.jadhav
1 Replies
3. Shell Programming and Scripting
So this is something I've been wondering how to do for a while. Suppose I have two shell scripts a.sh and b.sh
script a does some function and outputs to a varable $x . I would then like to take $x into the second function, b.sh, and do a function on it and create some output. So how do you pass... (3 Replies)
Discussion started by: viored
3 Replies
4. UNIX for Advanced & Expert Users
I've been using various versions of UNIX and Linux since 1993, and I've never run across one that showed your password as you type it in when you log in, or one that stored passwords in plain text rather than encrypted. I'm writing a script for work for a security audit, and two of the... (5 Replies)
Discussion started by: Anne Neville
5 Replies
5. UNIX for Dummies Questions & Answers
hi All,
i m trying to pass a user choice paramter from unix to sqlplus connect command
here i want the user to enter the username and password he wants to connect in sql plus through read in unix and then automatically connect to that instance.
sqlplus -s $1/$2
where $ 1 and $2 will b... (2 Replies)
Discussion started by: Jcpratap
2 Replies
6. Shell Programming and Scripting
ssh/sftp login by passing password , is it possible.Don't want to expect. (1 Reply)
Discussion started by: dinjo_jo
1 Replies
7. Shell Programming and Scripting
I have a requirement, I need to run a command at remote system using a ssh. Is there any way we can pass the username and password in shell script to the ssh command as we did it in one of the shell script for FTP.
ftp -n $i <<!EOF >>
user Username $PASSWD
cd /home/scripts
... (5 Replies)
Discussion started by: Muktesh
5 Replies
8. Shell Programming and Scripting
Hello everybody! First time posting here:)
Right, I am trying to pass arguments in my shell scripts using $1, $2 and $3 etc using if else statement........
This is my shell script which is based on serching the google website
#!/bin/sh
wget -t1 -E -e robots=off - -awGet.log -T 200 -H... (47 Replies)
Discussion started by: kev_1234
47 Replies
9. Shell Programming and Scripting
Hi
Most of the shell scripts I am dealing with have to connect to oracle database . The username password is stored in a environment file which sets the variables for username and password . Set user id do not work on AIX so users who will execute these scripts need to have read or execute... (5 Replies)
Discussion started by: clifford
5 Replies
10. Shell Programming and Scripting
Hi,
I am a new guy in this forum, I am trying to do the following stuff
and want some inputs
I am doing this manually, by using the scp command to copy file from
a remote unix machine and entering the password at the password prompt.
Like this,
scp -p user@machine.com:/tmp/test.sh .... (1 Reply)
Discussion started by: drivewedge
1 Replies