Courseiva
Knowledge + Practice
CertificationsVendorsCareer RoadmapsLabs & ToolsStudy GuidesGlossaryPractice Questions
C
Courseiva

Free IT certification practice questions with explained answers for CCNA, CompTIA, AWS, Azure, Google Cloud, and more.

Certification Practice Questions

CCNA practice questionsSecurity+ SY0-701 practice questionsAWS SAA-C03 practice questionsAZ-104 practice questionsAZ-900 practice questionsCLF-C02 practice questionsA+ Core 1 practice questionsGoogle Cloud ACE practice questionsCySA+ CS0-003 practice questionsNetwork+ N10-009 practice questions
View all certifications →

Product

CertificationsCertification PathsExam TopicsPractice TestsExam Dumps vs Practice TestsStudy HubComparisons

Company

AboutContactEditorial PolicyQuestion Writing PolicyTrust Center

Legal

Privacy PolicyTerms of Service

Courseiva is a free IT certification practice platform offering original exam-style practice questions, detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics for Cisco, CompTIA, Microsoft, AWS, and other technology certifications.

© 2026 Courseiva. Courseiva is operated by JTNetSolutions Ltd. All rights reserved.

Courseiva is an independent certification practice platform and is not affiliated with, endorsed by, or sponsored by Cisco, Microsoft, AWS, CompTIA, Google, ISC2, ISACA, or any other certification vendor. Vendor names and certification marks are used only to identify the exams learners are preparing for.

← User and Group Management practice sets

LFCS User and Group Management • Complete Question Bank

LFCS User and Group Management — All Questions With Answers

Complete LFCS User and Group Management question bank — all 0 questions with answers and detailed explanations.

88
Questions
Free
No signup
Certifications/LFCS/Practice Test/User and Group Management/All Questions
Question 1mediummultiple choice
Read the full User and Group Management explanation →

A developer was removed from the 'developers' group but still needs to run commands that require membership in that group. The user has logged out and back in, but the issue persists. What is the most likely cause?

Question 2easymultiple choice
Read the full User and Group Management explanation →

A system administrator needs to create a user 'john' with a home directory in /data/users and an expiry date of 2025-12-31. Which command accomplishes this?

Question 3hardmultiple choice
Read the full User and Group Management explanation →

An administrator needs to set up a shared directory /project for the group 'projectteam' (GID 5000). All members of the group should be able to create and delete files, but only the file owner can modify their own files. The directory should also ensure that new files inherit the group ownership. Which set of commands achieves this?

Question 4easymultiple choice
Read the full User and Group Management explanation →

A user 'alice' is unable to log in via SSH. The administrator checks /etc/shadow and sees 'alice:!:19234:0:99999:7:::'. What does the '!' in the password field indicate?

Question 5hardmultiple choice
Read the full User and Group Management explanation →

An administrator wants to enforce that users in the 'contractors' group must change their password every 30 days, with a warning 7 days before expiry. Which command should be used?

Question 6mediummulti select
Read the full User and Group Management explanation →

Which TWO commands can be used to list all users currently logged into the system?

Question 7hardmulti select
Read the full User and Group Management explanation →

Which THREE files are directly related to user and group management in a Linux system? (Select three.)

Question 8hardmultiple choice
Read the full User and Group Management explanation →

You are the Linux administrator for a medium-sized company that uses a centralized authentication system (LDAP) for user accounts, but local files (/etc/passwd, /etc/shadow, /etc/group) are also used for a few service accounts. The server is running RHEL 8. A new employee, 'jane', needs to be added to the local system for a temporary project. You create the user with 'useradd jane' and set a password with 'passwd jane'. However, when jane tries to log in via SSH using her password, she receives 'Permission denied, please try again.' The SSH server is configured to allow password authentication. Other users (both LDAP and local) can log in successfully. You verify that the password was set correctly and that the account is not locked. What is the most likely cause and solution?

Question 9mediummultiple choice
Read the full User and Group Management explanation →

A system administrator needs to ensure that all users in the 'developers' group have read and write access to a shared project directory /project/data, but new files created in that directory should belong to the 'developers' group automatically. Which command sequence achieves this goal?

Question 10hardmultiple choice
Read the full User and Group Management explanation →

A user 'alice' cannot log in via SSH. The administrator checks /etc/passwd and sees: alice:x:1002:1002::/home/alice:/sbin/nologin. Which command should be used to allow alice to log in with a bash shell?

Question 11easymultiple choice
Read the full User and Group Management explanation →

