startup sequence without login
Hello
I have an embedded box on which I am developping a driver using a linux kernel. I frequently need to reboot it and relogin as root. I wounder whether I can modify the boot sequence so that it directly boots into a bash belonging to user 'root'. I know that this represents a security issue -- looking at my "use case" this is of concern. Thanks Tilman |
What I meant to write:
I know that this represents a security issue -- looking at my "use case" this is of no concern. |
Instead of running getty (or whatever other login manager you are using) on tty1 simply run bash.
If you give more details about the distro you are using we'd be able to give you more specific details about how to go about accomplishing that. |
I am using gentoo.
So how do I run bash from inittab and connect it to the tty ? c1:12345:respawn:/bin/bash ? Thanks Tilman |
Quote:
Code:
c1:12345:respawn:/bin/bash < /dev/tty1 > /dev/tty1 2>&1 |
Quote:
|
I just tried on the command line -- it works.
Thanks Tilman |
All times are GMT -5. The time now is 06:13 PM. |