HP3000-L Archives

March 1998, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Doug Werth <[log in to unmask]>
Reply To:
Doug Werth <[log in to unmask]>
Date:
Wed, 25 Mar 1998 09:43:16 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (61 lines)
-----Original Message-----
From: Niall Begley <[log in to unmask]>
To: [log in to unmask] <[log in to unmask]>
Date: Wednesday, March 25, 1998 7:12 AM
Subject: Checking last user login date


>     Is there a way using the Listuser command or whatever else (without
>     writing a program) of finding out the Last date that a user has logged
>     into the system, basically, We have a HP3000 running 5.5 and We have
>     multiple data accounts that are shared amongst users at various remote
>     sites, unfortunately, as employees leave our organisation there is no
>     procedure in place for notifying the IS dept. of this and so old login
>     names just hang around.
>        When I do a listuser on most of the accounts I have no way of
>     knowing which ones are still valid and which aren't as there are too
>     many and I could never know (short of phoning the whole world) whether
>     somebody is still with the company or not (can't really use login cnt
>     as the person may simply not be logged in at the time I issued the
>     Listuser command), any help would be appreciated.
>


Niall,

How about this.

:NEWDIR /logons
:LISTUSER @.@;FORMAT=BRIEF >hpusers.
Edit the file HPUSERS so that each line says :BUILD /logons/USER.ACCOUNT
Keep the file and execute it as a command file to create a baseline.

Add the following lines to your system wide logon udc

purge /logons/!hpuser.!hpaccount
build /logons/!hpuser.!hpaccount

Now each time a user logs on to the system their associated file in the
logons directory will reflect that date. At any time you can do a :STORE
/logons/@;*NULL;DATE<=mm/dd/yyyy to show all users who have not logged on
since a given date.

This solution does not require any third party software or writing any
programs and takes very little time and effort to set up. ODBC and FTP
connections would be outside of the scope of what this can handle.

>     Mucho Gracias !
>     Niall.


De nada!

Doug.

Doug Werth                                     Beechglen Development Inc.
[log in to unmask]                                       Cincinnati, Ohio

The opinions expressed do not necessarily represent the views or opinions
of Beechglen Development. They might, but not necessarily. They represent
solely the opinions of the author.

ATOM RSS1 RSS2