An administrator wants to add user 'bob' to the supplementary group 'docker' without removing bob from any existing groups. Which command accomplishes this?

Question 12hardmultiple choice
Read the full User and Group Management explanation →

A security policy requires that user 'svc_backup' have a password that never expires. Additionally, the account should be locked after 90 days of inactivity. Which set of commands achieves this?

Question 13mediummulti select
Read the full User and Group Management explanation →

Which TWO commands can be used to display the groups to which the current user belongs? (Select exactly two.)

Question 14hardmultiple choice
Read the full User and Group Management explanation →

You are managing a multi-user Linux server used by a development team. The server has a shared directory /data/projects where each project has a subdirectory owned by a project lead. The requirement is that all members of the 'devteam' group need to be able to create files in any project subdirectory, but only the project lead (owner) should be able to delete files. Currently, members of devteam are unable to create files in /data/projects. You check permissions: /data/projects has drwxrwxr-x root:devteam. Each project subdirectory, e.g., /data/projects/proj1, has drwx------ lead1:devteam. The lead1 user is in devteam. What is the most likely reason that devteam members cannot create files in proj1, and what is the correct solution?

Question 15easymulti select
Read the full User and Group Management explanation →

An administrator needs to grant a user named 'john' the ability to switch to any other user without a password. Which TWO of the following steps are required to achieve this?

Question 16hardmultiple choice
Read the full User and Group Management explanation →

A user named 'charlie' has just been added to the 'devops' group. However, when 'charlie' runs 'sudo -l', no sudo entries are shown. What is the most likely cause?

Exhibit

Refer to the exhibit.

$ sudo cat /etc/group | grep devops
devops:x:3001:alice,bob
$ sudo cat /etc/sudoers.d/devops
%devops ALL=(ALL) /usr/bin/systemctl
$ ls -l /usr/bin/systemctl
-rwxr-xr-x 1 root root 100000 Jan  1 12:00 /usr/bin/systemctl
$ sudo -l -U alice
User alice may run the following commands on this host:
    (ALL) /usr/bin/systemctl
$ sudo -l -U bob
User bob may run the following commands on this host:
    (ALL) /usr/bin/systemctl
Question 17mediummultiple choice
Read the full User and Group Management explanation →

Scenario: You are managing a Linux server that hosts a web application. The application runs under the user 'webapp' and the group 'webgroup'. Recently, a new intern 'john' (username 'john') needs to be able to view and modify files in /var/www/html, which is owned by root:webgroup with permissions 775. John is currently a member of the group 'staff', but not 'webgroup'. The security policy requires that John must be able to edit files without using sudo, and his primary group must remain 'staff'. Which of the following actions should you take to meet the requirements?

Question 18mediumdrag order
Read the full User and Group Management explanation →

Arrange the steps to configure a new user account with sudo privileges on a Linux system.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5
Question 19mediumdrag order
Read the full User and Group Management explanation →

Order the steps to create a systemd service unit that runs a script at boot.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5
Question 20mediumdrag order
Read the full User and Group Management explanation →

Order the steps to set up passwordless SSH key-based authentication.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5
Question 21mediummatching
Read the full User and Group Management explanation →

Match each Linux boot component to its description.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Boot loader that loads the kernel

Initial RAM filesystem used before root is mounted

Init system and service manager

Core of the operating system

Program that loads the OS into memory

Question 22mediummatching
Read the full User and Group Management explanation →

Match each Linux filesystem hierarchy standard (FHS) directory to its purpose.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Host-specific configuration files

Variable data like logs and databases

Secondary hierarchy for user utilities

Virtual filesystem for process and kernel info

Temporary files

Question 23mediummatching
Read the full User and Group Management explanation →

Match each logical volume management (LVM) term to its definition.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

A disk or partition used by LVM

Pool of physical volumes

Virtual block device created from a volume group

Smallest allocatable unit in a physical volume

Maps to a physical extent in a logical volume

Question 24easymultiple choice
Read the full User and Group Management explanation →

A system administrator needs to create a user account for a temporary contractor. The account should have a home directory under /home/contractors, the login shell should be /bin/bash, and the user should be a member of the 'contractors' group. Which command accomplishes this?

Question 25mediummultiple choice
Read the full User and Group Management explanation →

A security policy requires that a user's password must expire 90 days after last change, and the user must change it immediately on next login. The last password change was 30 days ago. Which set of commands achieves this?

Question 26easymultiple choice
Read the full User and Group Management explanation →

