I'm looking for a script for AIX to help change roots password on many systems. We have to change roots password every other month and now I log into all the servers and make a new password for root. How can I do this in a script??
for i in `cat aixlist`
do
rsh $i passwd
??????
The aixlist has...
I'm looking for a script for AIX to help change roots password on many systems. We have to change roots password every other month and now I log into all the servers and make a new password for root. How can I do this in a script??
for i in `cat aixlist`
do
rsh $i passwd
??????
The aixlist has...
I'm trying to automate a backup so I wrote a batch file for test. This is for windowsxp.
I will post it here.
set d=%DATE%
copy list.txt %d%.txt
This fails because the date command has / in it and copy dosen't like the /
copy list.txt fri 09/10/2004.txt Fails
I even tryied copy list.txt...
In unix I can send a email with the
command mail -s "test" me.com. I need to do this in windows. On the unix system I run scripts and when they are complete they send me a email. How can I do this in windows?? I run bat files and other cmd files when they complete I want a email. Any ideas??????
What software or tools do I need to make this happen. Or any directions on how to do this. I need to mount a aix filesystem onto my windows 2000 system to use as a local disk for storage. I don't waht to ftp my files there. I would like to use the mount as a normal disk. Any ideas??
Thanks
What is the command to check what services are running from the /etc/services file in AIX. I need to check if the port 60000 or 60003 is active and running for db2.
example of what I'm looking for I think.
program vers proto port service
100000 4 udp 111 portmapper
100000...
I'm trying to setup a hacmp cluster using the olpw product that came with hacmp 5.1. Most of it I can figure out but I'm having lots of problems using it. Does anyone have a sample output from the online planning worksheet for hacmp 5.1 It would be the java program output with a .ws extention...
I need a simple script to rotate some log files I have. They are as follows. I want to keep 30 days worth and lose the oldest. Or a setable # of days worth. They are made everyday.
reports.txt.012404
reports.txt.012504
reports.txt.012604
reports.txt.012704
reports.txt.012804
reports.txt.012904...
looking for a free program to be able to set times that internet explorer can be run.
Example:
A program I can set the time say from 3pm to 6pm IE can be run. All other times IE would be unable to run. And maybe a warning that access is about to end say in 5 minutes so you could finish what you...
We have a p670 with several lpars. Running aix 5.1 and nis. When I nslookup a system name it comes right back with the correct information no delay. But when I ping or telnet to a system it takes almost a minute before it does anything. I checked the resolv.conf and got nslookup to work right...
How do you increase the filesystems space when running hageo. I know how to do it in AIX and with hacmp running but hageo with its gmd's i'm not sure how to do it. Any help I would invite. I think you must have to shutdown hageo then mount the real filesystem not the gmd then increase it then...
I made a partition for lindows to do some testing. It installed great and works fine. Now I want to remove lindows but it setup a boot menu. How do I get the boot menu to go away and boot straight into windowsxp like it used to do? I read some where somethng about fdisk /mbf Is this what I need...
I ran a program this weekend called system mechanic. Now everytime windows xp comes up or if after screen saver runs for a while I get the login screen. I use to boot up and go straight into windows. I guess the software changed sometinhg in the reg but I'm not sure what and how can I put it...
I need someones help. I need a small script that I would run in cron to check filesystems using the df command and if a filesystem is above say 80% put that information in a file that I can email out. But I also need to tell the script to ignore some of the filesystems cause I don't care how...
I have mounted the AIX 51 cdrom on a system and nfs mount it on another 51 system. When I go into smitty install I can't get a list of printers to install. It almost looks like it only see's part of the cd list. Any ideas. I have tried it on several different ibm systems same results.
I have 3 or 4 print queues that like to die at night. I have to restart them every morning. I need a quick script to test lpstat | grep -v READY and list the queues that are down and issue the command enable DOCK264 or what ever the queue name is. I would like to have cron run the script every...
I have 3 or 4 print queues that like to die at night. I have to restart them every morning. I need a quick script to test lpstat | grep -v READY and list the queues that are down and issue the command enable DOCK264 or what ever the queue name is. I would like to have cron run the script every...
I need to upgrade the firmware for our tape drives. There are 2 ways to do this. 1 with aix5.1 diags. we are running aix4.3. so this is not a option. The other option is to use genucode. But the only one I can find is on the IBM web page but its downlevel. It dosn't support the 40gbdlt tape unit...
I know there is a command that I forgot if you erase a active log file it still holds the diskspace how do I release the space.
did a cat >> /logfile name. I need to release it. Help.
Thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.