Skip to contentSkip to conversation

can't loadkeys anymore? (was Re: Linux-2.6.15.4 login errors)

DISCUSSION Robert Hancock 1 participant 1 message Feb 17, 2006 3 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 16 lines · John M Flinchbaugh
Quoted 10 lines · Dave Jones
Quoted 9 lines · linux-os (Dick Johnson)

After installing linux-2.6.15.4, attempts to log in a non-root account gives these errors.
Password:
Last login: Thu Feb 16 08:53:20 on tty1
Keymap 0: Permission denied
Keymap 1: Permission denied
Keymap 2: Permission denied
LDSKBENT: Operation not permitted
loadkeys: could not deallocate keymap 3

Quoted 4 lines

It's coming from unicode_start

Quoted 1 line

This is a RH Fedora base. Anybody know how to turn this crap off?

Apply updates.
This was fixed in kbd 1.12-10.fc4.1

Quoted 5 lines

This still leaves the question: Why is loadkeys no longer permitted to set the keymap for a tty the user currently owns? What if the user really does want to run loadkeys without having to be root (ie. to load dvorak keymap)?

I believe remapping keys on the console is no longer permitted for non-root users for security reasons, i.e. to prevent people from remapping keys so that the next person who logs in will unwittingly run specific commands with root privileges, etc.

Signature · 3 lines
Robert Hancock      Saskatoon, SK, Canada
To email, remove "nospam" from [email protected]
Home Page: http://www.roberthancock.com/