An administrator needs to create a system user that runs a service (no login, no home directory). Which command is appropriate?

Question 27mediummultiple choice
Read the full User and Group Management explanation →

Existing user 'jdoe' is a member of groups 'users' (primary) and 'staff'. The administrator needs to add 'jdoe' to group 'projectx' while preserving existing supplementary group memberships. Which command achieves this?

Question 28easymultiple choice
Read the full User and Group Management explanation →

An administrator needs to delete user 'obsolete' and remove its home directory and mail spool. Which command should be used?

Question 29mediummultiple choice
Read the full User and Group Management explanation →

A company follows the principle of least privilege. Several developers need sudo access to run specific commands like systemctl and journalctl. What is the best practice for granting this access?

Question 30hardmultiple choice
Read the full User and Group Management explanation →

A user reports that they cannot log in via SSH. The system administrator checks that the account is not locked, the password is correct, and the shell is valid. However, the user's home directory is owned by root instead of the user. What is the most likely cause of the login failure?

Question 31hardmultiple choice
Read the full User and Group Management explanation →

A team of developers must share files under /opt/project. All developers are members of the 'devteam' group. New files must be automatically assigned to group 'devteam' and be writable by the group. Which umask and setgid configuration should be applied?

Question 32hardmultiple choice
Read the full User and Group Management explanation →

An administrator wants to temporarily disable a user account without deleting it. The account should be locked, expire immediately, and the user should not be able to log in. Which single command accomplishes this with minimum side effects?

Question 33mediummulti select
Read the full User and Group Management explanation →

Which TWO commands can change a user's primary group?

Question 34mediummulti select
Read the full User and Group Management explanation →

Which TWO options in /etc/shadow are correctly described?

Question 35hardmulti select
Read the full User and Group Management explanation →

Which THREE fields are part of a standard /etc/group entry?

Question 36easymultiple choice
Read the full User and Group Management explanation →

Refer to the exhibit. User 'alice' cannot log in. What is the most likely problem?

Exhibit

Refer to the exhibit:

$ cat /etc/passwd | grep alice
alice:x:1001:1001:Alice Smith:/home/alice:/bin/bash

$ ls -ld /home/alice
drwxr-x--- 2 root root 4096 Jan 10 10:00 /home/alice
Question 37mediummultiple choice
Read the full User and Group Management explanation →

Refer to the exhibit. User 'alice' is a member of groups 'users' and 'projectx'? She needs to be a member of 'staff' as well. Which of the following statements is true?

Exhibit

Refer to the exhibit:

$ cat /etc/group
users:x:100:alice,bob,charlie
staff:x:500:bob,charlie
projectx:x:600:alice

$ groups alice
alice : users
Question 38hardmultiple choice
Read the full User and Group Management explanation →

Refer to the exhibit. Assuming today is Feb 20, 2025, what happens when 'bob' attempts to log in today?

Exhibit

Refer to the exhibit:

$ chage -l bob
Last password change                                    : Jan 15, 2025
Password expires                                        : Apr 15, 2025
Password inactive                                       : never
Account expires                                         : Mar 01, 2025
Minimum number of days between password change          : 0
Maximum number of days between password change          : 90
Number of days of warning before password expires       : 7
Question 39easymultiple choice
Read the full User and Group Management explanation →

An administrator created a new user 'john' with the default settings, but 'john' cannot log in. The error message indicates an invalid shell. Which command should the administrator use to fix this issue?

Question 40mediummultiple choice
Read the full User and Group Management explanation →

A system administrator needs to create a new group named 'developers' with GID 1500 and add the user 'alice' to this group. Which set of commands accomplishes this?

Question 41hardmultiple choice
Read the full User and Group Management explanation →

A security policy requires that a user account 'temp_audit' be locked immediately without changing the password. Which command locks the account and prevents login?

Question 42easymultiple choice
Read the full User and Group Management explanation →

An administrator wants to force a user to change their password at next login. Which command should be used?

Question 43mediummultiple choice
Read the full User and Group Management explanation →

A large company needs to create 100 user accounts from a list of names in a CSV file. Which tool is most efficient for batch user creation?

Question 44hardmultiple choice
Read the full User and Group Management explanation →

A user reports that they cannot execute a file even though they are in the file's group. The file has permissions 644 and group ownership 'staff'. The user is a member of 'staff'. What is the likely issue?

Question 45easymultiple choice
Read the full User and Group Management explanation →

