Are there scripts or best practices to cleanup home directories of users that do no longer exist?
Issue
- Are there scripts or best practices to cleanup home directories of users that do no longer exist?
- We have a central user management, users log onto multiple systems. On first login home directories get created, is there something to have homedirectories removed if users do no longer exist?
- We use
oddjob_mkhomedirorpam_mkhomedirto create user directories, how to remove them?
Environment
- Red Hat Enterprise Linux (RHEL)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
