Linux How to find the id of a user who ran some particular command using sudo
1
vote
2
answers
1059
views
In shared environment where multiple users have sudo account, I want to find out underlying user id (not a sudo account) details who has invoked particular script. Thanks.
I tried below but it does not fulfill my requirement : echo $USERNAME gives me sudo account details but I am looking for login id
Asked by AshwinD
(11 rep)
Sep 29, 2023, 02:22 AM
Last activity: Sep 29, 2023, 11:44 AM
Last activity: Sep 29, 2023, 11:44 AM