From: Robert Hancock <hancockr@shaw.ca>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: can't loadkeys anymore? (was Re: Linux-2.6.15.4 login errors)
Date: Thu, 16 Feb 2006 18:11:58 -0600 [thread overview]
Message-ID: <43F514CE.1000006@shaw.ca> (raw)
In-Reply-To: <5GY5a-6RF-35@gated-at.bofh.it>
John M Flinchbaugh wrote:
> On Thu, Feb 16, 2006 at 09:28:25AM -0500, Dave Jones wrote:
>> On Thu, Feb 16, 2006 at 09:13:46AM -0500, linux-os (Dick Johnson) wrote:
>> > 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
>> It's coming from unicode_start
>> > 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
>
> 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.
--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/
next parent reply other threads:[~2006-02-17 0:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <5GS9n-6wf-33@gated-at.bofh.it>
[not found] ` <5GSjf-6Ia-29@gated-at.bofh.it>
[not found] ` <5GY5a-6RF-35@gated-at.bofh.it>
2006-02-17 0:11 ` Robert Hancock [this message]
2006-02-16 14:13 Linux-2.6.15.4 login errors linux-os (Dick Johnson)
2006-02-16 14:28 ` Dave Jones
2006-02-16 20:30 ` can't loadkeys anymore? (was Re: Linux-2.6.15.4 login errors) John M Flinchbaugh
2006-02-16 20:40 ` linux-os (Dick Johnson)
2006-02-17 2:50 ` Andrew Morton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43F514CE.1000006@shaw.ca \
--to=hancockr@shaw.ca \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox