FS#16416 - Should non-root users change keymaps?
Attached to Project:
Arch Linux
Opened by Liu Dongiao (liudongmiao) - Thursday, 01 October 2009, 14:48 GMT
Last edited by Aaron Griffin (phrakture) - Thursday, 01 October 2009, 19:24 GMT
Opened by Liu Dongiao (liudongmiao) - Thursday, 01 October 2009, 14:48 GMT
Last edited by Aaron Griffin (phrakture) - Thursday, 01 October 2009, 19:24 GMT
|
Details
Description:
Now, during a security problem, non-root cannot change keymaps. But sometimes we need to do it. How we can do it then? 1) keep it, normal users cannot set keys. But actually, normal users *may* need it. 2) change it, we need to patch for login or other thing, *make sure* to restore default keymaps after logout or before login. Additional info: 1) git.kernel.org (setkeys need root): // i tiny it http://tinyurl.com/setkeys-needs-root 2) bugs.debian.org (#334113) http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=334113 Steps to reproduce: [thom@liudongmiao ~]$ loadkeys us.map Loading /usr/share/kbd/keymaps/i386/qwerty/us.map.gz Keymap 0: Permission denied Keymap 1: Permission denied Keymap 2: Permission denied KDSKBENT: Operation not permitted loadkeys: could not deallocate keymap 3 |
This task depends upon
Closed by Aaron Griffin (phrakture)
Thursday, 01 October 2009, 19:24 GMT
Reason for closing: Not a bug
Thursday, 01 October 2009, 19:24 GMT
Reason for closing: Not a bug
so, please remove this bug.