A freshly installed Linux server under systemd always presents a graphical login prompt, but the operations team requires a console login on each startup. Which command best configures the system so future boots provide the console login?
The systemctl set-default multi-user.target command updates the default target, adjusting the /etc/systemd/system/default.target symlink to point to multi-user.target, which provides a text-based login. Using systemctl isolate only switches targets for the current session and doesn’t persist across reboots. Creating a symlink to getty.target instead of the default target is incorrect since default.target controls the boot target. Editing /etc/inittab has no effect under systemd.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is systemd and what is its role in Linux?
Open an interactive chat with Bash
What does the multi-user.target do?
Open an interactive chat with Bash
What is the purpose of systemctl commands like set-default and isolate?