Which of the following commands brings a system running SysV init into a state in which it is safe to perform maintenance tasks? (Choose TWO correct answers.)
Which of the following commands brings a system running SysV init into a state in which it is safe to perform maintenance tasks? (Choose TWO correct answers.)
To safely perform maintenance tasks on a system running SysV init, it is necessary to bring the system into single-user mode. The commands 'init 1' and 'telinit 1' both change the system's runlevel to 1, which is the single-user mode. In this state, only the root user is logged in, and minimal services are running, making it safe for maintenance. Other options do not appropriately transition the system into this safe maintenance mode.
CD are correct It is safe to do maintenance operation in single user mode
C. init 1: This command changes the runlevel to 1, which is typically the single-user or maintenance mode. D. telinit 1: Similar to the init command, telinit 1 transitions the system to runlevel 1. Option A, shutdown -R 1 now, is not typically used to directly change the runlevel to maintenance mode. It's more commonly used for rebooting the system. Option B, shutdown -single now, is not a valid option for changing the runlevel to maintenance mode. The correct option for shutdown would be shutdown -r now to initiate a reboot