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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by gtmb

  1. gtmb

    expiring accounts after 90 days of inactivity.

    See thread52-1191714
  2. gtmb

    Using StreamReader, StreamWriter, with a Structure for reco

    Check the article "How to: Read From Fixed-width Text Files in Visual Basic" on the MSDN web site (http://msdn.microsoft.com/en-us/library/zezabash.aspx). I found this useful as I had to extract information from a fixed width text file and create several tab delimited text files as output.
  3. gtmb

    errpt script

    See thread52-1228919. It may not give you what you want exactly, but it may point you in the right direction.
  4. gtmb

    errpt and df -k

    See thread52-1228919. It may not give you what you want exactly, but it may point you in the right direction.
  5. gtmb

    lsuser time_last_login

    Check thread52-1191714.
  6. gtmb

    Scanning latest permenant errors in error logs

    I use a perl script which is run via the cron every week day at 9am to scan the error log for all errors since the previous run. It uses a file to hold the previous run date which is used as a start date for the 'errpt' command. #!/usr/bin/perl...
  7. gtmb

    time_last_unsuccessful_login

    I have a perl script you're welcome to use. #!/usr/bin/perl #********************************************************************* # # Name: DormantUsers. # # Function: Lists all users who have not logged in since a # specified time. # # Usage: DormantUsers [ -h ] | [ -v ] | [ -d <days> ]...
  8. gtmb

    Anyone seeing logins hanging around in AIX5.2 ML04

    Running the utmpd daemon would appear to be a more elegant and simpler solution. I'll give it a try.
  9. gtmb

    Anyone seeing logins hanging around in AIX5.2 ML04

    This does seem to be a problem with ML04. IBM are currently looking into the problem for me. Meanwhile, see below for a script which cleans the /etc/utmp file and removes users who are no longer logged in. I've been running this for 2 weeks now without any problems. Note from IBM: Rebooting...

Part and Inventory Search

Back
Top