• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 753
  • Last Modified:

OpenSuse: Can you enforce minimum password length on Root

I can enforce minimum password on users usgin pam common-password file but not on root. Can we enforce the same rules on root or is there any other way to accomplish that?

-Thanks

-AbdellahT
0
AbdellahT
Asked:
AbdellahT
2 Solutions
 
owensleftfootCommented:
pam only enforces the policy on non-root users
0
 
macker-Commented:
root is assumed to know what they're doing, and if they want to make an insecure decision, they're allowed to do so.

There are some tools to limit what root can do, e.g. SELinux, so that even if a system is root compromised, they can only do so much... but if someone gets root, their changing the password is irrelevant.

Only give root access to people you can rely on to follow a policy of strong passwords, and use sudo.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now