Sponsored Content
Full Discussion: Can't unlock encrypted disk
Top Forums UNIX for Beginners Questions & Answers Can't unlock encrypted disk Post 303043082 by vbe on Friday 17th of January 2020 04:37:55 PM
Old 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

How to unlock my editor?

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

how to unlock user ID in 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

Unable to unlock users in Tru64

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

not able to unlock user

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

how to unlock a dvd in HMC

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

perl FileHandle Closure during after unlock

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

Need help in lock and unlock and after the changes

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

Where are lock and unlock commands?

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

Solaris Automatic Account Unlock

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
XHPSetKeyboardMapping(3X)												 XHPSetKeyboardMapping(3X)

NAME
XHPSetKeyboardMapping, XHPRefreshKeyboardMapping - set/refresh the keyboard mapping SYNOPSIS
#include <X11/XHPlib.h> Status XHPSetKeyboardMapping(display, kbd_id, force_read) Display *display; KEYBOARD_ID kbd_id; int force_read; XHPRefreshKeyboardMapping(event_map) XMappingEvent *event_map; XHPSetKbdMapInit(display, kbd_id, force_read, status_in_out) Display *display; KEYBOARD_ID kbd_id; int force_read; XComposeStatus *status_in_out; DESCRIPTION
XHPSetKeyboardMapping allows an application to emulate other keyboards. It does this by replacing the key map associated with display. The keyboard to be emulated is specified by kbd_id. The routines described on this man page are provided for backwards compatibility only; they will be discontinued in a future release of HP- UX. XHPSetKeyboardMapping and XHPSetKbdMapInit can only manipulate the keymaps of HP keyboards connected via the HIL interface. The system cannot distinguish between an HP DIN keyboard and DIN keyboards from another source, and hence cannot safely remap these keyboards. XHPSetKeyboardMapping reads the key map from the file /etc/X11/XHPKeymaps . However, if the keyboard specified with kbd_id is the same as the physical keyboard recognized by the server as the input device, XHPSetKeyboardMapping requests the key map directly from the server. In this way, any changes to the key map (such as with XChangeKeyboardMapping) are preserved. This functionality can be overridden by setting force_read to a non-NULL value; if the value of force_read is non-NULL, XHPSetKeyboardMapping will always obtain the key map from the file /etc/X11/XHPKeymaps . XHPSetKeyboardMapping fails if kbd_id is an unrecognized value or if it cannot open the key map file; the display's copy of the key map is not modified. If the server's keyboard is a non-HP keyboard or is connected to the workstation by an interface other than HIL, XHPSetKeyboardMapping returns an error code and does not modify the key map. XHPSetKbdMapInit is a macro defined in XHPlib.h. It is intended for clients using XHPGetEurasianCvt and will perform the necessary initialization and cleanup for that routine, as well as setting the key map for display. The following values for kbd_id are define in <X11/HXPlib.h>: KB_US_English specifies an HP46021A US ASCII keyboard KB_Canada_French specifies an HP46021AC Canadian French keyboard KB_German specifies an HP46021AD German keyboard KB_Euro_Spanish specifies an HP46021AE European Spanish keyboard KB_French specifies an HP46021AF French keyboard KB_Dutch specifies an HP46021AH Dutch keyboard KB_Katakana specifies an HP46021AJ Katakana keyboard KB_Canada_English specifies an HP46021AL Canadian English keyboard KB_Latin_Spanish specifies an HP46021AM Latin American Spanish keyboard KB_Norwegian specifies an HP46021AN Norwegian keyboard KB_Swiss_German2 specifies an HP46021AP Swiss German keyboard KB_Swiss_German specifies an HP46020 Swiss German keyboard KB_Swiss_French2 specifies an HP46021AQ Swiss French keyboard KB_Swiss_French specifies an HP46020 Swiss French keyboard KB_Swedish specifies an HP46021AS Swedish keyboard KB_UK_English specifies an HP46021AU UK English keyboard KB_Belgian specifies an HP46021AW Belgian keyboard KB_Finnish specifies an HP46021AX Finnish keyboard KB_Danish specifies an HP46021AY Danish keyboard KB_Italian specifies an HP46021AZ Italian keyboard KB_T_Chinese specifies an HP46021AW#ZAA Traditional Chinese keyboard KB_Korean specifies an HP46021AW#ZAB Korean keyboard KB_S_Chinese specifies an HP46021AW#ZAC Simplified Chinese keyboard KB_Japanese specifies an HP46021AW#ZAL Japanese keyboard XHPRefreshKeyboardMapping refreshes display's copy of the key map and modifier information. It facilitates handling MappingNotify events when using XHPSetKeyboardMapping with the force_read argument set to NULL (i.e. when the key map for the keyboard is read from the server and not from the XHPKeymaps file). If the key map has been read from XHPKeymaps, changes to the server's key map are irrelevant; MappingNotify events should be ignored when using XHPSetKeyboardMapping with force_read set to a non-NULL value. RETURN VALUE
XHPSetKeyboardMapping returns zero if it succeeds, otherwise it returns one of the following values, defined in <X11/HXPlib.h>: XHPKB_NOKEYFILE The file /etc/X11/XHPKeymaps does not exist or could not be opened. XHPKB_BADMAGIC Either libxHP11.a or /etc/X11/XHPKeymaps is not the latest version. XHPKB_BADKBID The kbd_id argument is set to an improper value. XHPKB_NONHPINPUTDEV The keyboard attached to the server is not an HP keyboard. The key map requested was not loaded. ORIGIN
Hewlett-Packard Company SEE ALSO
XHPConvertLookup(3X), XHPGetEurasianCvt(3X) X Version 11 Release 5 XHPSetKeyboardMapping(3X)
All times are GMT -4. The time now is 07:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy