setting of default PASSLENGTH


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers setting of default PASSLENGTH
# 1  
Old 10-07-2001
setting of default PASSLENGTH

What is the command to set default PASSLENGTH and the MAXWEEKS for all the passwords. I don't want to edit the /etc/default/passwd file either. And I am using Linux RedHat7.1 system.
If anyone knows, please help me out here.
Regards.
-Iftikhar
# 2  
Old 10-07-2001
In a file called /etc/login.defs you will find
a section...

# Password aging controls:
#
# PASS_MAX_DAYS Maximum number of days a password may be used.
# PASS_MIN_DAYS Minimum number of days allowed between password changes.
# PASS_MIN_LEN Minimum acceptable password length.
# PASS_WARN_AGE Number of days warning given before a password expires.
#

...here you will see the actual variables and
their settings. Change them here.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Is there a difference between setting a user as nologin and setting it as a role?

Trying to figure out the best method of security for oracle user accounts. In Solaris 10 they are set as regular users but have nologin set forcing the dev's to login as themselves and then su to the oracle users. In Solaris11 we have the option of making it a role because RBAC is enabled but... (1 Reply)
Discussion started by: os2mac
1 Replies

2. UNIX for Dummies Questions & Answers

Is there any $PATH default setting?

This is a very newbie's question: I was trying to add a new version of the same command "blastn", but the old command always shows up first. which blastn /usr/local/bin/blastnThe two versions of the same command "blastn" are located in: which -a blastn /usr/local/bin/blastn... (5 Replies)
Discussion started by: yifangt
5 Replies

3. Solaris

default password setting

Can anyone kindly explain to me the meaning of the default values of the code below please? Thank you very much #MINDIFF=3 #MINALPHA=2 #MINNONALPHA=1 #MINUPPER=0 #MINLOWER=0 #MAXREPEATS=0 #MINSPECIAL=0 #MINDIGIT=0 #WHITESPACE=YES (1 Reply)
Discussion started by: cjashu
1 Replies

4. AIX

default umask setting during ftp

Hi all, How do i change the default primary group of files uploaded in AIX (via ftp) in such a way that the files will be owned by tom:staff? I understand that the default file permission can be set in /etc/profile for aix by adding a new line umask=032 Do I add a line in umask as well?... (5 Replies)
Discussion started by: chipahoys
5 Replies

5. AIX

setting default PP size

Does anyone know how to set PP (Physical Partition) size on rootvg when installing AIX OS from scratch (via CD or NIM installation)? (7 Replies)
Discussion started by: pdtak
7 Replies

6. Linux

grub: setting a default OS?

I have a dual-boot system (just testing it out, really -- 32-bit Xubuntu 8.10 and 64-bit Ubuntu 9.04) and I'd like to set the computer to boot to the second OS unless I tell it otherwise. Is there a way to do that? (2 Replies)
Discussion started by: CRGreathouse
2 Replies

7. UNIX for Advanced & Expert Users

Setting the default shell without using chsh

I have tcsh being set as the default shell.I would like to change to ksh. But i dont have "chsh" on my solaris box.so i added the following code to my ~/.login file if ( -f /usr/bin/ksh) then setenv SHELL /usr/bin/ksh exec /usr/bin/ksh endif But this helps me to get the ksh,i doesnot... (10 Replies)
Discussion started by: ennstate
10 Replies

8. Linux

setting up default page in webppliance

hi frnds i have created a web page name www.my.com i just want to configure a default page where whenever i give some wrong link name that defualt page should be open e:g www.myco.com/x.html (here x.html is not present i have typed it incidentally) so this... (0 Replies)
Discussion started by: naik_mit
0 Replies

9. UNIX for Dummies Questions & Answers

PASSLENGTH on Irix

My first post here, and hopefully it will be one of many to come. I am currently running multiple SGI's with different versions of Irix. I have a problem setting the minimum password length for users. I have modified the /etc/default/passwd so that PASSLENGTH = 8 However, it still... (1 Reply)
Discussion started by: herrmag
1 Replies

10. UNIX for Dummies Questions & Answers

Setting Default Permissions for Files

Hi, I am setting up an area on a unix server where multiple people will be editing web pages. Can anyone tell me how to set it up the directory and subdirectories so that when a user creates a new file, it defaults to permissions of 664 or 775? I've tried using umask but from what I can... (1 Reply)
Discussion started by: robbieg
1 Replies
Login or Register to Ask a Question