Re: how to detect the currently logged in Windows user?

Jason Haar <[email protected]>
Newsgroups gmane.comp.security.nessus.general
Organization Trimble Navigation Ltd.
Message-ID <[email protected]>
Ron Gula wrote:
> I have to apologize for the WMI concept though -- if you follow
> what I suggested you'll get user info for the account you are logging
> in as, not the user who is logged into the computer.
>   
Do you mean the "SELECT UserName FROM Win32_ComputerSystem" bit? That's 
weird - it's working for me - certainly not returning the username I'm 
using to access the remote system.


-- 
Cheers

Jason Haar
Information Security Manager, Trimble Navigation Ltd.
Phone: +64 3 9635 377 Fax: +64 3 9635 417
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1

_______________________________________________
Nessus mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.