How to identify users that have su'ed to a different account?


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Old 1 Week Ago
How to identify users that have su'ed to a different account?

Hello and thanks in advance for anyone that can offer me any help with this!

I'm trying to figure out a quick & easy way to see a list of everyone's effective user id... I would have thought 'w' or 'who' would be able to display if someone had switched user accounts... but it's only showing the real user ID they logged in with.

Once against... thanks for any help!
# 2  
Old 1 Week Ago
How about ps with the "euid" output "standard format specifier"? man ps:


Quote:
euid EUID effective user ID (alias uid).
# 3  
Old 1 Week Ago
Maybe that
Code:
getent passwd nez
>nez:x:1000:1000:nezabudka:/home/nez:/bin/bash
getent group wheel qemu
>wheel:x:10:nez
>qemu:x:107:nez
getent initgroups nez
>nez                   10 107 983 1000

# 4  
Old 1 Week Ago
In Linux you can do
Code:
pstree -pu

A process name is followed by (pid,newuser) if the user was changed to newuser.
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
What happens to your skype account if you close outlook.com email account? milhan Windows & DOS: Issues & Discussions 0 01-22-2018 02:37 PM
Simultaneously try to execute commands after connecting to remote account to one account kishored005 How to Post in the The UNIX and Linux Forums 1 03-03-2016 10:00 AM
Remove a given profile from a users account cjashu Solaris 2 06-22-2012 01:36 PM
how to setup An extra account with name 'unixuser' who can have the previlege to reset other users? mjavalkar Red Hat 1 04-05-2012 02:02 AM
Please help identify these user account rdstkg Cybersecurity 3 06-09-2011 12:29 AM
Private account for administration users yoavbe Cybersecurity 1 10-08-2010 03:46 AM
audit user commands of different users under root account pointgetter0 UNIX for Advanced & Expert Users 6 06-24-2010 05:29 AM
Script to identify logged users & commands executed vijayarajvp Shell Programming and Scripting 2 07-14-2009 08:22 AM
Apply disk quota to account(dedicate 3 GB to account). ashokd009 Linux 1 06-17-2009 11:32 AM
Change Account to not lock account if password expires stringzz UNIX for Dummies Questions & Answers 1 04-04-2008 05:31 PM
How to know what users are logged in to account umen UNIX for Dummies Questions & Answers 2 02-28-2006 03:03 PM