Unit 2: Permissions, Processes, Services, SSH, and Logs - Subjective Questions

CSE493 — Linux System Administration • Practice Questions with Detailed Answers

20 questions

1

Explain the Linux file system permission model. Describe how permissions are assigned to the owner, group, and others.

2

Describe how to interpret the long listing output of the ls -l command, with special reference to file type and permissions.

3

Compare symbolic and octal methods of changing permissions with chmod. Illustrate both methods with suitable examples.

4

Explain how file ownership and group ownership are managed using chown, chgrp, and related options.

5

Explain the purpose and operation of the set-user-ID, set-group-ID, and sticky-bit special permissions.

6

What is umask? Explain how it determines the default permissions of newly created files and directories.

7

Describe how POSIX Access Control Lists provide more flexible file access than traditional Linux permissions. Explain the use of getfacl and setfacl.

8

Define a Linux process and explain process IDs, parent-child relationships, process states, and process priorities.

9

Explain Linux job control. Describe how foreground and background jobs are managed using jobs, bg, fg, Ctrl+Z, &, and nohup.

10

Explain how Linux processes are terminated using kill, pkill, and killall. Compare SIGTERM, SIGKILL, SIGHUP, and SIGINT.

11

Describe the tools and procedure used to monitor Linux process activity and investigate high CPU or memory usage.

12

Explain how systemd identifies and starts system processes automatically during boot. Include units, targets, dependencies, and enablement.

13

Describe how to control system services using systemctl. Distinguish among starting, stopping, restarting, reloading, enabling, disabling, and masking a service.

14

Explain how a user accesses a remote Linux command line with SSH. Include host verification, user selection, ports, and secure file transfer.

15

Describe the complete procedure for configuring SSH key-based authentication. Explain the roles of the private key, public key, and authorized_keys file.

16

Discuss how the OpenSSH server can be customized and secured through sshd_config. Describe important directives and a safe configuration procedure.

17

Explain the Linux system log architecture. Compare the roles of systemd-journald, syslog services such as rsyslog, applications, and log files.

18

Describe how traditional syslog files are reviewed and maintained. Explain facilities, priorities, filtering, rotation, and remote logging.

19

Explain how to review and filter systemd journal entries using journalctl. Provide examples based on service, boot, time, priority, and follow mode.

20

How is the systemd journal made persistent across reboots? Explain storage modes, directory requirements, size management, and verification.