Quantcast
Channel: All Centrify Express posts
Viewing all articles
Browse latest Browse all 1833

Re: Get AD username after switching to a generic user

$
0
0

,

 

Welcome to the Centrify Express forums.

I am not sure what you mean by your question.

 

If you're connecting with an AD account, then switching to another service account, you can simply "logout"  and that will put you back to the original account, at that point you can type whoami or id.

 

Using Kerberos authentication
Using principal dwirth@CENTRIFY.VMS
Got host ticket host/engcen6.centrify.vms@CENTRIFY.VMS
login as dwirth@CENTRIFY.VMS
-----------------------------------------------------------------
CENTRIFY DEMO -
-----------------------------------------------------------------
WARNING: This is a PRIVATE system exclusively for Centrify demos
Your actions will be monitored and recorded.
-----------------------------------------------------------------
Successful Kerberos connection
Your Active Directory Password will expire in 64 days
-----------------------------------------------------------------
Last login: Mon Aug  1 07:27:14 2016 from 192.168.81.11
[dwirth@engcen6 ~]$ whoami
dwirth
[dwirth@engcen6 ~]$ adquery user dwirth
dwirth:x:1040188499:1040188499:Diana Wirth:/home/dwirth:/bin/bash
[dwirth@engcen6 ~]$ dzdo su - managed-acct
Demo Password:
[managed-acct@engcen6 ~]$ who
dwirth   pts/0        2016-08-01 07:27 (192.168.81.11)
[managed-acct@engcen6 ~]$ logout
[dwirth@engcen6 ~]$ whoami
dwirth

R.P

 


Viewing all articles
Browse latest Browse all 1833

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>