On Tue, Oct 12, 2021 at 07:05:31PM +0200, Pierre Frenkiel wrote: > hi, > I found today that my runlevel is set to 5, but I have no idea where it > comes from. > in /etc/inittab, it is set to 2, but I saw that this file is no more used. > So, can anybody tell where it is set?
What version of Debian are you running? (cat /etc/debian_version) What init system are you using? (ls -l /sbin/init) If you're using systemd, be aware that the /etc/inittab file is not used. It's used by sysvinit.