05-04-2010
Quote:
Originally Posted by
mahm_14
so if i am not using LDAP i can't find the logs?!
You cannot deduce that from what I wrote.
If you are using LDAP, there will be logs (unless they have been disabled).
If you aren't using ldap, there won't be logs unless you set up something to have some. What precisely are you looking for ? Last password change day is recorded in /etc/shadow.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have just upgraded one on my solaris 8 machine to solaris 9 the upgraded went fine and user have
loging on successfully and authenticated user logon on nis successfully.
My Nis master runs on solaris 8.
my solaris 9 machine is configure as a Nis client and authenticated user successfully but... (9 Replies)
Discussion started by: hassan2
9 Replies
2. UNIX for Dummies Questions & Answers
I'm tasked to change a user's password on multiple Linux systems (RH v3). I though copying the encrypted password from one Linux /etc/shadow file to another would work but I was wrong.
The long term solution is to establish an openLDAP Directory service, but for now I'm stuck with a manual... (1 Reply)
Discussion started by: benq70
1 Replies
3. HP-UX
I need change the password a two user. what're the commands to complete this requerement (4 Replies)
Discussion started by: bobangarcia
4 Replies
4. UNIX for Advanced & Expert Users
Hey all,
How to reset the password to a given user id ??
I used passwd commands, but now for that user there are 2 passwords. i.e the old and new passwords.
as : passwd mqcfaostt
oldpassword : pass1
new password : pass2
Confirm new password : pass2
Now, su - mqcdaostt is working for... (4 Replies)
Discussion started by: varungupta
4 Replies
5. Post Here to Contact Site Administrators and Moderators
for my membershi id in this site. :)
Regards
Indrajit (6 Replies)
Discussion started by: ipzig
6 Replies
6. Shell Programming and Scripting
Hi Friends.
I am new to scripting now i want to change the root password using the script with standard password.
which is the easy scripting to learn for the beginner, Thanks in advance. (2 Replies)
Discussion started by: kurva
2 Replies
7. Solaris
Hello All,
I have several solaris boxes running Solaris 8. When changing root passwords on them, all will simply ask for the new root password to change and of course to re-type the new password. One of the systems however asks for the existing root password before it will display the new password... (8 Replies)
Discussion started by: tferrazz
8 Replies
8. UNIX for Dummies Questions & Answers
When I am trying to change the password of my account. I could see the following error:
passwd: Changing password for ramu
Enter existing login password:
passwd: Sorry: less than 14 days since the last change.
Permission denied
Is anybody out there who can help me in changing my password? (4 Replies)
Discussion started by: bobby1015
4 Replies
9. AIX
AIX 6.1
User has a password set.
It needs to be a blank password (no password).
smit passwd
enter user name
at change password and confirm password, just press ENTER
Afterwards, I could not log on with blank password or with original password.
How can I change the password to a... (2 Replies)
Discussion started by: landog
2 Replies
10. Forum Support Area for Unregistered Users & Account Problems
I was unable to login and so used the "Forgotten Password' process. I was sent a NEWLY-PROVIDED password and a link through which my password could be changed. The NEWLY-PROVIDED password allowed me to login.
Following the provided link I attempted to update my password to one of my own... (1 Reply)
Discussion started by: Rich Marton
1 Replies
LEARN ABOUT MOJAVE
net::ldap::control::passwordpolicy
Net::LDAP::Control::PasswordPolicy(3) User Contributed Perl Documentation Net::LDAP::Control::PasswordPolicy(3)
NAME
Net::LDAP::Control::PasswordPolicy - LDAPv3 Password Policy control object
SYNOPSIS
use Net::LDAP;
use Net::LDAP::Control::PasswordPolicy;
use Net::LDAP::Constant qw( LDAP_CONTROL_PASSWORDPOLICY );
$ldap = Net::LDAP->new( "ldap.example.com" );
$pp = Net::LDAP::Control::PasswordPolicy->new;
$mesg = $ldap->bind( "cn=Bob Smith,dc=example,dc=com",
password => "secret",
control => [ $pp ] );
# Get password policy response
my($resp) = $mesg->control( LDAP_CONTROL_PASSWORDPOLICY );
if (defined($resp)) {
my $v = $resp->pp_error;
print "Password policy error $v
" if defined $v;
$v = $resp->time_before_expiration;
print "Password expires in $v second(s)
" if defined $v;
}
DESCRIPTION
"Net::LDAP::Control::PasswordPolicy" provides an interface for the creation and manipulation of objects that represent
"PasswordPolicyRequest"s and "PasswordPolicyResponse"s as described by draft-behera-password-policy-09.
This control can be passed to most operations, including the bind.
CONSTRUCTOR ARGUMENTS
There are no constructor arguments other than those provided by Net::LDAP::Control.
METHODS
time_before_expiration
If defined, this is an integer value holding the time left in seconds before the account's password will expire.
grace_authentications_remaining
If defined, this is an integer value holding the number of authentication requests allowed before the account is locked.
pp_error
If defined, this contains a more detailed error code for the account. See Net::LDAP::Constant for definitions of each. Values can
include:
LDAP_PP_PASSWORD_EXPIRED
LDAP_PP_ACCOUNT_LOCKED
LDAP_PP_CHANGE_AFTER_RESET
LDAP_PP_PASSWORD_MOD_NOT_ALLOWED
LDAP_PP_MUST_SUPPLY_OLD_PASSWORD
LDAP_PP_INSUFFICIENT_PASSWORD_QUALITY
LDAP_PP_PASSWORD_TOO_SHORT
LDAP_PP_PASSWORD_TOO_YOUNG
LDAP_PP_PASSWORD_IN_HISTORY
SEE ALSO
Net::LDAP, Net::LDAP::Control, Net::LDAP::Constant, draft-behera-ldap-password-policy-09.txt
AUTHOR
Chris Ridd <chris.ridd@isode.com>
Please report any bugs, or post any suggestions, to the perl-ldap mailing list <perl-ldap@perl.org>
COPYRIGHT
Copyright (c) 2008 Chris Ridd. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same
terms as Perl itself.
perl v5.18.2 2013-07-21 Net::LDAP::Control::PasswordPolicy(3)