Daemons and runlevels Linux

Linux
In class they ask me this and we have not given it and also the notes are out of date using chkconfig for example, I can’t find a way to solve it.

  1. Make it impossible to use the printer in runlevel 2, for this you must ensure that its daemon (cups) does not run when entering that level.

  2. Make that for level # 5, the cron daemon will not run.

I need an explanation of this because I can’t access the level, I just get it to work as a service, thanks guys!!

Answer

chkconfig is now obsolete, it was probably for RHEL 5 or 6.

Most current distros now use Systemd (use the systemctl command), and the concept of runlevels have been superseded by Systemd targets.

I hope this gives you a hint in solving your homework.

Attribution
Source : Link , Question Author : Dani Suarez , Answer Author : Ricardo Quintero Salazar

Leave a Comment