An administrator needs to grant a user 'bob' the ability to run all commands as root without a password prompt. Which configuration in /etc/sudoers accomplishes this?

Question 46mediummultiple choice
Read the full User and Group Management explanation →

A temporary contractor 'contractor1' has left the company. The administrator needs to remove the user account and all associated files in the home directory. Which command accomplishes this?

Question 47mediummultiple choice
Read the full User and Group Management explanation →

An administrator needs to view a list of users who have logged in recently. Which command provides this information?

Question 48easymulti select
Read the full User and Group Management explanation →

Which two commands can be used to set password expiration policies for a user?

Question 49mediummulti select
Read the full User and Group Management explanation →

Which three files contain user account information?

Question 50hardmulti select
Read the full User and Group Management explanation →

Which two commands can add an existing user to a supplementary group?

Question 51hardmultiple choice
Read the full User and Group Management explanation →

Refer to the exhibit. What is the most likely security issue with this configuration?

Exhibit

Refer to the exhibit.
# cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
admin:x:0:0:System Administrator:/home/admin:/bin/bash
user1:x:1001:1001:User One:/home/user1:/bin/bash
Question 52mediummultiple choice
Read the full User and Group Management explanation →

Refer to the exhibit. The 'developers' group has members alice, bob, and charlie. User 'charlie' is not in the 'developers' group. Which statement is true?

Exhibit

Refer to the exhibit.
# ls -ld /shared
 drwxrws--- 3 root developers 4096 Apr 10 10:00 /shared
# ls -l /shared
 drwxrws--- 2 alice developers 4096 Apr 10 10:00 project
 -rw-rw---- 1 bob   developers 1024 Apr 10 10:05 file.txt
Question 53easymultiple choice
Read the full User and Group Management explanation →

Refer to the exhibit. The administrator attempted to create a user 'newuser' but received an error. Which command should be used to check if the user already exists?

Exhibit

Refer to the exhibit.
# useradd -u 1005 -G wheel,dbadmin -m -k /etc/skel newuser
useradd: user 'newuser' already exists
#
Question 54easymultiple choice
Read the full User and Group Management explanation →

A junior administrator issued the command 'usermod -L alice' to lock the account of user alice. However, alice is still able to log in via SSH using a public key. What is the most likely reason?

Question 55mediummultiple choice
Read the full User and Group Management explanation →

A system administrator needs to create a shared group 'projectx' and add existing users 'bob' and 'carol' to it. The users need to collaborate on files in a directory /projectx. What is the correct sequence of commands to set up the group and ensure new files created in /projectx are automatically owned by the group 'projectx'?

Question 56hardmultiple choice
Read the full User and Group Management explanation →

A security policy requires that all users in the 'admin' group must have a umask of 027 set automatically upon login. An administrator adds 'umask 027' to /etc/profile. However, users report that the umask is still 022. What is a likely cause?

Question 57easymultiple choice
Read the full User and Group Management explanation →

An administrator wants to change the primary group of user 'jane' from 'staff' to 'developers'. Which command accomplishes this?

Question 58mediummultiple choice
Read the full User and Group Management explanation →

A user's account needs to be set to expire on a specific date. Which command should the administrator use?

Question 59hardmultiple choice
Read the full User and Group Management explanation →

An administrator runs 'pwck' and receives an error indicating a user in /etc/passwd has no matching group in /etc/group. What is the most likely cause and the appropriate corrective action?

Question 60easymultiple choice
Read the full User and Group Management explanation →

Which command will display all groups a specific user belongs to, including both primary and supplementary groups?

Question 61mediummultiple choice
Read the full User and Group Management explanation →

An administrator needs to create a user 'john' with a home directory in /data/home/john, a UID of 1500, and membership in the group 'developers' as a secondary group. The group 'developers' already exists. Which single command accomplishes this?

Question 62hardmultiple choice
Read the full User and Group Management explanation →

A user 'alice' has a umask of 027 in her .bashrc, but the system administrator wants to enforce a umask of 007 for all users in the 'staff' group. Where should the administrator place the umask command to ensure it cannot be overridden by users?

Question 63mediummulti select
Read the full User and Group Management explanation →

Which TWO commands can be used to display the group membership of a user? (Choose two.)

Question 64hardmulti select
Read the full User and Group Management explanation →

Which THREE of the following are valid methods to temporarily switch to a different user account without logging out entirely? (Choose three.)

Question 65easymulti select
Read the full User and Group Management explanation →

Which TWO commands are used to modify user account attributes such as password age, expiration, or lock status? (Choose two.)

