UNIX2_CHKPWD(8) Linux-PAM Manual UNIX2_CHKPWD(8)NAME
unix2_chkpwd - helper binary that verifies the password of the current user
/sbin/unix2_chkpwd servicename username
unix2_chkpwd is a helper program for applications that verifies the password of the current user. It is not intended to be run directly
from the command line and logs a security violation if done so.
It is typically installed setuid root or setgid shadow and called by applications, which only wishes to do an user authentication and noth-
unix2_pwdchk requires the following arguments:
The name of the service using unix2_chkpwd. This is required to be one of the services in /etc/pam.d
The name of the user whose password you want to verify.
unix2_pwdchk expects the password via stdin.
unix2_chkpwd has the following return codes:
1 unix2_chkpwd was inappropriately called from the command line or the password is incorrect.
0 The password is correct.
Written by Olaf Kirch loosely based on unix_chkpwd by Andrew Morgan
SEE ALSO pam(8)AUTHOR
Linux-PAM 0.76 2003-03-21 UNIX2_CHKPWD(8)
Check Out this Related Man Page
PAM_WARN(8) Linux-PAM Manual PAM_WARN(8)NAME
pam_warn - PAM module which logs all PAM items if called
pam_warn is a PAM module that logs the service, terminal, user, remote user and remote host to syslog(3). The items are not probed for, but
instead obtained from the standard PAM items. The module always returns PAM_IGNORE, indicating that it does not want to affect the
This module does not recognise any options.
MODULE TYPES PROVIDED
The auth, account, password and session module types are provided.
This module always returns PAM_IGNORE.
# If we don't have config entries for a service, the
# OTHER entries are used. To be secure, warn and deny
# access to everything.
other auth required pam_warn.so
other auth required pam_deny.so
other account required pam_warn.so
other account required pam_deny.so
other password required pam_warn.so
other password required pam_deny.so
other session required pam_warn.so
other session required pam_deny.so
SEE ALSO pam.conf(5), pam.d(5), pam(8)AUTHOR
pam_warn was written by Andrew G. Morgan <firstname.lastname@example.org>.
Linux-PAM Manual 04/01/2010 PAM_WARN(8)
I my Pc the vendor installed linux and windowsXp in my pc now i have forgot my Root password itself.
will anyone please Help me break password or how can i enter into Linux.
I welcowe all for valuable suggestions
gvvr (1 Reply)
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)
how to set password for a script
i have a script called logscript. i want to set the username and password for that.
when i run the script it should ask me the username and passowrd .
any idea in that (2 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)
I m using linux pam library for user and its password authentication.
I m creating new user and giving its password.I m giving password of 10 characters.now when I login in as that newly created user its ask me
$ su - ram
You are required to change your password immediately... (12 Replies)
I use to run sql loader inside a script with usename and password written in syntax. Now when I use 'ps' command to know about the status of loading, it also shows username and password that I don't want to share with someone who is sitting with me. If you have any idea except encryption... (1 Reply)
I would like to use SFTP from command line without entering userid and password.
Here is what I have gathered and did.
1) Create a public and private key pair for the protocol you want to use.
To create a key pair for use by SSH2, enter:
ssh-keygen -t dsa
I did that and got... (7 Replies)
i have a user named "sybase" in my aix box ?
i need a script to be run every minute which will always make the password of the user "sybase" to be set as : dbadmin
even if root user changes the password of the user, the script should run via cron and again set the password of the user sybase... (3 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)
We have a requirement to vary the minimum password criteria by the group to which a user belongs.
For example a standard user should have a password with a minimum length of 12 and containing a mix of characters whereas an administrator should have a password with a minimum length of 14... (1 Reply)