0

I need to make a command in Ubuntu (in this case gsettings, but whatever) runnable only with sudo permissions (so essentially I need to run the command with 'sudo gsettings' and I need to type the password). Any help?

  • 3
    Have you tried to change the owner of the file to root and change it’s rights to 700 (or whatever for group and other without execute rights)? – Xvolks May 30 at 13:35
  • gsettings is not supposed to be run with sudo. It modifies your user's configuration, which should be owned by your user, or you might see start seeing other things randomly fail. – muru May 31 at 7:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.