09-24-2010
thanks,
can we change this significat number. i.e. from 8 to 10 etc.
10 More Discussions You Might Find Interesting
1. Solaris
How to set passwd history feature in Solaris 8 to stop users from using their old passwords? (4 Replies)
Discussion started by: amoorti
4 Replies
2. Solaris
Now I face a problem in changing the NIS passwd,I have no idea,want you to help me!
Today I add some user in the NIS master server ,I "vi" /etc/passwd &/etc/shadow,add user account and password by hand(shadow----no password ,only eight ":").
when finsh,I login ,system told me to input a password... (3 Replies)
Discussion started by: dlsjm
3 Replies
3. UNIX for Dummies Questions & Answers
Hello chiefs :)
I have a SUN Enterprise 250, running Solaris 8.5 - I have managed to be able to connect a dumb terminal to the box via a standard straight-through rj45 cable, to my ibm laptop. OK so Putty can connect to the box via ssh - nice! But I dont have the password for root - or any... (1 Reply)
Discussion started by: congo
1 Replies
4. UNIX for Advanced & Expert Users
i'm trying to change passwd remotely in unix (solaris) and tried using "expect" but it is not working.
Any ideas to change the passwd remotely using a shell script? (1 Reply)
Discussion started by: pharos467
1 Replies
5. Solaris
Dear all,
One one of the systems running solaris 8 the oracle account has a issue when trying to set the passwd. Following is what i get when the passwd command is executed.
:/opt/oracle> passwd
Enter existing login password:
System configuration error. Please contact your administrator.... (1 Reply)
Discussion started by: earlysame55
1 Replies
6. Emergency UNIX and Linux Support
on Runnning passwd command on HPUX 11.23
I am getting
pam_chauthtok: Shared object load failure.
Pls help ... (13 Replies)
Discussion started by: ultimatix
13 Replies
7. Solaris
I have turned off PermitEmptyPasswords in sshd_config, but a user with empty passwd (deleted by passwd -d user) can still login without password, why? it is big security concern, linux doesn't have the issue.
$ uname -a
SunOS 5.10 Generic_118855-14 i86pc i386 i86pc
... (8 Replies)
Discussion started by: honglus
8 Replies
8. Programming
This is the source code:
#include <pwd.h>
#include <iostream>
#include <string.h>
using namespace std;
int main()
{
struct passwd *user;
char login="alex", password="qwertyuiop";
if ((user= getpwnam(login)) == NULL)
cout << "No such user\n";
else if... (24 Replies)
Discussion started by: hakermania
24 Replies
9. Solaris
Hello all,
Since Solaris passwd does not have --stdin option can you advise how to change the password for 30 users with a script. The password can be the same one. I`ve tried already echoing, xargs, cat and similar.
Thanks.
---------- Post updated at 04:04 AM ---------- Previous update... (0 Replies)
Discussion started by: click
0 Replies
10. Solaris
Hello
I am trying to monitor when a user account gets added to my solaris server.
Does anyone know how I can set up an snmptrap for changes in the /etc/passwd file ? (4 Replies)
Discussion started by: prince2010
4 Replies
LEARN ABOUT CENTOS
xkbresizekeyactions
XkbResizeKeyActions(3) XKB FUNCTIONS XkbResizeKeyActions(3)
NAME
XkbResizeKeyActions - Change the number of actions bound to a key
SYNOPSIS
XkbAction * XkbResizeKeyActions (XkbDescRec *xkb, int key, int needed);
ARGUMENTS
- xkb keyboard description to change
- key keycode of key to change
- needed
new number of actions required
DESCRIPTION
The xkb parameter points to the keyboard description containing the key whose number of actions is to be changed. The key parameter is the
keycode of the key to change, and needed specifies the new number of actions required for the key.
XkbResizeKeyActions reserves the space needed for the actions and returns a pointer to the beginning of the new array that holds the
actions. It can change the acts, num_acts, and size_acts fields of xkb->server if it is necessary to reallocate the acts array.
If needed is greater than the current number of keysyms for the key, XkbResizeKeyActions initializes all new actions in the array to NoAc-
tion.
Because the number of actions needed by a key is normally computed as width * number of groups, and XkbResizeKeyActions does not modify
either the width or number of groups for the key, a discrepancy exists on return from XkbResizeKeyActions between the space allocated for
the actions and the number required. The unused entries in the list of actions returned by XkbResizeKeyActions are not preserved across
future calls to any of the map editing functions, so you must update the key actions (which updates the width and number of groups for the
key) before calling another allocator function. A call to XkbChangeTypesOfKey updates these.
If any allocation errors occur while resizing the number of actions bound to the key, XkbResizeKeyActions returns NULL.
SEE ALSO
XkbChangeTypesOfKey(3), XkbResizeKeySyms(3)
NOTES
A change to the number of actions bound to a key should be accompanied by a change in the number of symbols bound to a key. Refer to XkbRe-
sizeKeySyms for more information on changing the number of symbols bound to a key.
X Version 11 libX11 1.6.0 XkbResizeKeyActions(3)