Search Results

Search: Posts Made By: misterx12345
12,327
Posted By misterx12345
sudo su - is not allowed I understand that we...
sudo su - is not allowed
I understand that we can avoid these things, by setting up ssh keys or the sudoers file, but these options are not allowed

basiclly I want to do these steps, but in a...
12,327
Posted By misterx12345
sudo isn't possible
sudo isn't possible
12,327
Posted By misterx12345
Bash script connect to remote servers and become root
Hi,

I need a script that will connect to a list of servers and first sudo to root and then run a couple of commands.
For security reasons, we can't setup ssh keys as root.
Manually I have to...
9,280
Posted By misterx12345
The script works great. I am just trying to...
The script works great.
I am just trying to figure out the script.

"exec > log.txt 2>&1"
what is the function of exec , shows all output of everything being executed?
"do date "+cmd$i...
9,280
Posted By misterx12345
Thank you very much sir !!! I will try this...
Thank you very much sir !!!
I will try this when I get in the office on Thursday.

Have a nice weekend.
9,280
Posted By misterx12345
I am using bash. The reason for using the sh...
I am using bash.
The reason for using the sh was something I found on the internet, wasn't aware it was bourne shell.
I just want to direct all the output to one file, which I did manage by...
9,280
Posted By misterx12345
Thx Don for your quick reply. Yes, I am using...
Thx Don for your quick reply.
Yes, I am using the bash, but should I use something else to run the commands?
I did run your script, but it didn't do anything.
Didn't get an error and no output...
9,280
Posted By misterx12345
This is for production environment. Maybe...
This is for production environment.

Maybe this is better, but how would this run all the commands :

#! /bin/bash

for i in {1..30} ;

do

echo "##########Running cmd$i ##########$(date)" ...
9,280
Posted By misterx12345
Script to run command one by one
Hi,

I have run a lot of commands one after one,
but I can't run them simultaneous.
One command has to run and when finished second command has to run etc.
Also I would like to save all the...
Forum: Solaris 10-12-2012
4,306
Posted By misterx12345
active directory equivalent for unix
At the moment we are integrating LDAP in our environment.
Compared to Windows this process is much complicated and time consuming.
With Windows you had Active Directory and if you create a new...
1,100
Posted By misterx12345
script to find oracle databases that are not in cluster
I need to create a script to list all the databases that are in cluster environment.
The reason is that there are databases which are not in under cluster control and we need to identify those.
The...
Forum: Solaris 05-13-2012
1,510
Posted By misterx12345
thx, but the company has strict security policy...
thx, but the company has strict security policy and we can't install these tools, we need to use the standard OS tools
Forum: Solaris 05-13-2012
1,510
Posted By misterx12345
Interface card using a lot of bandwith
I have system which is using a lot of bandwidth and this is not a big problem,
but how do you troubleshoot this issue?
How can I find out which connections are made for one interface card,
there...
Forum: Solaris 05-08-2012
8,095
Posted By misterx12345
Solaris group ID permission drwxrwS--x
why is the group id in capital S and not lowercase s ?
I have a directory with the following permissions:
drwxrws--x
when I remove the group id and add it again with g+s or chmod 2765 , it...
Forum: AIX 04-23-2012
3,079
Posted By misterx12345
Thx everyone for your replies !!!! I was off...
Thx everyone for your replies !!!!
I was off for a couple of days and forgot to reply.
I was thinking that first the Ram will first be used and then the swap files, but I forgot this is not...
Forum: AIX 04-18-2012
3,079
Posted By misterx12345
Memory full
I need second opinion:

I have a AIX system (5.3) and it is at 100% usage of ram
now how to deal with this, without affecting the system, because it's a production system ?
here is the...
Showing results 1 to 16 of 16

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