Disable the unused finger service managed by xinetd.
Choose the setting inside the service block.
Which line is appropriate?
An xinetd service block uses disable = yes to prevent xinetd from offering that service. Reload the configuration afterward.
Detailed explanation
enabled = noIncorrect. enabled is not the standard xinetd service-block key.
Incorrect. enabled is not the standard xinetd service-block key.
start = falseIncorrect. start is not the xinetd disable directive.
Incorrect. start is not the xinetd disable directive.
active = offIncorrect. active is not the standard service-block setting.
Incorrect. active is not the standard service-block setting.
disable = yesCorrect. It disables the service in xinetd.
Correct. It disables the service in xinetd.
Try it yourself
An example you can run in a temporary verification environment.
printf '%s
' 'disable = yes'Expected result
disable = yesKey points
- Use the disable key
- yes disables the service
- Reload configuration
Notes
- Environment: xinetd設定構文の表示のみ
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.