LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   New virtual consoles won't accept root login (http://www.linuxquestions.org/questions/slackware-14/new-virtual-consoles-wont-accept-root-login-478293/)

swamp 08-28-2006 11:34 PM

New virtual consoles won't accept root login
 
Greetings, All

I'm running 10.1 on an old P1 200. Just for the heck of it, I added 4 virtual
consoles, so that I can cycle through 10 rather than the standard 6. My
/etc/inittab console section now looks like this:

# 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:1235:respawn:/sbin/agetty 38400 tty6 linux
c7:1235:respawn:/sbin/agetty 38400 tty7 linux
c8:1235:respawn:/sbin/agetty 38400 tty8 linux
c9:1235:respawn:/sbin/agetty 38400 tty9 linux
c10:12345:respawn:/sbin/agetty 38400 tty10 linux

I've made c10 the runlevel 4 console.

The glitch that I've run into is this: 1-6 accept root logins, but the new 7-10 will not. I can log in to any console as a user, and go su from there w/o
a hitch. I know that this isn't a huge problem, but my curiousity has been
raised.

It doesn't seem to matter which console is set up for runlevel 4. Originally,
I left it as 6, and then changed it to 10, thinking that this was the problem,
but it wasn't.

Does anyone have any ideas? Likely, there is another file tucked away somewhere that needs just a bit of editing.

Thanks

drkstr 08-28-2006 11:39 PM

I think /etc/security is what you're looking for.

regards,
...drkstr

**edit**
sorry, 'securetty' :)

swamp 08-31-2006 07:06 PM

Thanks, drkstr, this was an easy fix once you directed me
to the right thingamjig.

swamp


All times are GMT -5. The time now is 07:13 PM.