- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Last login from sysuaf
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2005 09:25 PM
тАО05-29-2005 09:25 PM
my email is pascal.lebel@grassavoye.com (France)
Thanks for your advise
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2005 09:37 PM
тАО05-29-2005 09:37 PM
Re: Last login from sysuaf
$ GETUAI ROHWEDDER/LAST_LOGIN=kalles_last_login
$ SHO SYM kalles_last_login
KALLES_LAST_LOGIN = "30-MAY-2005 09:07:35.15"
regards Kalle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2005 02:49 AM
тАО05-30-2005 02:49 AM
Solutionhttp://forums1.itrc.hp.com/service/forums/helptips.do?
and at some point:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=140137
You probably do not want to post your Email here out in the open. IN case 'trolls' come by for spam addressed. Just ask here, and get an answer here!?
Actually... better still, ask around first with google (+site:itrc.hp.com if you want to stay here) or similar because as you might imagine you ar enot the first to ask this questions.
getuaf and tools like it are the best way to go IMHO. Myself I published one on the freeware cd:
http://h71000.www7.hp.com/freeware/freeware60/rms_tools/bonus/getuai.c
Specifically for your question I have a com file handy. It lists all username/loastlogin combo beyond a certain date. Readily modified to just list by username. See below.
hth,
Hein.
$ type uaf.com
$if p1.eqs.""
$then
$ write sys$output "Please provide last-login (interactive) cutoff date"
$ exit
$else
$ cut_date = f$cvtime(p1)
$
$!libr/extr=$uafdef/out=uafdef.tmp sys$library:lib.mlb
$!EQU UAF$S_LASTLOGIN_I 8
$!EQU UAF$Q_LASTLOGIN_I 396
$!EQU UAF$L_FLAGS 468
$!EQU UAF$V_DISACNT 4
$
$open /read /share uaf 'f$parse("SYSUAF","SYS$SYSTEM:.DAT",,,"SYNTAX_ONLY")
$loop:
$ read/end=done uaf rec
$ username=f$extr(4,12,rec)
$ bin_date=f$extr(396,8,rec)
$ flags =f$extr(468,4,rec)
$ disuser = - f$cvsi(4,1,flags)
$ if f$cvsi(0,32,bin_date) .eq. 0 then goto loop
$ asc_date=f$fao("!%D",f$cvui(32,32,f$fao("!AD",8,bin_date)))
$ cmp_date=f$cvtime(asc_date)
$ if cmp_date.les.cut_date then -
write sys$output username, " ", disuser, " ", asc_date
$goto loop
$done:
$close uaf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2005 07:45 AM
тАО05-30-2005 07:45 AM
Re: Last login from sysuaf
If you install Python for Vms, you have an example doing exactly that at
http://vmspython.dyndns.org/
see "last account login"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2005 09:08 AM
тАО05-30-2005 09:08 AM
Re: Last login from sysuaf
ftp://ftp.process.com/vms-freeware/fileserv/getuai.zip
Purely Personal Opinion