We are working on building out a Disaster Recovery data center that is remote from our production data center. We had been planning to recover the hosts from replicated NIM mksysb images, but our business users are looking to get systems back more quickly. I have been looking at the thin...
I have disabled direct root logins on my AIX servers, but that makes it impossible to set up rdist to distribute files, etc. from my management servers. I'd like to configure ssh to permit root login via ssh on my servers from just my two NIM servers.
In looking at sshd.conf man pages, it...
I am trying to find what the maximum length is for an AIX hostname - just the machine name without domain info. We currently use 8 characters, but I am building a new data center and the way we are configuring the machines, an extra character or two would be very helpful.
We chose 8 characters...
Found the problem! Somewhere in the upgrade process I guess, an invalid character got appended to the cron entry. The result was that the command was trying to redirect stderr to a bogus file, rather than the usual '1'.
Thanks to all and any who gave this attention.
Robert Blizard
National...
I am getting an odd failure from a ksh script on a system that was just upgraded from AIX 5.2 to 5.3 ML3. The script runs fine from the command line, but from cron I get the following email:
Cron Environment:
SHELL =...
Thanks, but not what I am looking for.
last shows the machine the user is coming from; I want to learn the name of the machine to which the session was directed. This is because with HACMP I have the situation where a single physical machine (or LPAR of a machine) serves as two hosts in the...
We are configuring HACMP for a pair of v5.2 systems, and we need to be able to run a .profile for a user account that is different based on which environment the user is connecting to.
I can learn what physical machine I am on by using hostname. I have a script that will tell me if the node I...
Thanks - downloaded it and it appears that it will do the job nicely.
Bob Blizard
Robert Blizard
National Grid USA Service Co.
An expert is a man who has made all the mistakes which can be made, in a narrow field.
Neils Bohr (1885-1962)
I am trying to gather performance stats on vpath devices (virtual devices presented by System Device Driver 'SDD' from SAN-attached ESS storage), and I am having difficulty on my v5.1 machines. AIX v5.2 added a new switch '-m' to the iostat command that works great, but it doesn't exist in v5.1...
Thanks to all for your comments.
I have done a little more testing, and have learned the following:
- If I declare an integer variable in the main part of my script, I can assign a value in a function, and the value will be available to all functions, as well as the main program.
- For a...
I am writing a korn shell script that does a little bit of integer arithmetic, and I find that if I assign a value to an integer variable in a function inside the script, it is not visible in the main program section. Setting the variable as a regular string works, as does setting it as an...
Thanks for the response. I can't find any 'setpasswd' command on my machine, or via searches in google, askjeeves, etc. What is it, and where can it be found?
Also, I did find a subroutine newpass that sounds useful, but as I am not a c programmer by trade, I'm loathe to try to put it into a...
We are faced with adding multiple users (30-150) users at a time, and need an efficient way to set an initial password for each. passwd does not accept password values as an argument, so that is not an option.
Does anyone know of a command or other way to do this? Our fingers are getting very...
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.