Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » How do I access current user in ssh session?(How to identify the current user in a ssh session on the server.)
How do I access current user in ssh session? [message #1716872] Tue, 08 December 2015 17:27
Bill Mair is currently offline Bill MairFriend
Messages: 72
Registered: July 2009
Member
I need to know who is calling commands in a ssh session for a security audit.

I'm using the set up as described here: http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fguide%2Fconsole_shell.htm

I've tried:
Subject subject = Subject.getSubject( AccessController.getContext() );

but the returned subject is null.

I can't see anything in the properties that might help me either.

Where do I find the authenticated users ID ?
Previous Topic:configuration file transfer to equinox launcher don't work
Next Topic:Creates dropins folder in my product.
Goto Forum:
  


Current Time: Sat Sep 22 03:01:47 GMT 2018

Powered by FUDForum. Page generated in 0.02702 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top