4 replies
Sign in or join Beachball Help to reply.
- 0
Stanley Horwitz ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
I am not quite sure I understand what you mean by "admin mode." What kind of files are you interested in finding? You can always open up a terminal window, get root access, and use the Unix "find" command to locate any file on the system that meets your search criteria.
- 0
Andrew@DDLS ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Yes, users could drop into terminal to use find to walk the file system to find files or even easyfind app to do similar from a GUI but I'm interested in knowing if there is a way to leverage the Spotlight indexes to do this quick. A student asked me this question in class and now I'm intrigued to know if its possible.
As I am led to understand, Spotlight searches are clever in that they shouldn't return results if the user does not have permission to see the result, hence my curiousity to know if its possible to enable this 'admin mode' or somehow to give the searcher the ability to see all results. - 0
Francine Schwieder ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
There is no "admin mode"--you need to run Finder as root, either by enabling the root account and logging into it, or by sneakier means. The easiest of sneaky mode is to enable Quit Finder. Then do so. In Terminal switch to super user and launch Finder by typing this:
/System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Hit return. Finder now be running as root. Hit Command-F and search. It will return results for all users. Quit the Finder As God mode in Terminal with a killall Finder command, exit the super user, click the Finder icon in the Dock to restart the normal user Finder.
Francine - 0
Andrew@DDLS ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Thanks Francine, great idea 🙂
However I ran into the following issues:
The root Finder search didn't seem to find files such as hosts in /etc whereas the standard user search did (after + and adding system files, include) and I found that couldn't add any search attributes ( like system files, include ) to the new root finder window.I switched to root by $ sudo /bin/sh, then did the /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder to start up the root finder.
This spotlight seems a curious beast to tame eh.