03-16-2009
You can also use the NOCHECK flag if you have a policy defined.
pwdadm -f NOCHECK <username>
10 More Discussions You Might Find Interesting
1. AIX
I am new to AIX. I was wondering if there is a security API on AIX which I can call from my C program to validate the userID and password of a user.
My plan is to have my C program prompt the user for UserID and password. I'll then call the AIX security API to determine what authority the user... (1 Reply)
Discussion started by: AIX_user
1 Replies
2. AIX
hi friends,
anybody know how many character of password length in aix5.3? please help me
TIA
bong (1 Reply)
Discussion started by: bong02
1 Replies
3. HP-UX
Dear frnds,
how i can make the password 5chs minimum length in hp-ux 11i ? pls help
regards (3 Replies)
Discussion started by: jestinabel
3 Replies
4. AIX
Hi,
I'm using AIX version 5.3 currently. I'm trying to create a user id, e.g. andyleong, which the system prompted the length is too long.
1. I would like to know is that the length of user id is limited to maximum 8 characters for AIX.
2. Is it apply to all versions of AIX?
If no... (2 Replies)
Discussion started by: meihua_t
2 Replies
5. Solaris
I would like to enforce the users to use 15 character passwords. I have edited the /etc/default/passwd and given PASSLENGTH=15. What i noticed is that when user changes the password next time, it will enforce the a 15 character password but during the next logon, it verifies only first 8... (5 Replies)
Discussion started by: uxadmin007
5 Replies
6. Red Hat
Hello All,
I am using RHEL 4. Currently maximum password length limit is set to 8 on my system.
Please tell what do i need to change to increase this limit to say 20. I changed the login.defs and included the following line -
"
PASS_MAX_LEN 20
"
but this dint work.
I further... (7 Replies)
Discussion started by: shamik
7 Replies
7. Shell Programming and Scripting
Hi,
I have a fixed length text file that needs to be cut into individual files in aix and facing padding issues. If I have multiple blank spaces in the file it is just making it one while cutting the files..
Eg:-
$ - blank space
filename:file.txt
... (2 Replies)
Discussion started by: techmoris
2 Replies
8. Shell Programming and Scripting
Am reading userid and password.
code:
pmsg "Enter the userid \n"
read userid
pmsg "Enter password \n"
read password
pmsg "Enter Database name \n"
read database
When user type password, it a clear text. I want something like
******** or just a blank
any suggestion plz...
... (2 Replies)
Discussion started by: ilugopal
2 Replies
9. Shell Programming and Scripting
Hi Experts,
I am writing a shell script (for displaying disk space details) which is logging to 15 different servers using following command.
ssh userid@servername
It is prompting me for password for all 15 servers when I manually run it.
However , soon I would like to schedule this script... (4 Replies)
Discussion started by: ajaypatil_am
4 Replies
10. AIX
AIX5.3:
Can you please let me know how to find out
What is the runqueue length
What are the processes in the runqueue
I would like to know the information on 5 min intervals. Please let me know if there is a command to do this. (2 Replies)
Discussion started by: ucbus
2 Replies
LEARN ABOUT HPUX
pthread_getschedparam
pthread_getschedparam(3T) pthread_getschedparam(3T)
NAME
pthread_getschedparam(), pthread_setschedparam() - get or set the scheduling policy and associated parameters
SYNOPSIS
PARAMETERS
thread The thread whose scheduling policy and associated parameters are to be set/retrieved.
policy This parameter either points to the memory location where the scheduling policy of thread is returned (get function) or it
specifies the new value of the scheduling policy for thread (set function).
param This parameter either points to the memory location where the scheduling parameters of thread are returned (get function)
or it specifies the new scheduling parameters for thread (set function).
DESCRIPTION
These functions allow the scheduling policy and associated parameters of threads within a multithreaded process to be retrieved and
changed. The legal values for the scheduling policy and associated scheduling parameters are defined in
changes the scheduling policy and associated scheduling parameters for thread to the policy and the associated parameters provided in pol-
icy and param, respectively. On HP-UX, appropriate privileges are required to change the scheduling parameters of a thread. The calling
process must have appropriate privileges or be a member of a group having access to successfully call
The function retrieves the scheduling policy and associated parameters for thread and stores those values in policy and param, respec-
tively. The values returned represent the actual scheduling values, not any temporary values that may be in effect due to priority inheri-
tance or priority ceiling features.
Notes
For the and scheduling policies, only the sched_priority member of the structure is required in the associated scheduling parameters. All
other scheduling policies have implementation-defined scheduling policies. Refer to the documentation for rtsched(2) and for further
information on implementation-defined scheduling policies.
RETURN VALUE
Upon successful completion, and return zero. Otherwise, an error number is returned to indicate the error (the variable is not set).
ERRORS
If any of the following occur, the and functions return the corresponding error number:
is not defined and these functions are not supported.
For each of the following conditions, if the condition is detected, the function returns the corresponding error number:
policy or one of the scheduling parameters in param is invalid.
Either the policy or scheduling parameters contain an
unsupported value.
The caller does not have permission to set either the
scheduling policy specified in policy or the scheduling parameters specified in param for thread.
No thread could be found corresponding to
thread.
For each of the following conditions, if the condition is detected, the function returns the corresponding error number:
No thread could be found corresponding to
thread.
The value specified by
policy or param is invalid.
AUTHOR
and were derived from the IEEE POSIX P1003.1c standard.
SEE ALSO
pthread_attr_setschedparam(3T), pthread_attr_setschedpolicy(3T), pthread_attr_getschedparam(3T), pthread_attr_getschedpolicy(3T),
rtsched(2).
STANDARDS CONFORMANCE
Pthread Library pthread_getschedparam(3T)