Sponsored Content
Operating Systems Solaris Notification of password expiry. Post 302308705 by sparcman on Monday 20th of April 2009 05:37:13 AM
Old 04-20-2009
MySQL

Thanks TonyFullerMalv. I'll try that.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

password expiry

Hi, under SUN Unix, in which file the expiry date of a user password is indicated ? Many thanks. (2 Replies)
Discussion started by: big123456
2 Replies

2. AIX

How to check password expiry in AIX?

Hi All, Could anyone please help me with the command or script for checking the password expiry for a particular userid on AIX. Regards, Sanjay...:) (5 Replies)
Discussion started by: SanjayPasum
5 Replies

3. Solaris

Notification of password expiry.

Hi, Is there any way of sending an email to a number of users indicating that the passwords of user accounts will expire? Currently we have a test server with a number of oracle test accounts on it. Each of these accounts correspond to an instance of Oracle on the server. These... (2 Replies)
Discussion started by: sparcman
2 Replies

4. Solaris

SSH Password-less login fails on password expiry.

Hi Gurus I have a few Sol 5.9 servers and i have enabled password less authentication between them for my user ID. Often i have found that when my password has expired,the login fails. Resetting my password reenables the keys. Do i need to do something to avoid this scenario or is this... (2 Replies)
Discussion started by: Renjesh
2 Replies

5. Shell Programming and Scripting

password expiry notification

Hi, Could someone please let me know how to write script for passwd expiry notification on salaries boxes. Regards Dnyan (1 Reply)
Discussion started by: dnyan
1 Replies

6. Solaris

Password Expiry Promtps Not Visable

Hi all. On our systems we use the password expiry through the shadow file. This was recently implemented and the first round of expiry has just arrived. The problem that i have is that when users are attempting to log on to a box (directory through putty) there are no prompts displayed if... (13 Replies)
Discussion started by: boneyard
13 Replies

7. Solaris

disable password expiry

Hi How do i disable password expiration on ldap? It runs on Solaris 10 machine. Thanks in advance. (3 Replies)
Discussion started by: hrist
3 Replies

8. Shell Programming and Scripting

passwd expiry notification

Hi, I'm trying to set password expiry notification. But unable to do so. >I do not have permission for "passwd -s" on Sun OS(SunOS 5.9 Generic_122300-60 sun4u sparc SUNW,Sun-Fire-480R). >Also tried "chage -l <username>" but it is not configured. I'm just an appln user in that system. Could... (2 Replies)
Discussion started by: sam_bd
2 Replies

9. Shell Programming and Scripting

Password expiry report

Hi All, I want to write a script that will send the alert when linux server password expiry for user 'x' is less than 12 days. I have written the below script but this is not working for expiry date 04 july script;- P_EXPIRY_DATE=`chage -l msdp| grep 'Password expires' | awk ' {... (2 Replies)
Discussion started by: abhigrkist
2 Replies

10. Red Hat

Root password expiry script

Hi Guys In red hat linux server is there a way to alert via email when the root password is about to expire ? As per security policy in our environment root password will expire in 90 days. Example : It would be better if we receive a email on 7th november stating that the root password... (1 Reply)
Discussion started by: newtoaixos
1 Replies
acceptable_password(3)					     Library Functions Manual					    acceptable_password(3)

NAME
acceptable_password - Determines if a password meets deduction requirements (Enhanced Security) LIBRARY
Security Library - libsecurity.so SYNOPSIS
int acceptable_password( char *word, FILE *stream); PARAMETERS
Points to the suggested password. Points to the stream to write diagnostics into. DESCRIPTION
The acceptable_password() function determines if the given password is difficult to deduce from well known, password-guessing heuristics. The cleartext (plaintext) password is passed as the first argument, and the file pointer of the stream that is used to report failure rea- sons is the second argument. If this checking is to be silent, the second argument should be a null file pointer. When the acceptable_password() function returns a value of 1, the password provided meets all the tests listed in the following text. When it returns a value of 0 (zero), the password failed to meet at least one of the tests. The selectivity criteria for the password include but cannot be limited to the following four tests: This test passes if the word is not a palindrome. (A palindrome is a word that is spelled the same backwards as it is forwards.) Examples of palindromes that fail this test are mom, dad, noon, redivider, radar. Palindromes do not make good passwords because they reduce an n character password to n/2 + 1 char- acters. A penetrator knowing that palindromes were legal could use heuristics that could deduce the password much more quickly than if they were excluded. This test passes if the password is not a derivative of a login name for the system. Many insecure systems allow passwords to be the login name itself. This is a fact known by many penetrators. All login names are excluded because a user that is the owner of several pseudouser accounts can elect to use the login name of one account as the password for all accounts. Similar to the login name issue, this test passes if the password is not a group name derivative. This test passes if the spell program determines that the password is not an English word. A penetrator then could not search the online dictionary to find the password. The spell program also has some built-in rules that go beyond the actual online dictionary in determining what is a proper word, and this routine takes advantage of that. NOTES
Programs that use this routine must be compiled with -lsecurity. FILES
System password file. System group file. RELATED INFORMATION
Functions: getpwent(3), getgrent(3). Commands: spell(1). delim off acceptable_password(3)
All times are GMT -4. The time now is 11:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy