Sponsored Content
Full Discussion: minimum password length
Operating Systems HP-UX minimum password length Post 302123269 by jestinabel on Monday 25th of June 2007 01:22:34 AM
Old 06-25-2007
thanks perdabo,

In hp ux 11i i coundn't find any security file with the entry min_password_length, in /etc/default/security that entry is with #.

regards
 

9 More Discussions You Might Find Interesting

1. AIX

password length

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

2. UNIX for Dummies Questions & Answers

What the command to find out the record length of a fixed length file?

I want to find out the record length of a fixed length file? I forgot the command. Any body know? (9 Replies)
Discussion started by: tranq01
9 Replies

3. Shell Programming and Scripting

remove strings of lowercase characters (with minimum length requirement)

Hi all, I want to delete all lowercase characters from my file, but only strings of length 7 and more. For example, how can I go from: JHGEFigeIGDUIirfyfiyhgfoiyfKJHGuioyrDHG To: JHGEFigeIGDUIKJHGuioyrDHG There should be a trick to add to sed 's///g', but I can't figure it out.... (2 Replies)
Discussion started by: elbuzzo
2 Replies

4. AIX

AIX 5.3 userid password length to 6

Hi All, How can I make the password of only two userid with 6 length while others are using regular policy of 8 or more length. Please help. Thanks. (2 Replies)
Discussion started by: itik
2 Replies

5. Solaris

Enforcing password length.

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

Increase Password length

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. Red Hat

Security Question: Lock after invalid login, Session Lock and Required Minimum Password Length

Hello all, If anyone has time, I have a few questions: How do I do the following in Linux. We are using Red Hat and Oracle Enterprise Linux, which is based on Red Hat too. 1. How to lock the account after a few (like 3) invalid password attempts? 2. How do you lock a screen after 30... (1 Reply)
Discussion started by: nstarz
1 Replies

8. Shell Programming and Scripting

Flat file-make field length equal to header length

Hello Everyone, I am stuck with one issue while working on abstract flat file which i have to use as input and load data to table. Input Data- ------ ------------------------ ---- ----------------- WFI001 Xxxxxx Control Work Item A Number of Records ------ ------------------------... (5 Replies)
Discussion started by: sonali.s.more
5 Replies

9. Shell Programming and Scripting

Filter all the lines with minimum specified length of words of a text file

Hi Can someone tell me which script will work best (in terms of speed and simplicity to write and run) for a large text file to filter all the lines with a minimum specified length of words ? A sample script with be definitely of great help !!! Thanks in advance. :) (4 Replies)
Discussion started by: my_Perl
4 Replies
userdb_read(3)						     Library Functions Manual						    userdb_read(3)

NAME
userdb_read(), userdb_write(), userdb_delete() - read, write or delete information in the user database, /var/adm/userdb SYNOPSIS
DESCRIPTION
These functions read, write, or delete information in the user database, which is described in userdb(4). The argument indicates a specific user entry in the user database. Attributes are accessed or modified only in this entry. For element i of the two arrays, is a pointer to the name of an attribute, and is a pointer to its value represented as text. The arrays and are terminated by a null character. reads the values of the attributes specified in the array from the user database into the corresponding array. If an attribute is not present, a null string is copied into the array. Each element (except for the terminating null) of the array is a pointer to a buffer. The size of each buffer is assumed to be at least bytes, which is defined in writes the values of the attributes specified in the array from the corresponding array into the database. For each null string in the array, the corresponding attribute is deleted; the system-wide default described in will then apply; see security(4). Attribute values are allowed to contain only printable ASCII characters (hex 20-7e). The tab character (hex 09) may also be used for the following special cases for Add or subtract num to or from the current attribute value. Both num and the current value are assumed to be a string of at most nine ASCII decimal digits. The current value may also have an optional sign, and is assumed to have a value of 0 if the attribute is not defined. No operation (do not modify the attribute). deletes a user entry from the database. The user entry contains all of the configurable and internal attributes for a user. RETURN VALUE
Upon successful completion, 0 is returned. ERRORS
If an error occurs, one of the following values is returned. could not find a database entry for the user specified in the argument invalid argument insufficient permission to access the user database a file system error occurred the value of one of the arguments is invalid the value of one of the arguments is invalid overflowed a database block overflowed the user entry database lock failure the database is disabled; see userdb(4) the argument is not a valid username the username specified by the argument is not a local user in EXAMPLES
The following program segment writes values for two attributes into the user database for user and then deletes a third attribute. It then reads and prints two attributes plus the attribute which it removed. Finally, it removes all of the attributes for user After successful execution, the output is: FILES
user database security defaults configuration file security attributes description file SEE ALSO
userdbget(1M), userdbset(1M), secdef(3), security(4), userdb(4). userdb_read(3)
All times are GMT -4. The time now is 09:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy