If your "Regular" user is a standard account, you can't run sudo commands in the terminal from a standard account.
You have to use an admin account or above.
(Pretty) sure that disabling Spotlight is system-wide (all users...)
Since it first appeared, I have disabled Spotlight on all my Macs.
Spotlight is easily turned off using the terminal:
sudo mdutil -a -i off
This command stops indexing of ALL volumes:
sudo defaults write /.Spotlight-V100/VolumeConfiguration Exclusions -array "/Volumes"
This command removes the Spotlight index from main volume:
sudo rm -rf /.Spotlight-V100/*
sudo mdutil -a -i on
sudo mdutil -a -i off
sudo defaults write /.Spotlight-V100/VolumeConfiguration Exclusions -array "/Volumes"
sudo rm -rf /.Spotlight-V100/*
Try
sudo mdutil -a -i on
?
I think you can take care of that second item, by simply going to the Spotlight pref pane (in System Preferences), then checking to see what exactly is listed in the Privacy tab. Deleting any and all items in that window should then allow any volume that your Mac can see.
sudo defaults delete /.Spotlight-V100/VolumeConfiguration Exclusions -array "/Volumes"
Since it first appeared, I have disabled Spotlight on all my Macs.
I didn't want it running in the background, especially on the Mac I was using for recording live audio.
I find that without Spotlight, things just go faster. But perhaps that's just me.
Spotlight is easily turned off using the terminal:
sudo mdutil -a -i off
This command stops indexing of ALL volumes:
sudo defaults write /.Spotlight-V100/VolumeConfiguration Exclusions -array "/Volumes"
This command removes the Spotlight index from main volume:
sudo rm -rf /.Spotlight-V100/*
The menu icon will still "be there", but after doing the above, Spotlight will no longer be lurking in the background.
Hi FishermanSince it first appeared, I have disabled Spotlight on all my Macs.
I didn't want it running in the background, especially on the Mac I was using for recording live audio.
I find that without Spotlight, things just go faster. But perhaps that's just me.
Spotlight is easily turned off using the terminal:
sudo mdutil -a -i off
This command stops indexing of ALL volumes:
sudo defaults write /.Spotlight-V100/VolumeConfiguration Exclusions -array "/Volumes"
This command removes the Spotlight index from main volume:
sudo rm -rf /.Spotlight-V100/*
The menu icon will still "be there", but after doing the above, Spotlight will no longer be lurking in the background.
Since it first appeared, I have disabled Spotlight on all my Macs.
I didn't want it running in the background, especially on the Mac I was using for recording live audio.
I find that without Spotlight, things just go faster. But perhaps that's just me.
Spotlight is easily turned off using the terminal:
sudo mdutil -a -i off
This command stops indexing of ALL volumes:
sudo defaults write /.Spotlight-V100/VolumeConfiguration Exclusions -array "/Volumes"
This command removes the Spotlight index from main volume:
sudo rm -rf /.Spotlight-V100/*
The menu icon will still "be there", but after doing the above, Spotlight will no longer be lurking in the background.