Question 66mediummultiple choice
Read the full User and Group Management explanation →

Refer to the exhibit. An administrator adds user 'frank' to the group 'projectx' by editing /etc/group directly and changing the line to 'projectx:x:500:carol,dave,frank'. After saving, the administrator runs 'groups frank' and sees only 'frank' in the output. Why does frank not appear in the group 'projectx'?

Network Topology
exhibit_textBEGIN OSTYPE Linux /etc/groupENDstaff:x:100:alice,bobprojectx:x:500:carol,daveadmin:x:900:eve
Question 67hardmultiple choice
Read the full User and Group Management explanation →

Refer to the exhibit. The shadow entry for user 'carol' shows 18000 in the third field. What does the value 18000 represent?

Network Topology
exhibit_textBEGIN /etc/shadow snippetENDcarol:$6$abc123$def...:18000:0:99999:7:::
Question 68easymultiple choice
Read the full User and Group Management explanation →

Refer to the exhibit. What is the primary group ID of user 'charlie'?

Network Topology
exhibit_textBEGIN /etc/passwd lineENDcharlie:x:1005:1005:Charlie Brown:/home/charlie:/bin/bash
Question 69mediummultiple choice
Read the full User and Group Management explanation →

A system administrator needs to add a new user 'alice' with UID 1050 and a home directory at /home/alice. Which command should be used?

Question 70hardmultiple choice
Read the full User and Group Management explanation →

After attempting to log in as user 'alice', the system rejects the password. The admin checks /etc/passwd and sees 'alice:x:1001:1001::/home/alice:/bin/bash'. The /etc/shadow shows 'alice:!!:18200:0:99999:7:::', indicating the account is locked. Which command will unlock the account?

Question 71easymultiple choice
Read the full User and Group Management explanation →

Which command adds an existing user to a supplementary group without removing the user from other groups?

Question 72mediummultiple choice
Read the full User and Group Management explanation →

A user must change their password at next login per security policy. The admin wants to expire the password immediately. Which command accomplishes this?

Question 73hardmultiple choice
Read the full User and Group Management explanation →

After deleting user 'alice', the system administrator wants to also remove the home directory and mail spool. Which command should be used?

Question 74easymultiple choice
Read the full User and Group Management explanation →

Which file stores the encrypted password (or password hash) for user accounts?

Question 75mediummultiple choice
Read the full User and Group Management explanation →

An admin needs to change the primary group of user 'alice' from 'grp1' to 'grp2', but alice should still be a member of 'grp1' as a supplementary group. Which command accomplishes this?

Question 76hardmultiple choice
Read the full User and Group Management explanation →

After running 'chage -l bob', the output shows: 'Last password change: Apr 01, 2023', 'Password expires: May 31, 2023', 'Account expires: Jul 15, 2023'. What will happen on May 31, 2023?

Question 77mediummulti select
Read the full User and Group Management explanation →

Which TWO commands will correctly add the user 'john' to the 'docker' group without removing him from any existing supplementary groups?

Question 78easymulti select
Read the full User and Group Management explanation →

Which THREE of the following actions require root privileges?

Question 79hardmulti select
Read the full User and Group Management explanation →

Which THREE of the following statements about the user private group (UPG) scheme are true?

Question 80hardmultiple choice
Read the full User and Group Management explanation →

You are a systems administrator at a company that uses a centralized LDAP server for authentication, but also maintains local users for emergency access. Recently, the compliance team mandated that all service accounts must have passwords that expire every 90 days. You have a local service account 'svc_backup' with UID 2000 and GID 2000. The account is used by a backup script that runs nightly. You have updated the password aging policy but the account still shows 'Password expires : never' when you run 'chage -l svc_backup'. You suspect that the account was created without an expiry date. Which command would you use to force the password to expire 90 days from now and also ensure that the account's password is changed at the next login?

Question 81mediummultiple choice
Read the full User and Group Management explanation →

You are managing a Linux server that hosts web applications. Developers often need to access the server via SSH using their personal accounts. You have been asked to create a new user 'devops' who will have sudo privileges to restart services. The user 'devops' should be a member of the 'sudo' group and also have a secondary group 'devs' for file access. The user's home directory should be /home/devops. You need to create this user with a password that is set to expire immediately so that the user must choose a new password upon first login. Which command would you use to accomplish this?

Question 82mediummultiple choice
Read the full User and Group Management explanation →

