Koozali.org: home of the SME Server

inittab problems

Jori

inittab problems
« on: November 14, 2001, 01:34:52 AM »
Im trying to load bitchx on boot. Following someone's advice I edited my initab (in the templates)


1:123457:respawn:/sbin/e-smith/console tty1
2:23457:respawn:/etc/rc.d/rc.bitchx tty2
3:23457:respawn:/sbin/mingetty tty3

the rc.bitchx just contains one line to launch bitchx as another user (su)

Anyway, this doenst work. When I boot the pc it launches bitchx in terminal 1, terminal 2 is gone, and so is, ofcourse, the e-smith manager.

version is 4.1.2 btw.

thanks in advance, hope you guys can help me :)

Damien Curtain

Re: inittab problems
« Reply #1 on: November 18, 2001, 11:16:45 AM »
Jori wrote:
>
> Im trying to load bitchx on boot. Following someone's advice
> I edited my initab (in the templates)

Sorry I must ask why are you auto launching bitchx on a gateway? (Theres no way Id call e-smith a firewall, especially after reading this one;)

> 1:123457:respawn:/sbin/e-smith/console tty1
> 2:23457:respawn:/etc/rc.d/rc.bitchx tty2
> 3:23457:respawn:/sbin/mingetty tty3

Firstly thats bogus. Youd rather want something like

2:357:respawn:/etc/rc.d/rc.bitchx tty2

and youd want to make sure that file is executabl, then it should work fine.

As long as you have something like

rc.bitchx:
su - user -c "/path_to/BitchX irc_user irc_server"

I still think this is so insecure and wrong, but anyway:)

Regards
--
 Damien