Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Blizard

    Booting AIX Server from SVC replicated disk

    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...
  2. Blizard

    Using ssh to restrict direct root login to be from a few systems

    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...
  3. Blizard

    How long can hostname be?

    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...
  4. Blizard

    "bad file unit number" error from shell script run under cron

    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...
  5. Blizard

    "bad file unit number" error from shell script run under cron

    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 =...
  6. Blizard

    Can I see what hostname user supplied for login connection?

    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...
  7. Blizard

    Can I see what hostname user supplied for login connection?

    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...
  8. Blizard

    Pulling iostats info from ESS vpath devices

    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)
  9. Blizard

    Pulling iostats info from ESS vpath devices

    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...
  10. Blizard

    integer variable in korn script not visible throughout script

    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...
  11. Blizard

    integer variable in korn script not visible throughout script

    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...
  12. Blizard

    Can passwords be set in a script?

    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...
  13. Blizard

    Can passwords be set in a script?

    Can you give me a little more detail? I'm not familiar with Expect. Is it a product, command, dessert topping? Thanks in advance.
  14. Blizard

    Can passwords be set in a script?

    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...

Part and Inventory Search

Back
Top