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
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:

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 24 23:04:23 GMT 2022

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

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

Back to the top