Hello and thank you for your answer,
- On my server I have multiple users sharing the same generic user (which have some defined privileges) and each one of them have an AD account.
- Each user has to log in using his AD account before switching to the generic user (su - genericuser)
- For traceability reasons, I want to log the command history (when using the generic user) and identify the corresponding AD account.
So I want to know the AD account name without having to logout the generic user.