Not quite clear? I am the only user of my computer.
ls -l /dev/input
total 0
drwxr-xr-x 2 root root 100 Mar 22 15:40 by-id
drwxr-xr-x 2 root root 120 Mar 22 15:40 by-path
crw-rw---- 1 root input 13, 64 Mar 22 15:40 event0
crw-rw---- 1 root input 13, 65 Mar 22 15:40 event1
crw-rw---- 1 root input 13, 74 Mar 22 15:40 event10
crw-rw---- 1 root input 13, 75 Mar 22 15:40 event11
crw-rw---- 1 root input 13, 66 Mar 22 15:40 event2
crw-rw---- 1 root input 13, 67 Mar 22 15:40 event3
crw-rw---- 1 root input 13, 68 Mar 22 15:40 event4
crw-rw---- 1 root input 13, 69 Mar 22 15:40 event5
crw-rw---- 1 root input 13, 70 Mar 22 15:40 event6
crw-rw---- 1 root input 13, 71 Mar 22 15:40 event7
crw-rw---- 1 root input 13, 72 Mar 22 15:40 event8
crw-rw---- 1 root input 13, 73 Mar 22 15:40 event9
crw-rw---- 1 root input 13, 63 Mar 22 15:40 mice
crw-rw---- 1 root input 13, 32 Mar 22 15:40 mouse0
ls -l
total 0
drwxr-xr-x 2 root root 100 Mar 22 15:40 by-id
drwxr-xr-x 2 root root 120 Mar 22 15:40 by-path
crw-rw---- 1 root input 13, 64 Mar 22 15:40 event0
crw-rw---- 1 root input 13, 65 Mar 22 15:40 event1
crw-rw---- 1 root input 13, 74 Mar 22 15:40 event10
crw-rw---- 1 root input 13, 75 Mar 22 15:40 event11
crw-rw---- 1 root input 13, 66 Mar 22 15:40 event2
crw-rw---- 1 root input 13, 67 Mar 22 15:40 event3
crw-rw---- 1 root input 13, 68 Mar 22 15:40 event4
crw-rw---- 1 root input 13, 69 Mar 22 15:40 event5
crw-rw---- 1 root input 13, 70 Mar 22 15:40 event6
crw-rw---- 1 root input 13, 71 Mar 22 15:40 event7
crw-rw---- 1 root input 13, 72 Mar 22 15:40 event8
crw-rw---- 1 root input 13, 73 Mar 22 15:40 event9
crw-rw---- 1 root input 13, 63 Mar 22 15:40 mice
crw-rw---- 1 root input 13, 32 Mar 22 15:40 mouse0
Looks like both are at least rx.
drwxr-xr-x 4 root root 360 Mar 22 15:40 input
drwxr-xr-x 21 root root 4600 Mar 22 15:40 dev
--- Post updated at 04:17 PM ---
andy@7_~$ su
Password:
su: Authentication failure
--- Post updated at 04:22 PM ---
My script works if I use sudo -i
Can I run the script without having to input the password?