I'm having trouble figuring out how to run "kbdrate" as a regular user.
I need this as my keyboard spews out characters like bullets out of a
machine gun if I don't slow it down. It makes it almost impossible to type.
The problem is kbdrate won't run as a regular user. Root runs it fine.
I can put
Code:
kbdrate -r 10 -d 500
into root's .bash_profile and it works fine. For root.
I can insert the same code into /etc/profile and it runs fine. For root.
When I put the same code into my /home/terry/.bash_profile and login as my user
I'm told "operation not permitted."
When
Code:
kbdrate -r 10 -d 500
is placed in system-wide /etc/profile and I log in as my regular user
once again I get a message "operation not permitted."
So root gets to have a behaved keyboard but my regular user does not.
I've worked around this by placing code
Code:
sudo kbdrate -r 10 -d 500
into my regular user's .bash_profile and it works. I've configured sudo so
regular user can run privileged commands with out a password.
I guess my question is how to run "kbdrate" so it works for every user when the
system boots up? It shouldn't be this hard.