[PLUG] boot shell question.
Steve Butts
sbutts@purdue.edu
Mon, 16 Nov 1998 16:19:05 -0500 (EST)
On 16-Nov-98 Greg Fox wrote:
>
> I have a simple(?) question:
>
> Using Debian 2.0 how would I boot into a root shell, and
> execute a program which requires user interaction? I have
> tried adding my program into rc.boot, I have tried adding
> /bin/bash to /etc/inittab under a console, I have tried to
> figure out agetty so that it does not prompt for a username
> and inside yields a root bash, but all of no luck.
For Redhat I know when you boot into single user mode it drops you straight
into a root shell. Perhaps Debian does the same, just set the default runlevel
to be 1 or whatever it is for single user mode in /etc/inittab. Then have a
.bash_profile that runs the mp3 program. This way you do actually run
through the rc.d process.
... Steve Butts
... sbutts@purdue.edu
--
This message is from the Purdue Linux Users' Group (PLUG) mailing list.
Send mail server commands to <plug-request@csociety.purdue.edu>.