01-17-2020
This reminds me of silly situations I found myself from time to time... when a server goes wrong and at reboot, needs manual instruction to continue to boot, only when it happens it looses its keyboard configuration and uses US qwerty layout when we have Swiss-French keyboards QWERTZ... nightmare when looking for ! | { \/ etc... I since hide a en-US keyboard under a rack...
This User Gave Thanks to vbe For This Post:
9 More Discussions You Might Find Interesting
1. Solaris
When I want to use the editor ,whether vi or textedit,it prompts for entering a key. How can I disable this function?many thanks for offering solutions! (1 Reply)
Discussion started by: smartboy1461
1 Replies
2. Solaris
I only able to lock user ID with passwd -l username
It seems there is no option for me to unlock ID in solaris?
Is there any command as below?
passwd -u username
Appreciate someome can share with me the way to do it. (1 Reply)
Discussion started by: dwarf007
1 Replies
3. UNIX for Dummies Questions & Answers
Hi Friends
We have two node trucluster Tru64 4.0F Alpha Servers,In one of Tru64 4.0F Unix Server I am unable to unlock users, when I issue usermod command I will get following error
/usr/sbin/usermod -x administrative_lock_applied=0 username
account manager has exited unexpectedly - please... (0 Replies)
Discussion started by: madanmb
0 Replies
4. HP-UX
Hi,
not able to unlock user eventhough executed /usr/lbin/modprpw -k username
Thanks in advance (2 Replies)
Discussion started by: bpsunadm
2 Replies
5. AIX
When I do HMC upgrade, I download HMC code from IBM web site and burn it to a DVD disk, when I get the first DVD out of HMC's dvd rom and input the second DVD, it shows error:
The requested device is already locked by the process: Install Corrective Service.
Would you like to try to request a... (2 Replies)
Discussion started by: rainbow_bean
2 Replies
6. Shell Programming and Scripting
Hi
we have one function which is used to append data the file in exclusive lock mode in aperl script.
This script is executed by multiple threads at the same time.
accessing the same file.this script runs throught the day.
sometimes the file2.txt size is getting reduced.
for eg from 10 M... (1 Reply)
Discussion started by: Shahul
1 Replies
7. Shell Programming and Scripting
Requirement:First i need to unlock the directory which i had a script for it.If i select app1 it should unlock the directory and after chnages in the script once need to lock the directory with lock command
The below highlighed variables in lock and unlock has to be changed according... (2 Replies)
Discussion started by: bhas85
2 Replies
8. Shell Programming and Scripting
I'm running cygwin bash on Windows 8.1. I would like to to write a OS neutral bash script that uses the commands like lock, block and unlock.
Do I need to write lock, block and unlock myself in C++?
I'm hoping someone has already written them.
My bash script would look something like this:... (2 Replies)
Discussion started by: siegfried
2 Replies
9. Solaris
Hello,
It is to my understanding that when configuring the Solaris operating system to meet compliance standards, you must configure the "LOCK_AFTER_RETRIES" value in the "/etc/security/policy.conf" file to "YES", and then configure the "RETRIES" parameter in the "/etc/default/login" file to the... (4 Replies)
Discussion started by: TrustSovietBear
4 Replies
UKBD(4) BSD Kernel Interfaces Manual UKBD(4)
NAME
ukbd -- USB keyboard driver
SYNOPSIS
To compile this driver into the kernel, place the following line in your kernel configuration file:
device ukbd
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
ukbd_load="YES"
DESCRIPTION
The ukbd driver provides support for keyboards that attach to the USB port. usb(4) and one of uhci(4) or ohci(4) must be configured in the
kernel as well.
CONFIGURATION
By default, the keyboard subsystem does not create the appropriate devices yet. Make sure you reconfigure your kernel with the following
option in the kernel config file:
options KBD_INSTALL_CDEV
If both an AT keyboard USB keyboards are used at the same time, the AT keyboard will appear as kbd0 in /dev. The USB keyboards will be kbd1,
kbd2, etc. You can see some information about the keyboard with the following command:
kbdcontrol -i < /dev/kbd1
or load a keymap with
kbdcontrol -l keymaps/pt.iso < /dev/kbd1
See kbdcontrol(1) for more possible options.
You can swap console keyboards by using the command
kbdcontrol -k /dev/kbd1
From this point on, the first USB keyboard will be the keyboard to be used by the console.
If you want to use a USB keyboard as your default and not use an AT keyboard at all, you will have to remove the device atkbd line from the
kernel configuration file. Because of the device initialization order, the USB keyboard will be detected after the console driver initial-
izes itself and you have to explicitly tell the console driver to use the existence of the USB keyboard. This can be done in one of the fol-
lowing two ways.
Run the following command as a part of system initialization:
kbdcontrol -k /dev/kbd0 < /dev/ttyv0 > /dev/null
(Note that as the USB keyboard is the only keyboard, it is accessed as /dev/kbd0) or otherwise tell the console driver to periodically look
for a keyboard by setting a flag in the kernel configuration file:
device sc0 at isa? flags 0x100
With the above flag, the console driver will try to detect any keyboard in the system if it did not detect one while it was initialized at
boot time.
DRIVER CONFIGURATION
options KBD_INSTALL_CDEV
Make the keyboards available through a character device in /dev.
options UKBD_DFLT_KEYMAP
makeoptions UKBD_DFLT_KEYMAP=fr.iso
The above lines will put the French ISO keymap in the ukbd driver. You can specify any keymap in /usr/share/syscons/keymaps with this
option.
options KBD_DISABLE_KEYMAP_LOADING
Do not allow the user to change the keymap. Note that these options also affect the AT keyboard driver, atkbd(4).
FILES
/dev/kbd* blocking device nodes
EXAMPLES
device ukbd
Add the ukbd driver to the kernel.
SEE ALSO
kbdcontrol(1), ohci(4), syscons(4), uhci(4), usb(4), config(8)
AUTHORS
The ukbd driver was written by Lennart Augustsson <augustss@cs.chalmers.se> for NetBSD and was substantially rewritten for FreeBSD by
Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>.
This manual page was written by Nick Hibma <n_hibma@FreeBSD.org> with a large amount of input from Kazutaka YOKOTA
<yokota@zodiac.mech.utsunomiya-u.ac.jp>.
BSD November 22, 2006 BSD