* Linux-2.6.15.4 login errors
@ 2006-02-16 14:13 linux-os (Dick Johnson)
2006-02-16 14:25 ` Marc Koschewski
2006-02-16 14:28 ` Dave Jones
0 siblings, 2 replies; 8+ messages in thread
From: linux-os (Dick Johnson) @ 2006-02-16 14:13 UTC (permalink / raw)
To: Linux kernel
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
I have searched /etc/profile, /etc/bashrc, all the scripts in
/etc/profile.d. I can't find where loadkeys is even executed!
This is a RH Fedora base. Anybody know how to turn this crap off?
Cheers,
Dick Johnson
Penguin : Linux version 2.6.15.4 on an i686 machine (5590.48 BogoMips).
Warning : 98.36% of all statistics are fiction.
_
\x1a\x04
****************************************************************
The information transmitted in this message is confidential and may be privileged. Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to DeliveryErrors@analogic.com - and destroy all copies of this information, including any attachments, without reading or disclosing them.
Thank you.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Linux-2.6.15.4 login errors
2006-02-16 14:13 Linux-2.6.15.4 login errors linux-os (Dick Johnson)
@ 2006-02-16 14:25 ` Marc Koschewski
2006-02-16 14:35 ` linux-os (Dick Johnson)
2006-02-16 14:28 ` Dave Jones
1 sibling, 1 reply; 8+ messages in thread
From: Marc Koschewski @ 2006-02-16 14:25 UTC (permalink / raw)
To: linux-os (Dick Johnson); +Cc: Linux kernel
* linux-os (Dick Johnson) <linux-os@analogic.com> [2006-02-16 09:13:46 -0500]:
>
>
> 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
>
> I have searched /etc/profile, /etc/bashrc, all the scripts in
> /etc/profile.d. I can't find where loadkeys is even executed!
>
> This is a RH Fedora base. Anybody know how to turn this crap off?
>
> Cheers,
> Dick Johnson
> Penguin : Linux version 2.6.15.4 on an i686 machine (5590.48 BogoMips).
> Warning : 98.36% of all statistics are fiction.
> _
> \x1a\x04
vi .profile .bashrc .bash_profile in the user's ~/ ?
The executed binary should be 'loadkeys'. Try 'loadkeys -s' as a user and see
the output on the console. Should be your quite your error messages...
Marc
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Linux-2.6.15.4 login errors
2006-02-16 14:13 Linux-2.6.15.4 login errors linux-os (Dick Johnson)
2006-02-16 14:25 ` Marc Koschewski
@ 2006-02-16 14:28 ` Dave Jones
2006-02-16 14:33 ` linux-os (Dick Johnson)
2006-02-16 20:30 ` can't loadkeys anymore? (was Re: Linux-2.6.15.4 login errors) John M Flinchbaugh
1 sibling, 2 replies; 8+ messages in thread
From: Dave Jones @ 2006-02-16 14:28 UTC (permalink / raw)
To: linux-os (Dick Johnson); +Cc: Linux kernel
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
>
> I have searched /etc/profile, /etc/bashrc, all the scripts in
> /etc/profile.d. I can't find where loadkeys is even executed!
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
Dave
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Linux-2.6.15.4 login errors
2006-02-16 14:28 ` Dave Jones
@ 2006-02-16 14:33 ` linux-os (Dick Johnson)
2006-02-16 20:30 ` can't loadkeys anymore? (was Re: Linux-2.6.15.4 login errors) John M Flinchbaugh
1 sibling, 0 replies; 8+ messages in thread
From: linux-os (Dick Johnson) @ 2006-02-16 14:33 UTC (permalink / raw)
To: Dave Jones; +Cc: Linux kernel
On Thu, 16 Feb 2006, 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
> >
> > I have searched /etc/profile, /etc/bashrc, all the scripts in
> > /etc/profile.d. I can't find where loadkeys is even executed!
>
> 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
>
> Dave
Okay. Thanks. Right now I found loadkeys being executed in
/bin/unicode_start. I just temporarily commented it out.
Cheers,
Dick Johnson
Penguin : Linux version 2.6.15.4 on an i686 machine (5590.48 BogoMips).
Warning : 98.36% of all statistics are fiction.
_
\x1a\x04
****************************************************************
The information transmitted in this message is confidential and may be privileged. Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to DeliveryErrors@analogic.com - and destroy all copies of this information, including any attachments, without reading or disclosing them.
Thank you.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Linux-2.6.15.4 login errors
2006-02-16 14:25 ` Marc Koschewski
@ 2006-02-16 14:35 ` linux-os (Dick Johnson)
0 siblings, 0 replies; 8+ messages in thread
From: linux-os (Dick Johnson) @ 2006-02-16 14:35 UTC (permalink / raw)
To: Marc Koschewski; +Cc: Linux kernel
On Thu, 16 Feb 2006, Marc Koschewski wrote:
> * linux-os (Dick Johnson) <linux-os@analogic.com> [2006-02-16 09:13:46 -0500]:
>
>>
>>
>> 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
>>
>> I have searched /etc/profile, /etc/bashrc, all the scripts in
>> /etc/profile.d. I can't find where loadkeys is even executed!
>>
>> This is a RH Fedora base. Anybody know how to turn this crap off?
>>
>> Cheers,
>> Dick Johnson
>> Penguin : Linux version 2.6.15.4 on an i686 machine (5590.48 BogoMips).
>> Warning : 98.36% of all statistics are fiction.
>> _
>> \x1a\x04
>
> vi .profile .bashrc .bash_profile in the user's ~/ ?
>
> The executed binary should be 'loadkeys'. Try 'loadkeys -s' as a user and see
> the output on the console. Should be your quite your error messages...
>
> Marc
Thanks. I found where it was executed from and hacked a temp
fix to quiet it down.
Cheers,
Dick Johnson
Penguin : Linux version 2.6.15.4 on an i686 machine (5590.48 BogoMips).
Warning : 98.36% of all statistics are fiction.
_
\x1a\x04
****************************************************************
The information transmitted in this message is confidential and may be privileged. Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to DeliveryErrors@analogic.com - and destroy all copies of this information, including any attachments, without reading or disclosing them.
Thank you.
^ permalink raw reply [flat|nested] 8+ messages in thread
* can't loadkeys anymore? (was Re: Linux-2.6.15.4 login errors)
2006-02-16 14:28 ` Dave Jones
2006-02-16 14:33 ` linux-os (Dick Johnson)
@ 2006-02-16 20:30 ` John M Flinchbaugh
2006-02-16 20:40 ` linux-os (Dick Johnson)
2006-02-17 2:50 ` Andrew Morton
1 sibling, 2 replies; 8+ messages in thread
From: John M Flinchbaugh @ 2006-02-16 20:30 UTC (permalink / raw)
To: Linux kernel
[-- Attachment #1: Type: text/plain, Size: 930 bytes --]
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)?
--
John M Flinchbaugh
john@hjsoft.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: can't loadkeys anymore? (was Re: Linux-2.6.15.4 login errors)
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
1 sibling, 0 replies; 8+ messages in thread
From: linux-os (Dick Johnson) @ 2006-02-16 20:40 UTC (permalink / raw)
To: John M Flinchbaugh; +Cc: Linux kernel
On Thu, 16 Feb 2006, 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)?
>
> --
> John M Flinchbaugh
> john@hjsoft.com
>
I just substituted this `chmod 4755` and away you go.
#include <stdio.h>
#include <unistd.h>
int main (int args, char *argv[], char *envp[])
{
(void)setuid(0);
(void)setgid(0);
return execve("/bin/loadkeys.orig", argv, envp);
}
Purists will say "No No!.......", wring their hands and
claim that the world is now flat. However, some of us do
need to do some work on our machines....
Cheers,
Dick Johnson
Penguin : Linux version 2.6.15.4 on an i686 machine (5589.55 BogoMips).
Warning : 98.36% of all statistics are fiction.
_
\x1a\x04
****************************************************************
The information transmitted in this message is confidential and may be privileged. Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to DeliveryErrors@analogic.com - and destroy all copies of this information, including any attachments, without reading or disclosing them.
Thank you.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: can't loadkeys anymore? (was Re: Linux-2.6.15.4 login errors)
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
1 sibling, 0 replies; 8+ messages in thread
From: Andrew Morton @ 2006-02-17 2:50 UTC (permalink / raw)
To: John M Flinchbaugh; +Cc: linux-kernel
John M Flinchbaugh <john@hjsoft.com> wrote:
>
> 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)?
The problem is that you could possibly change keys to do evil things, then
log out, leaving a trap for the next user.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-02-17 2:48 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-16 14:13 Linux-2.6.15.4 login errors linux-os (Dick Johnson)
2006-02-16 14:25 ` Marc Koschewski
2006-02-16 14:35 ` linux-os (Dick Johnson)
2006-02-16 14:28 ` Dave Jones
2006-02-16 14:33 ` linux-os (Dick Johnson)
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox