Sponsored Content
Operating Systems AIX default settings of security password in AIX Post 302540028 by phobus on Tuesday 19th of July 2011 10:51:11 AM
Old 07-19-2011
Hi,
security files are located under
Code:
/etc/security/

you can compare files with something like diff from there or you can use lsuser command.

For that error which you get you have set up minage to 1, change it to 0 and you will be able to change your password.

Code:
minage   Defines the minimum age (in weeks) a password must be before it can be changed. The  value is a decimal integer string. The default is a value of 0, indicating no minimum age. Range: 0 to 52

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

mandrake 8.0 experts...how come it won't accept changes to security settings??

well after a possible hack last week that was a pain in the as* i have reinstalled and i am setting up my security settings before i connect to the internet this time... problem is that when i try to change the security setting using in the control setting the left panel (where the change is... (2 Replies)
Discussion started by: justchillin
2 Replies

2. UNIX for Dummies Questions & Answers

Password Settings

Is there an easy way to spit out a screen with all the password setting parameters set out? For example: MINWEEKS=1 MAXWEEKS=8 etc. I'm looking for a way to have all the settings consolidated on a report for inclusion in policy documents. (4 Replies)
Discussion started by: Hoju
4 Replies

3. Solaris

SunSolaris-v5.9: Default Security Settings

I am working on SunSolaris- v5.9 and am trying to obtain default security settings (including password settings). Although in the AIX environment, to obtain default setting the following commands are used: /etc/security/user /etc/security/limits /etc/security/environ... (1 Reply)
Discussion started by: eysheikah
1 Replies

4. UNIX Desktop Questions & Answers

list the password settings for all the users

Hi!! How can I list the password settings for all the users?? Best regards (3 Replies)
Discussion started by: irasela
3 Replies

5. UNIX for Advanced & Expert Users

Password settings

Good afternoon/afternoon/evening, I have a solaris 8 machine that if I lock the machine and return I can just press enter and it will log back in, this happens with all users on just this machine. Is there a config file or command to put the password in place? regards will (4 Replies)
Discussion started by: Mr Pink
4 Replies

6. UNIX for Dummies Questions & Answers

I.T. auditor needs help with UNIX password settings

Hi, I'm an I.T. auditor and have to validate the password rules/settings (complexity rules, minimum password length, special characters, etc.)within UNIX for a client. In MS AD, i simply ask for a screen shot of the password settings. How can i do this in UNIX? help much appreciated. Also, how can... (1 Reply)
Discussion started by: gosmartyjones
1 Replies

7. AIX

global password settings

Hello, we are making password setting changes effective for all users on an AIX 5.2 system. Specifically requiring users to use at least one special character in their password. Is there a way to make this change effective for all users in one place, ie the /etc/security/users file? I made the... (4 Replies)
Discussion started by: zuessh
4 Replies

8. Shell Programming and Scripting

Write a shell script security policy settings for linux

The pro help! Write a shell script setup for linux security policies include: 1. login (username and password login). 2. add, delete your username and password. 3. firewall. Note: Write a shell script file as follows: If login successful then Step 2. If step 2 succeeds (ie add,... (1 Reply)
Discussion started by: ngovuongbinhtay
1 Replies

9. AIX

Setting up Password Security in AIX 5.3

In AIX 5.3 tech level 11: I want to setup a default password policy to have at least one of each of the following: alpha character, numeric character, and "special" character ("!", "&", etc). The smitty Security and Users --> Passwords --> System Password Policy screen only offers "MIN... (2 Replies)
Discussion started by: kikwit_phil
2 Replies

10. SuSE

Suse Security Settings

1) PermitEmptyPasswords is set to No # grep "^PermitEmptyPasswords" /etc/ssh/sshd_config PermitEmptyPasswords no If there is no output does it implies 'As parameter was not set mean system will also not accepted emptypassword.' 2) Users is not allowed to set... (2 Replies)
Discussion started by: alvinoo
2 Replies
yppasswd(1yp)															     yppasswd(1yp)

Name
       yppasswd - change password in yellow pages (YP) service.

Syntax
       yppasswd [ name ]

Description
       The  command lets you change your password in the yellow pages (YP) map, a network data base service.  Only you or the superuser can change
       your YP password.

       When you enter the command, the program prompts you for the old password and then for the new password. Note that  the  passwords  are  not
       displayed on the screen.

       Next,  the  program asks you for the new password again, to verify that you have typed it correctly.  If you do not type the passwords cor-
       rectly, you will receive an error message after you enter the new password.

       Your new YP password must meet one of the following requirements:

	  o It must be a combination of at least six alphanumeric characters, or

	  o It must be a minimum of four characters, with at least one being non-alphanumeric, such as a control sequence.
       The command does not change the YP password.  This command only changes the local password file and not the YP master password  file.   See
       Chapter 3 of the Guide to the Yellow Pages Service for further information.

Diagnostics
       Please use a longer password
       Your new password does not meet the minimum length requirement.

       Mismatch- password unchanged
       You misspelled your new password or its verification.

       couldn't change passwd
       Your new password can not be activated. It must be different from your old password and your login name.

Files
       Password file

       Yellow Pages directory

See Also
       passwd(1), passwd(5yp), ypfiles(5yp), yppasswdd(8yp)
       Guide to the Yellow Pages Service

																     yppasswd(1yp)
All times are GMT -4. The time now is 06:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy