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?Stefano Bonicatti
03/30/2022, 2:42 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.