CRACK_CHECK(3) 1 CRACK_CHECK(3)crack_check - Performs an obscure check with the given passwordSYNOPSIS
bool crack_check (resource $dictionary, string $password)
DESCRIPTION
bool crack_check NULL (string $password, string $username = "", string $gecos = "", resource $dictionary)
Performs an obscure check with the given password on the specified dictionary. The alternative signature also takes into account the user-
name and the GECOS information.
Warning
This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in
a future release of PHP. This function should be used at your own risk.
PARAMETERS
o $dictionary
- The crack lib dictionary. If not specified, the last opened dictionary is used.
o $password
- The password to be checked.
o $username
- The username of the account with the password.
o $gecos
- The GECOS information associated with the user account.
RETURN VALUES
Returns TRUE if $password is strong, or FALSE otherwise.
CHANGELOG
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 0.3 | |
| | |
| | The $username, $gecos and $dictionary parameters |
| | were added to the alternative signature. |
| | |
+--------+---------------------------------------------------+
PHP Documentation Group CRACK_CHECK(3)
Check Out this Related Man Page
PWSCORE(1) General Commands Manual PWSCORE(1)NAME
pwscore - simple configurable tool for checking quality of a password
SYNOPSIS
pwscore [user]
DESCRIPTION
pwscore is a simple tool for checking quality of a password. The password is read from stdin.
The tool uses the libpwquality library to perform configurable checks for minimum length, dictionary checking against cracklib dictionar-
ies, and other checks.
It either reports an error if the password fails any of the checks, or it prints out the password quality score as an integer value between
0 and 100.
The password quality score is relative to the minlen setting in the configuration file. But in general values below 50 can be treated as
moderate quality and above it fairly strong quality. Any password that passes the quality checks (especially the mandatory cracklib check)
should withstand dictionary attacks and scores above 50 with the default minlen setting even fast brute force attacks.
OPTIONS
The first and only optional argument is the user name that is used to check the similarity of the password to the username.
FILES
/etc/security/pwquality.conf - The configuration file for the libpwquality library.
RETURN CODES
pwscore returns 0 on success, non zero on error.
SEE ALSO pwscore(1), pwquality.conf(5), pam_pwquality(8)AUTHORS
Tomas Mraz <tmraz@redhat.com>
Red Hat, Inc. 10 Nov 2011 PWSCORE(1)
Hello Mods,
is it possible to change my username to different username and retain the posts and registration details of this account instead of registering a new account?
Best Regards, (4 Replies)
I just installed Solaris 10 yesterday and I need to create a new username and password. I'm new to the system and I have yet to learn my way around. I appreciate all help and thank you in advance. (5 Replies)
Hi
I would like to take input from user like username/password@connectstring
I should be able to cut the username and password and connect string
for example if someone enters like
sam/sammy@ora1
my program should take sam as username sammy as password and ora1 as connectstring and... (3 Replies)
Hi Gurus,
I want to connect to a different user in unix from my terminal. I know the password
of that user and username.when i am using "su username" it asks me for the password and entering the corresponding password ,it takes me to that.but i want to write a shell script in which i will be... (4 Replies)
I have a RHEL 5 server that I can log into with an LDAP account hosted on a server running Sun DSEE 6.3 with an ssh key pair but not with my username and password. When I try to login to the console I am given the "login incorrect" message as if I fat fingered my password. Other users with... (5 Replies)
Hi,
Whenever I open my unix box,after providing username and password I get the following message.
Are you authorised to use this computer as detailed above? (Y)es/(N)o : y
Export: Release 10.2.0.2.0 - Production on Mon May 16 16:00:15 2011
Copyright (c) 1982, 2005, Oracle. All rights... (5 Replies)
Hello all, I am i am trying to read username password. Bassicaly, i have file called sidlist and it has my database name, username and password....
looks something like this....
db1, user1, pass1
db2, user2, pass2
db3, user3, pass4
but i dont know how to make it work, until i get... (4 Replies)
I have an old compaq running sco 3.2. the old IT guy died and we need to reset the password OR crack into the machine. I have tried mscreen and at exploits but can't seem to get them to work. I have access with other user accounts. This is a machine we own. (4 Replies)
I need to check if an account has a valid password.
Would something like this work?
read ACCNAME
if grep -q "^$ACCNAME:\$6:" /etc/shadow; thenI noticed every entry in my shadow file that has a password starts with $6 ... it works for my current setup, but would it always work? I can't test... (4 Replies)
Hi
I am new to using unix and am struggling with a script i am writing. What i am trying to do is get a user to enter a username, check the original file i created with username and pin to see if their is a corresponding entry. Next ask the user to enter the pin and see if this matches... (5 Replies)
I'm writing a script that has the need to verify the current user's username and password. I'm not entirely sure how to do this. I've read some things on "dscl" but am not sure that's the correct route for me to go.
The one condition i have is that i really need to have the verification happen... (4 Replies)
hi all,
i am trying to change the password of a user as the same is used in
various deployment scripts but when chnaging the passowrd to desired one by root user i am getting as below
Changing password for user tcms.
New UNIX password:
BAD PASSWORD: it is based on a dictionary word... (6 Replies)