You are a system administrator for a financial firm. One of your users, 'alice', has forgotten her password and is locked out of the system. The security policy requires that all passwords must be changed every 30 days. Alice's account was disabled due to inactivity; the account has been inactive for 45 days. You need to unlock the account and ensure that Alice must change her password at the next login. You have root access. Which set of commands should you run?

Question 83hardmultiple choice
Read the full User and Group Management explanation →

Your company has a server that hosts a critical application. The application runs under a service account 'appuser'. Due to a security audit, it was discovered that 'appuser' has a password that never expires, which is against company policy. The policy requires that all user passwords expire after 60 days. Additionally, the application developers have requested that 'appuser' should not be allowed to change its own password via the 'passwd' command to prevent accidental lockouts. You need to enforce password expiry for 'appuser' but also ensure that only root can change its password. Which of the following approaches is the best course of action?

Question 84mediummultiple choice
Read the full User and Group Management explanation →

You are managing a Linux server that hosts a shared project directory /projects/alpha, owned by the group 'alpha' (GID 2001). The directory has permissions 2770 (setgid, rwx for owner and group, no access for others). User 'jane' (UID 1501) has a primary group 'staff' (GID 1001) and is not in the 'alpha' group. She reports being unable to list or modify files in /projects/alpha. You need to give her access as a member of the 'alpha' group without changing her primary group. Which command sequence should you use?

Question 85hardmultiple choice
Read the full User and Group Management explanation →

You are a system administrator for a company with a strict security policy: user accounts must be disabled after 90 days of inactivity. The tool used is the chage command with the -I (inactive) option. User 'bob' has been on leave and cannot log in. You run 'chage -l bob' and see: Last password change: Jan 10, 2024; Password expires: Apr 09, 2024; Account expires: never; Minimum number of days between password change: 0; Maximum number of days between password change: 90; Number of days of warning before password expires: 7; Number of days of inactivity after password expires: 90. Bob tells you he tried to log in today (date is July 15, 2024) and received 'Your account has expired; contact your system administrator'. You need to restore Bob's account access immediately while still enforcing the inactivity lock for future periods. What should you do?

Question 86hardmultiple choice
Read the full User and Group Management explanation →

A sysadmin set up a shared directory /data/project with group ownership project and permissions 2775 (rwxrwsr-x). Users in the project group can create files, but when they try to edit files created by other group members, they get permission denied. Which is the most likely cause?

Question 87mediummulti select
Read the full User and Group Management explanation →

A Linux administrator wants to restrict user 'alice' to only be able to use the system for non-interactive tasks (e.g., running cron jobs and receiving mail) but not allow her to log in via SSH or console. Which TWO actions would achieve this goal? (Choose two.)

Question 88easymultiple choice
Read the full User and Group Management explanation →

Refer to the exhibit. User alice attempts to create a file in /data/project but receives 'Permission denied'. User bob can create files successfully. What is the most likely reason?

Exhibit

Refer to the exhibit.
```
$ groups alice
alice : alice project
$ id bob
uid=1002(bob) gid=1002(bob) groups=1002(bob),1003(project)
$ ls -ld /data/project
drwxrws--- 2 root project 4096 Apr 12 10:00 /data/project
```

Practice tests

Scored 10-question sessions with instant feedback and explanations.

LFCS Practice Test 1 — 10 Questions→LFCS Practice Test 2 — 10 Questions→LFCS Practice Test 3 — 10 Questions→LFCS Practice Test 4 — 10 Questions→LFCS Practice Test 5 — 10 Questions→LFCS Practice Exam 1 — 20 Questions→LFCS Practice Exam 2 — 20 Questions→LFCS Practice Exam 3 — 20 Questions→LFCS Practice Exam 4 — 20 Questions→Free LFCS Practice Test 1 — 30 Questions→Free LFCS Practice Test 2 — 30 Questions→Free LFCS Practice Test 3 — 30 Questions→LFCS Practice Questions 1 — 50 Questions→LFCS Practice Questions 2 — 50 Questions→LFCS Exam Simulation 1 — 100 Questions→

Practice by domain

Each domain maps to a weighted exam section. Focus on the domain where you are weakest.

User and Group ManagementOperation of Running SystemsEssential CommandsNetworkingService ConfigurationStorage Management

Practice by scenario

Filter questions by type — troubleshooting, exhibit, drag-and-drop, PBQ, ACLs, OSPF, and more.

Browse scenarios→

Continue studying

All User and Group Management setsAll User and Group Management questionsLFCS Practice Hub