Previous 1 2 Next 17 Replies Latest reply: Dec 13, 2012 10:51 AM by kitehi Go to original post
  • BobHarris Level 6 (17,050 points)

    to give an example: sudo mdutil -a -i on

    What password?

    sudo wants the password for the account you are currently using.


    That account MUST either be a Mac OS X 'admin' account, which you can check via System Preferences -> User & Groups.  It should say 'Admin' under your account name.  If it says 'Standard' or 'Sharing only', then these accounts would not work.


    The alternative, would be to use a privileged account to add a new entry to the sudoers file, but if you do that, then effectively you will turn a 'Standard' user into an 'admin' user.


    If you are NOT using an Admin account, and you have given 'root' a password, then you could do:


    su root -c 'mdutil -a -i on'

    password: root's_password

  • Neville Hillyer Level 4 (1,860 points)

    kitehi wrote:


    to give an example: sudo mdutil -a -i on

    What password?


    None of the passwords (user/ admin/root)  would be accepted.


    If you supply the wrong password Terminal normally responds with:


    Sorry, try again.


    Is that what you get?


    I notice that mditil will not override Spotlight's privacy preferences settings.

  • kitehi Level 1 (0 points)



    i get this "sorry" but i found out, that i was to stupid...;)

    I had to change to an admin account and everthing works fine.


    Thank you all, for your help.



Previous 1 2 Next