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??????
Sorry but thats just way to diffcult to understand. I have read the doc and still haven't a clue on how to set this thing up. The install manual tells me to : Refer to the manual of your operating system for details on installing packages for your specific operating system. That is no help at...
I tried samba but it's docs don't tell you much about installing it. I have it installed I think but I can't get windows to see it. I guess my smb.conf file is wrong. I can do the command smbclient //mysystem/mydir from the AIX system and I get a prompt and can list my files. But from windows it...
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...
mtime won't work for this unless the date stamp is the same as the file date. If I copy the files to test this they all have the same date stamp. I need it to purge by file name.
example the report file is in /tmp/report directory and the file name is report.txt.012904 or report.txt.013004 the...
I think your mixed up vgersh99. I need script to rotate the reports and purge the oldest. I know how to find them. I'm not a programmer so I'm not sure how to make this happen. Like
mv report.txt report.txt.`date +%m%d%y` This is how they are made. I then want to move the reports.txt.012904...
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...
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.