Search Results

Search: Posts Made By: mathbalaji
50,292
Posted By mathbalaji
I'll try this first thing tomorrow! :) Thanks for...
I'll try this first thing tomorrow! :) Thanks for your help and I learned a lot!
50,292
Posted By mathbalaji
Oh! I didn't know about that! So, if my script...
Oh! I didn't know about that! So, if my script runs for say 1 minute, will the password be visible for that one minute in ps auxor for the entire session? (Sorry again, if this is a stupid question!)...
50,292
Posted By mathbalaji
Sorry if this is a stupid question, I'm a novice...
Sorry if this is a stupid question, I'm a novice at this, but how is that visible to the entire system? I'm getting the password one time during the execution of the script. Here's a bit from my...
50,292
Posted By mathbalaji
Sorry for the late reply! Corona688: No, I...
Sorry for the late reply!

Corona688: No, I don't type the password in the script, rather I request the user to type the password, read it as a variable and use that in the sshpass -p "$pwd"
...
5,312
Posted By mathbalaji
Try without '/' find . -name "Archive*"...
Try without '/'

find . -name "Archive*" -mtime +300 -exec mv {} /mnt/X/ARC/ \;
50,292
Posted By mathbalaji
scp with sshpass
Hi!

I'm trying to copy a set of files from server1 to server2. I'm doing this from server3. Using the sshpass functionality, can I accomplish this?

This is what I have so far, but this...
1,932
Posted By mathbalaji
Thanks drl, I'll be sure to try them out!
Thanks drl, I'll be sure to try them out!
1,932
Posted By mathbalaji
Setting a Timeout
Hi

I'm writing a script which based on a condition, restarts a set of servers. The problem I'm facing is, say if one of the server is down, my script stops there and fails to proceed. How can I...
1,653
Posted By mathbalaji
Thanks guys! I somewhat realized the reverse...
Thanks guys! I somewhat realized the reverse trust in a different way and like DGPickett said, I pulled (hosted the original script on the remote) and it worked. Thanks very much!
1,653
Posted By mathbalaji
Unfortunately, I don't have expect as well (I'm...
Unfortunately, I don't have expect as well (I'm really not helping here, am I?)

:(

Can you explain on how to set up the reverse trust?
1,653
Posted By mathbalaji
SSH on a Shell Script
Hello,

I'm sure you'd have received a lot of questions like this, but I couldn't find anything relevant to my problem in the first search. Sorry in advance if this is a repeated question.

I'm...
Showing results 1 to 11 of 11

 
All times are GMT -4. The time now is 04:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy