This is a discussion on telinit 1 within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hello i noticed something if i telinit 1, go into single user mode. I'm not truelly in single user ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello i noticed something if i telinit 1, go into single user mode. I'm not truelly in single user mode i can login using various accounts on all 3 of my virtual consoles, the other 2 vc's tty2 tty3 don't get locked down. It's weird this didn't happen in slackware 10 IIRC I haven't made any changes to rc.K # These are the default runlevels in Slackware: # 0 = halt # 1 = single user mode # 2 = unused (but configured the same as runlevel 3) # 3 = multiuser mode (default Slackware runlevel) # 4 = X11 with KDM/GDM/XDM (session managers) # 5 = unused (but configured the same as runlevel 3) # 6 = reboot # Default runlevel. (Do not set to 0 or 6) id:3:initdefault: # System initialization (runs when system boots). si:S:sysinit:/etc/rc.d/rc.S # Script to run when going single user (runlevel 1). su:1S:wait:/etc/rc.d/rc.K # Script to run when going multi user. rc:2345:wait:/etc/rc.d/rc.M Any suggestions on how to resolve this: Many thx in advance, greetings Kevin |
| |||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 In alt.os.linux.slackware, goarilla dared to utter, > Hello i noticed something if i telinit 1, go into single user mode. > I'm not truelly in single user mode i can login using various accounts on > all 3 of my virtual consoles, the other 2 vc's tty2 tty3 don't get locked > down. This is perfectly normal. > It's weird this didn't happen in slackware 10 IIRC Actually, this has been the default for Slackware for as long as I can remember. > Any suggestions on how to resolve this: Don't bother. There's nothing wrong. However, if you are concerned about it, the magic is in these lines: # These are the standard console login getties in multiuser mode: c1:1235:respawn:/sbin/agetty 38400 tty1 linux c2:1235:respawn:/sbin/agetty 38400 tty2 linux c3:1235:respawn:/sbin/agetty 38400 tty3 linux c4:1235:respawn:/sbin/agetty 38400 tty4 linux c5:1235:respawn:/sbin/agetty 38400 tty5 linux c6:12345:respawn:/sbin/agetty 38400 tty6 linux ^ In all of those tty's, run-level "1" is specified to have them active. If you remove the "1" from a line, that tty won't be active for run-level "1". Note how only tty6 is available for run-level "4" by default. # Runlevel 4 used to be for an X window only system, until we discovered # that it throws init into a loop that keeps your load avg at least 1 all # the time. Thus, there is now one getty opened on tty6. Hopefully no one # will notice. ;^) - -- It is better to hear the rebuke of the wise, Than for a man to hear the song of fools. Ecclesiastes 7:5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.7 (GNU/Linux) iD8DBQFD2VCpz8zcalmVmBkRAlOqAJ49P/JPU3mHouG4R+tPN3RiLptIngCeKGgy tNBXG+bDX6zsjt6RlylU3tg= =p0A7 -----END PGP SIGNATURE----- |
| ||||
| On Thu, 26 Jan 2006 16:43:11 -0600, +Alan Hicks+ wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > In alt.os.linux.slackware, goarilla dared to utter, >> Hello i noticed something if i telinit 1, go into single user mode. >> I'm not truelly in single user mode i can login using various accounts on >> all 3 of my virtual consoles, the other 2 vc's tty2 tty3 don't get locked >> down. > > This is perfectly normal. > >> It's weird this didn't happen in slackware 10 IIRC > > Actually, this has been the default for Slackware for as long as I can > remember. > >> Any suggestions on how to resolve this: > > Don't bother. There's nothing wrong. However, if you are concerned > about it, the magic is in these lines: > > # These are the standard console login getties in multiuser mode: > c1:1235:respawn:/sbin/agetty 38400 tty1 linux > c2:1235:respawn:/sbin/agetty 38400 tty2 linux > c3:1235:respawn:/sbin/agetty 38400 tty3 linux > c4:1235:respawn:/sbin/agetty 38400 tty4 linux > c5:1235:respawn:/sbin/agetty 38400 tty5 linux > c6:12345:respawn:/sbin/agetty 38400 tty6 linux > ^ > > In all of those tty's, run-level "1" is specified to have them active. > If you remove the "1" from a line, that tty won't be active for > run-level "1". Note how only tty6 is available for run-level "4" by > default. > > # Runlevel 4 used to be for an X window only system, until we discovered > # that it throws init into a loop that keeps your load avg at least 1 all > # the time. Thus, there is now one getty opened on tty6. Hopefully no one > # will notice. ;^) > > > - -- > It is better to hear the rebuke of the wise, > Than for a man to hear the song of fools. > Ecclesiastes 7:5 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.7 (GNU/Linux) > > iD8DBQFD2VCpz8zcalmVmBkRAlOqAJ49P/JPU3mHouG4R+tPN3RiLptIngCeKGgy > tNBXG+bDX6zsjt6RlylU3tg= > =p0A7 > -----END PGP SIGNATURE----- Wow thx but i think suse 7.2 / 9.0 had them disabled then. Anyway it was a long time ago i needed to go telinit 1. But now sometimes if netdisk smb share timeouts: i try to unmount my binded dirs to that smb share, then the smb share mount itself and then ... the mount on my disk and then it keeps complaining about filesystem busy blablabla and telinit was the only thing to resolve this issue. But thx i never knew what the second field in the inittab meant. 2 bad because now if you tell me its pretty straight forward >>> c6:12345:respawn:/sbin/agetty 38400 tty6 linux <<< hahahaha; 2 simple ! |