Sponsored Content
Special Forums Cybersecurity help with discovering bad passwords question Post 62949 by tmarikle on Monday 21st of February 2005 04:36:22 PM
Old 02-21-2005
The utility "crack" is useful for this and can be configured so that weak passwords can be identified without reveiling them in the report so you can inform your users.

Thomas
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Very Challenging Question! Need help bad!

I am in desperate need of an answer to this question. I have looked everywhere (even the man pages) and found very little. Solaris has the concept of "plumbing" a network interface. What does this mean? I would be really greatful to whoever could help me answer this question. I am so... (1 Reply)
Discussion started by: Sparticus007
1 Replies

2. UNIX for Dummies Questions & Answers

bad substitution problem (easy question)

hi, what i want to do is to convert all the txt file under my directory to the properties file using the native2ascii command. however, when i run my script, i got bad substitution error. what's wrong with my script ? pls help. thanks #!/bin/sh curDIR=`pwd` oldExt='txt'... (10 Replies)
Discussion started by: champion
10 Replies

3. Shell Programming and Scripting

Script to search a bad record in a file then put the record in the bad file

I need to write a script that can find a bad record (for example: there is date field colom but value provided in the file for this field is N/A) then script shoud searches this pattern and then insert the whole record into the bad file. Example: File1 Name designation dateOfJoining... (2 Replies)
Discussion started by: shilendrajadon
2 Replies

4. UNIX for Dummies Questions & Answers

discovering which ports are in use

I am trying to find a way to discover which ports are in use on a UNIX system. I cannot install lsof on it, and it looks like the telnet option is disabled. (7 Replies)
Discussion started by: dck133
7 Replies

5. Infrastructure Monitoring

Discovering Network Topology

Hi all, I am tasked to write a program that learns all possible paths between each pair of nodes in an internetwork. I am not an expert in the area of IP networking/routing. I have been reading about this the last few days. If you know of examples that are close to what I am trying to do, I would... (4 Replies)
Discussion started by: nzeidat
4 Replies

6. UNIX for Dummies Questions & Answers

Question/review my script: removing bad chars from filenames

The task: remove undesirable characters from filenames. Restrictions: Must use basic RE, base utilities (non-GNU) and /bin/sh (ash). No ksh, zsh, perl, etc. Below is what I've come up with. It seems to work OK but I'm open to shorter, more efficient alternatives. Inside the square... (4 Replies)
Discussion started by: uiop44
4 Replies

7. Shell Programming and Scripting

Why I get bad bad substitution when using eval?

Why I get bad replace when using eval? $ map0=( "0" "0000" "0") $ i=0 $ eval echo \${map$i} 0000 $ a=`eval echo \${map$i}` !!!error happens!!! bash: ${map$i}: bad substitution How to resolve it ? Thanks! (5 Replies)
Discussion started by: 915086731
5 Replies

8. UNIX for Advanced & Expert Users

When did UNIX start using encrypted passwords, and not displaying passwords when you type them in?

I've been using various versions of UNIX and Linux since 1993, and I've never run across one that showed your password as you type it in when you log in, or one that stored passwords in plain text rather than encrypted. I'm writing a script for work for a security audit, and two of the... (5 Replies)
Discussion started by: Anne Neville
5 Replies

9. Shell Programming and Scripting

Discovering TOP process on virtual machine

Hello, on my openvz server, i can output load averages of containers: Code: # vzlist -o laverage,ctid -H 0.00/0.00/0.00 130 0.10/0.10/0.10 150 2.26/2.28/2.28 190please which command/script to use so it outputs top 1 or 2 processes on the linux system with 2.26 laverage? i mean, i want... (1 Reply)
Discussion started by: postcd
1 Replies
PAM_PASSWDQC(8) 					    BSD System Manager's Manual 					   PAM_PASSWDQC(8)

