Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I run hidd --search it says HID create error 13 (Permission denied)

If I run as sudo it connects fine.

I want this script to run on login. I saw how to edit sudoers, but will it create a security weakness if I add %MYNAME ALL = NOPASSWD: /usr/bin/hidd

Is there a group I can add myself to that means I can run this command without sudo?

share|improve this question
up vote 3 down vote accepted

You can run it without a password by editing the /etc/sudoers file as you mentioned. One step further would be to append alias hidd='sudo hidd' to your ~/.bashrc file.

I don't know of any other way besides sudo.

If it needs root to run, I do believe groups won't help you. However, if it has a daemon running as root [Like wicd], groups might help you out, but I would tend to doubt it.

share|improve this answer
Thank you for the extra details. – oldmankit Oct 19 '11 at 2:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.