10 More Discussions You Might Find Interesting
1. Emergency UNIX and Linux Support
Hi, i want to call the rsync in a shell script so that i can run it in background by passing the password within script itself. Can any one please let me know how can i provide the password in the shell script itself so that rsync will read the password when promted by the script.
Its very... (11 Replies)
Discussion started by: Little
11 Replies
2. Shell Programming and Scripting
password check in bash script calling on expect
Background: I have to copy a file from one server, to over 100 servers in a test environment. once the file is copied, it requires to have the permissions on the file changed/verified. These are all linux servers. most of them have the same... (1 Reply)
Discussion started by: 2legit2quit
1 Replies
3. Shell Programming and Scripting
Hokay...first post, and I have been doing Linux scripting for a total of 2 days now. I think I am doing pretty well, but awk and arrays(what I think I need here) is a bit above me so far.
I have written a script that will take and either create or modify 5 users, and passwords.
It checks... (6 Replies)
Discussion started by: cashman04
6 Replies
4. Shell Programming and Scripting
I am writing a script that can automatically login to Storage CAM console. i use this command,
./sscs login -u user -h localhost.
at that time it will prompt for password, is it possible for store password in a file and supply it when it waits for password.
Thanks in advance.
Regards
SK (1 Reply)
Discussion started by: cutechaps
1 Replies
5. UNIX for Dummies Questions & Answers
Hi guys,
Simple question really (only when you know how!)
I would like to clear the screen between two parts of script.
However I would like the user to be prompted if he/she has completed reading the output from the first part of the script before moving on.
i.e =
grep "$###" #####... (2 Replies)
Discussion started by: SDKC
2 Replies
6. Shell Programming and Scripting
Good morning!!
I wrote a script and Im not the best at Perl so I would like someone to look it over....just in case. Ive been working on this script forever!!
The script is supposed to: Have the user enter a number using STDIN. Calculate the average of the numbers, the total of all of the... (0 Replies)
Discussion started by: bigben1220
0 Replies
7. OS X (Apple)
Hey there, I'm trying to do a very simple rsync to back up my computer to an external drive connected via usb every night, but it keeps asking for a password. I tried using the password file flag, but it looks like that is only a daemon. Does anyone have any ideas? This has eaten up a lot of my... (4 Replies)
Discussion started by: aarond
4 Replies
8. Shell Programming and Scripting
Hello,
I wish to store the password in an rsync script so that when prompted it just enters the password.
I know I can set up passwordless logins, but I have never been able to do this on this particular server so I am resorting to storing the password in the script:
rsync -avz -e ssh... (4 Replies)
Discussion started by: stuaz
4 Replies
9. Shell Programming and Scripting
Hi,
I am tranfering the files from local machine to remote machine using rsync utility but it is prompting password. but i don't want to provide through prompt. how can i give in my shell script.
can anyone suggest me.Thanks in advance
rsync -rvcpogtl -e "ssh $LOCAL_PORT" $SOURCE_DIR... (1 Reply)
Discussion started by: KiranKumarKarre
1 Replies
10. Shell Programming and Scripting
I have a script which connects to database. I want user to input user name and password but dont want the password characters to be displayed on screen. How can i accept input from user in encrypted form. (2 Replies)
Discussion started by: baglasumit21
2 Replies