NAME
pam_passwdqc -- Password quality-control PAM module SYNOPSIS
[service-name] module-type control-flag pam_passwdqc [options] DESCRIPTION
The pam_passwdqc module is a simple password strength checking module for PAM. In addition to checking regular passwords, it offers support for passphrases and can provide randomly generated passwords. The pam_passwdqc module provides functionality for only one PAM category: password changing. In terms of the module-type parameter, this is the ``password'' feature. The pam_chauthtok() service function will ask the user for a new password, and verify that it meets certain minimum standards. If the chosen password is unsatisfactory, the service function returns PAM_AUTHTOK_ERR. The following options may be passed to the authentication module: min=N0,N1,N2,N3,N4 (min=disabled,24,12,8,7) The minimum allowed password lengths for different kinds of passwords/passphrases. The keyword disabled can be used to disallow passwords of a given kind regardless of their length. Each subsequent number is required to be no larger than the preceding one. N0 is used for passwords consisting of characters from one character class only. The character classes are: digits, lower-case let- ters, upper-case letters, and other characters. There is also a special class for non-ASCII characters which could not be classi- fied, but are assumed to be non-digits. N1 is used for passwords consisting of characters from two character classes, which do not meet the requirements for a passphrase. N2 is used for passphrases. A passphrase must consist of sufficient words (see the passphrase option below). N3 and N4 are used for passwords consisting of characters from three and four character classes, respectively. When calculating the number of character classes, upper-case letters used as the first character and digits used as the last charac- ter of a password are not counted. In addition to being sufficiently long, passwords are required to contain enough different characters for the character classes and the minimum length they have been checked against. max=N (max=40) The maximum allowed password length. This can be used to prevent users from setting passwords which may be too long for some system services. The value 8 is treated specially: if max is set to 8, passwords longer than 8 characters will not be rejected, but will be truncated to 8 characters for the strength checks and the user will be warned. This is for compatibility with the tradi- tional DES password hashes, which truncate the password at 8 characters. It is important that you do set max=8 if you are using the traditional hashes, or some weak passwords will pass the checks. passphrase=N (passphrase=3) The number of words required for a passphrase, or 0 to disable passphrase support. match=N (match=4) The length of common substring required to conclude that a password is at least partially based on information found in a character string, or 0 to disable the substring search. Note that the password will not be rejected once a weak substring is found; it will instead be subjected to the usual strength requirements with the weak substring removed. The substring search is case-insensitive and is able to detect and remove a common substring spelled backwards. similar=permit|deny (similar=deny) Whether a new password is allowed to be similar to the old one. The passwords are considered to be similar when there is a sufficiently long common substring and the new password with the substring removed would be weak. random=N[,only] (random=42) The size of randomly-generated passwords in bits, or 0 to disable this feature. Passwords that contain the offered ran- domly-generated string will be allowed regardless of other possible restrictions. The only modifier can be used to disallow user-chosen passwords. enforce=none|users|everyone (enforce=everyone) The module can be configured to warn of weak passwords only, but not actually enforce strong passwords. The users setting will enforce strong passwords for non-root users only. non-unix Normally, pam_passwdqc uses getpwnam(3) to obtain the user's personal login information and use that during the password strength checks. This behavior can be disabled with the non-unix option. retry=N (retry=3) The number of times the module will ask for a new password if the user fails to provide a sufficiently strong password and enter it twice the first time. ask_oldauthtok[=update] Ask for the old password as well. Normally, pam_passwdqc leaves this task for subsequent modules. With no argument, the ask_oldauthtok option will cause pam_passwdqc to ask for the old password during the preliminary check phase. If the ask_oldauthtok option is specified with the update argument, pam_passwdqc will do that during the update phase. check_oldauthtok This tells pam_passwdqc to validate the old password before giving a new password prompt. Normally, this task is left for subsequent modules. The primary use for this option is when ask_oldauthtok=update is also specified, in which case no other modules gets a chance to ask for and validate the password. Of course, this will only work with UNIX passwords. use_first_pass, use_authtok Use the new password obtained by modules stacked before pam_passwdqc. This disables user interaction within pam_passwdqc. The only difference between use_first_pass and use_authtok is that the former is incompatible with ask_oldauthtok. SEE ALSO
getpwnam(3), pam.conf(5), pam(8) AUTHORS
The pam_passwdqc module was written by Solar Designer <solar@openwall.com>. This manual page, derived from the author's documentation, was written for the FreeBSD Project by ThinkSec AS and NAI Labs, the Security Research Division of Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 (``CBOSS''), as part of the DARPA CHATS research program. BSD
April 15, 2002 BSD
All times are GMT -4. The time now is 11:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy