On a multi-user machine you could try: ``` select ...
# macos
f
On a multi-user machine you could try:
Copy code
select * from preferences where domain LIKE "com.apple.sharingd" and username = (select username from last where username not in ('', 'root') group by username order by count(username) desc limit 1) and key = 'DiscoverableMode' and value = 'Everyone';