LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Enhanceing login authentication + changing umask of local user to root (https://www.linuxquestions.org/questions/red-hat-31/enhanceing-login-authentication-changing-umask-of-local-user-to-root-753775/)

josgeorge 09-09-2009 02:54 AM

Enhanceing login authentication + changing umask of local user to root
 
Hi ,


query 1
---------
I have to enhance my login passwd authentication

a. it must able to set passwd of length 8 digits only .below 8 digits
it wont allow to set passwd

b. i must be able to login only with useing a passwd compraising of mixture of numerical alphanumerical charaters according to my wish

how can i hence it my adding modules in pam or in other way


please guide me

query 2

i have one more query how can i change umask value of local user (normal user) to

that of root ie changing it to 022

Please suggest accordingly



Thanks in advance


Jos

GlennsPref 09-09-2009 04:46 AM

Hi, Welcome to LQ!

LQ has a fantastic search function that may save you time waiting for an answer to a popular question.

With over 3 million posts to search it's possible the answer has been given. :)

Typically GNU/Linux is secure by default.

Your proposed changes will negate this effort.

Why do you need root access all the time?

On my system, I use sudo and the wheel group to allow me to conduct admin. from my user account.

Regards Glenn

chrism01 09-10-2009 01:51 AM

You may want to read this: http://linux.die.net/man/8/pam_passwdqc


All times are GMT -5. The time now is 05:53 PM.