HarlanF
03/30/2022, 2:33 PMselect * from users only comes up with local users, as the documentation states. Thus, anything I join it to (like shell_history) is similarly only local users. However, if you put in a where clause that calls out a specific username or uid, it'll grab information about non-local users (like myself, so easy to test). Is there some way to enumerate all the users?HarlanF
03/30/2022, 2:33 PMStefano Bonicatti
03/30/2022, 2:42 PMStefano Bonicatti
03/30/2022, 2:46 PMStefano Bonicatti
03/30/2022, 2:51 PM/etc/passwd (getpwent_r)
But when you provide a uid, that uses getpwuid_r which also passes through the various translation layers, if defined, like NIS or LDAP.Stefano Bonicatti
03/30/2022, 2:58 PM