Question 1
Link to questionAnya, a system administrator for a small startup running Red Hat Enterprise Linux, is tasked with managing user access. The company\'s product roadmap has just undergone a significant pivot, requiring several temporary development team members to have elevated access to specific project directories for a critical, short-term phase. Simultaneously, the company has announced a temporary hiring freeze, meaning Anya has fewer resources to dedicate to complex scripting or custom policy development for this period. She needs to ensure that these temporary users have the necessary permissions while maintaining overall system security and minimizing the risk of unauthorized access once their task is complete.
Which of the following strategies best reflects Anya\'s need to adapt to changing priorities and resource limitations while ensuring effective and secure user access management in this dynamic environment?
Temporarily modify group memberships for the affected users to include access to the required project directories, and then revert these changes once the project phase is completed, utilizing `sudo` for specific, limited administrative tasks where direct group membership is not feasible or overly broad.
Create entirely new, highly specific user groups for each project directory and assign individual users to these groups, documenting each assignment meticulously for later removal, and implement custom PAM modules for granular access control.
Grant broad `sudo` privileges to all temporary users for all administrative commands, allowing them to manage their own access to project directories as needed, and rely on periodic manual audits to identify any misuse.
Remove all existing user accounts and re-provision them with minimal permissions, then individually grant access to project directories using `setfacl` for each user and directory, and develop a comprehensive shell script for automated cleanup.
Show answer and explanation
Correct answer
Temporarily modify group memberships for the affected users to include access to the required project directories, and then revert these changes once the project phase is completed, utilizing `sudo` for specific, limited administrative tasks where direct group membership is not feasible or overly broad.
The scenario describes a situation where a system administrator, Anya, needs to adjust her approach to managing user accounts and permissions on a Red Hat Enterprise Linux system due to a sudden shift in project requirements and a reduction in available resources. The core of the problem lies in maintaining security and operational efficiency while adapting to these constraints.
Anya\'s initial strategy likely involved a standard role-based access control (RBAC) implementation, perhaps using groups and specific file permissions. However, the changing priorities might necessitate a more granular approach to permissions, or even a temporary relaxation of certain restrictions for specific tasks, which needs to be carefully managed. The reduction in resources means that complex scripting for automated user provisioning or extensive auditing might be less feasible, requiring a focus on efficient, manual adjustments or simpler automation.
The key behavioral competency being tested here is **Adaptability and Flexibility**. Anya must demonstrate her ability to adjust her strategies when faced with changing priorities and reduced resources. This involves pivoting her approach to user management, potentially re-evaluating the necessity of certain permissions, and finding efficient ways to implement changes without compromising security or system stability. She needs to maintain effectiveness during this transition, perhaps by prioritizing critical access needs and temporarily deferring less urgent ones.
Other relevant competencies, though not the primary focus of the question, include: * **Problem-Solving Abilities**: Anya will need to analyze the new requirements and resource limitations to devise a practical solution for user access. * **Priority Management**: She must effectively prioritize which user accounts and permissions need immediate attention given the new constraints. * **Technical Skills Proficiency**: Her understanding of Red Hat Enterprise Linux user and group management tools (like `useradd`, `usermod`, `groupadd`, `chown`, `chmod`, `sudo`) will be crucial. * **Communication Skills**: She may need to communicate the changes or potential impacts to stakeholders or users.
Considering the scenario, the most appropriate response for Anya is to leverage existing system tools in a flexible manner that addresses the immediate needs without introducing significant new complexities or requiring extensive new development, given the resource constraints. This often involves re-evaluating group memberships and utilizing `sudo` for specific, time-bound elevated privileges where absolutely necessary, rather than creating entirely new complex access control lists or custom scripts under pressure.
