Contribution -> Server-side login/generic script - Bash Version
Hi everyone!
Attached follows a "login"/generic server-side script made on bash
shell-script language.
This script is just like the perl version, just made in a generic
way to be easily extensible...
I made this version because i couldn't get the perl version to work
on my Gentoo server with perl 5.8.8, not to mention that i know perl as much as i know how to build nuclear submarines ;-)
With best regards,
-- Giovanni M. Frainer
Hi,
Thanks a lot for this script is worth having
Sello
-----Original Message----- From: Giovanni - Gestor Redix [mailto:giovanni at redix.com.br] Sent: 30 May 2007 03:50 To: hobbit at hswn.dk Subject: [hobbit] Contribution -> Server-side login/generic script - Bash Version
Hi everyone!
Attached follows a "login"/generic server-side script made on bash
shell-script language.
This script is just like the perl version, just made in a generic
way to be easily extensible...
I made this version because i couldn't get the perl version to
work on my Gentoo server with perl 5.8.8, not to mention that i know perl as much as i know how to build nuclear submarines ;-)
With best regards,
-- Giovanni M. Frainer
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
Good work.
Thanks
On 5/30/07, Giovanni - Gestor Redix <giovanni at redix.com.br> wrote:
Hi everyone!
Attached follows a "login"/generic server-side script made on bashshell-script language.
This script is just like the perl version, just made in a genericway to be easily extensible...
I made this version because i couldn't get the perl version to workon my Gentoo server with perl 5.8.8, not to mention that i know perl as much as i know how to build nuclear submarines ;-)
With best regards,-- Giovanni M. Frainer
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Thanks Sabeer MZ
Thanks for the script....now about the nuclear submarine building, please continue ;)
From: Sabeer MZ [mailto:sabeer.mz at gmail.com] Sent: 30 May 2007 11:09 To: hobbit at hswn.dk Subject: Re: [hobbit] Contribution -> Server-side login/generic script - Bash Version
Good work.
Thanks
On 5/30/07, Giovanni - Gestor Redix <giovanni at redix.com.br> wrote:
Hi everyone!
Attached follows a "login"/generic server-side script made on bash
shell-script language.
This script is just like the perl version, just made in a generic
way to be easily extensible...
I made this version because i couldn't get the perl version to work
on my Gentoo server with perl 5.8.8, not to mention that i know perl as much as i know how to build nuclear submarines ;-)
With best regards,
-- Giovanni M. Frainer
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Thanks Sabeer MZ
Hello,
I am trying to install the scripts on my hobbit server and get the following error when starting hobbit, below the error is paste of my config, what could I have made wrong?
2007-05-30 14:13:22 Could not start task rootlogin using command 'hobbitd_channel': No such file or directory
hobbitlaunch.cfg
[rootlogin] ENVFILE /usr/lib/hobbit/client/etc/hobbitclient.cfg NEEDS hobbitd CMD hobbitd_channel --channel=client --log= $BBSERVERLOGS/rootlogin.log $BBHOME/ext/rootlogin.sh
bb-hosts
165.143.60.206 cntrra02-rh-hids5 # NET:intern ssh syslog-ng CLIENT:cntrra02-rh-hids5.telkom.co.za login 165.143.145.150 cntrra20-rh-wiki.telkom.co.za # NET:intern ssh login http://165.143.145.150/
rootlogin.sh attributes -rwxrwxrwx 1 root root 2935 May 30 11:37 rootlogin.sh
Regards
Sello
On Tue, 2007-05-29 at 22:49 -0300, Giovanni - Gestor Redix wrote:
Hi everyone!
Attached follows a "login"/generic server-side script made on bashshell-script language.
This script is just like the perl version, just made in a genericway to be easily extensible...
I made this version because i couldn't get the perl version to workon my Gentoo server with perl 5.8.8, not to mention that i know perl as much as i know how to build nuclear submarines ;-)
With best regards,To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Sello Tlabela <tlabelsd at telkom.co.za> Telkom SA
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
Hi Sello,
this is server side script.. there is installation instruction in the beginning of the script. pls follow that .-
wrong entry.- ENVFILE /usr/lib/hobbit/client/etc/hobbitclient.cfg
On 5/30/07, Sello Tlabela <tlabelsd at telkom.co.za> wrote:
Hello,
I am trying to install the scripts on my hobbit server and get the following error when starting hobbit, below the error is paste of my config, what could I have made wrong?
2007-05-30 14:13:22 Could not start task rootlogin using command 'hobbitd_channel': No such file or directory
hobbitlaunch.cfg
[rootlogin] ENVFILE /usr/lib/hobbit/client/etc/hobbitclient.cfg NEEDS hobbitd CMD hobbitd_channel --channel=client --log=$BBSERVERLOGS/rootlogin.log $BBHOME/ext/rootlogin.sh
bb-hosts
165.143.60.206 cntrra02-rh-hids5 # NET:intern ssh syslog-ng CLIENT: cntrra02-rh-hids5.telkom.co.za login 165.143.145.150 cntrra20-rh-wiki.telkom.co.za # NET:intern ssh login http://165.143.145.150/
rootlogin.sh attributes -rwxrwxrwx 1 root root 2935 May 30 11:37 rootlogin.sh
Regards
Sello
On Tue, 2007-05-29 at 22:49 -0300, Giovanni - Gestor Redix wrote:
Hi everyone!
Attached follows a "login"/generic server-side script made on bashshell-script language.
This script is just like the perl version, just made in a genericway to be easily extensible...
I made this version because i couldn't get the perl version to workon my Gentoo server with perl 5.8.8, not to mention that i know perl as much as i know how to build nuclear submarines ;-)
With best regards,To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Sello Tlabela <tlabelsd at telkom.co.za> Telkom SA
This e-mail and its contents are subject to the Telkom SA Limited e-mail legal notice available at http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
-- Thanks Sabeer MZ
ENVFILE /usr/lib/hobbit/client/etc/hobbitclient.cfg <--it's supposed to be hobbitserver.cfg, this is a service side module, not a client external, the client reports who output by default this script just makes it into a hobbit status based on the output it receives via the incoming hobbit data.
Thanks,
Jason.
From: Sello Tlabela [mailto:tlabelsd at telkom.co.za] Sent: 30 May 2007 13:25 To: hobbit at hswn.dk Subject: Re: [hobbit] Contribution -> Server-side login/generic script -Bash Version
Hello,
I am trying to install the scripts on my hobbit server and get the following error when starting hobbit, below the error is paste of my config, what could I have made wrong?
2007-05-30 14:13:22 Could not start task rootlogin using command 'hobbitd_channel': No such file or directory
hobbitlaunch.cfg
[rootlogin] ENVFILE /usr/lib/hobbit/client/etc/hobbitclient.cfg NEEDS hobbitd CMD hobbitd_channel --channel=client --log=$BBSERVERLOGS/rootlogin.log $BBHOME/ext/rootlogin.sh
bb-hosts
165.143.60.206 cntrra02-rh-hids5 # NET:intern ssh syslog-ng CLIENT:cntrra02-rh-hids5.telkom.co.za login 165.143.145.150 cntrra20-rh-wiki.telkom.co.za # NET:intern ssh login http://165.143.145.150/
rootlogin.sh attributes -rwxrwxrwx 1 root root 2935 May 30 11:37 rootlogin.sh
Regards
Sello
On Tue, 2007-05-29 at 22:49 -0300, Giovanni - Gestor Redix wrote:
Hi everyone!
Attached follows a "login"/generic server-side script made on bash
shell-script language.
This script is just like the perl version, just made in a generic
way to be easily extensible...
I made this version because i couldn't get the perl version to work
on my Gentoo server with perl 5.8.8, not to mention that i know perl as much as i know how to build nuclear submarines ;-)
With best regards,
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Sello Tlabela <tlabelsd at telkom.co.za> Telkom SA
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
Hi Sello, have you configured BBHOME to /usr/lib/hobbit/server at your rootlogin.sh ?
Also, your line at hobbitlaunch.cfg seems to be wrong:
[rootlogin]
ENVFILE /home/hobbit/server/etc/hobbitserver.cfg
NEEDS hobbitd
CMD hobbitd_channel --channel=client
--log=$BBSERVERLOGS/rootlogin.log $BBHOME/ext/rootlogin.sh
Look at the ENVFILE.
Regards,
Giovanni M. Frainer
Sello Tlabela wrote:
Hello,
I am trying to install the scripts on my hobbit server and get the following error when starting hobbit, below the error is paste of my config, what could I have made wrong?
2007-05-30 14:13:22 Could not start task rootlogin using command 'hobbitd_channel': No such file or directory
hobbitlaunch.cfg
[rootlogin] ENVFILE /usr/lib/hobbit/client/etc/hobbitclient.cfg NEEDS hobbitd CMD hobbitd_channel --channel=client --log=$BBSERVERLOGS/rootlogin.log $BBHOME/ext/rootlogin.sh
bb-hosts
165.143.60.206 cntrra02-rh-hids5 # NET:intern ssh syslog-ng CLIENT:cntrra02-rh-hids5.telkom.co.za login 165.143.145.150 cntrra20-rh-wiki.telkom.co.za # NET:intern ssh login http://165.143.145.150/
rootlogin.sh attributes -rwxrwxrwx 1 root root 2935 May 30 11:37 rootlogin.sh
Regards
Sello
On Tue, 2007-05-29 at 22:49 -0300, Giovanni - Gestor Redix wrote:
Hi everyone!
Attached follows a "login"/generic server-side script made on bashshell-script language.
This script is just like the perl version, just made in a genericway to be easily extensible...
I made this version because i couldn't get the perl version to workon my Gentoo server with perl 5.8.8, not to mention that i know perl as much as i know how to build nuclear submarines ;-)
With best regards,To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk <mailto:hobbit-unsubscribe at hswn.dk>
-- Sello Tlabela <tlabelsd at telkom.co.za <mailto:tlabelsd at telkom.co.za>> Telkom SA
This e-mail and its contents are subject to the Telkom SA Limited e-mail legal notice available at http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
Hi,
Thanks a lot all, the problem was ENVFILE
Cheers
On Wed, 2007-05-30 at 09:38 -0300, Giovanni - Gestor Redix wrote:
Hi Sello, have you configured BBHOME to /usr/lib/hobbit/server at your rootlogin.sh ?
Also, your line at hobbitlaunch.cfg seems to be wrong:
[rootlogin]ENVFILE /home/hobbit/server/etc/hobbitserver.cfg NEEDS hobbitd CMD hobbitd_channel --channel=client --log= $BBSERVERLOGS/rootlogin.log $BBHOME/ext/rootlogin.sh
Look at the ENVFILE.
Regards,
Giovanni M. Frainer
Sello Tlabela wrote:
Hello,
I am trying to install the scripts on my hobbit server and get the following error when starting hobbit, below the error is paste of my config, what could I have made wrong?
2007-05-30 14:13:22 Could not start task rootlogin using command 'hobbitd_channel': No such file or directory
hobbitlaunch.cfg
[rootlogin] ENVFILE /usr/lib/hobbit/client/etc/hobbitclient.cfg NEEDS hobbitd CMD hobbitd_channel --channel=client --log= $BBSERVERLOGS/rootlogin.log $BBHOME/ext/rootlogin.sh
bb-hosts
165.143.60.206 cntrra02-rh-hids5 # NET:intern ssh syslog-ng CLIENT:cntrra02-rh-hids5.telkom.co.za login 165.143.145.150 cntrra20-rh-wiki.telkom.co.za # NET:intern ssh login http://165.143.145.150/
rootlogin.sh attributes -rwxrwxrwx 1 root root 2935 May 30 11:37 rootlogin.sh
Regards
Sello
On Tue, 2007-05-29 at 22:49 -0300, Giovanni - Gestor Redix wrote:
Hi everyone!
Attached follows a "login"/generic server-side script made on bashshell-script language.
This script is just like the perl version, just made in a genericway to be easily extensible...
I made this version because i couldn't get the perl version to workon my Gentoo server with perl 5.8.8, not to mention that i know perl as much as i know how to build nuclear submarines ;-)
With best regards,To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Sello Tlabela <tlabelsd at telkom.co.za> Telkom SA
This e-mail and its contents are subject to the Telkom SA Limited e-mail legal notice available at http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
-- Sello Tlabela <tlabelsd at telkom.co.za> Telkom SA
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
The msgcache manpage says:
NOTE: When using msgcache, the BBDISP setting for the clients
should be BBDISP=127.0.0.1 instead of pointing at the real Hobbit server.
Are you supposed to do that via the HOBBITSERVERS setting in /etc/defaults/hobbit-client? I can't find any doc about setting BBDISP, but it looks like that's where the hobbit-client init script gets the data for the BBDISP setting it puts in the runtime config.
Put it in the /usr/lib/hobbit/client/etc/hobbitclient.cfg
-----Original Message----- From: Hobbit User [mailto:hobbit at epperson.homelinux.net] Sent: 30 May 2007 17:19 To: hobbit at hswn.dk Subject: [hobbit] msgcache questions
The msgcache manpage says:
NOTE: When using msgcache, the BBDISP setting for the clients
should be BBDISP=127.0.0.1 instead of pointing at the real Hobbit server.
Are you supposed to do that via the HOBBITSERVERS setting in /etc/defaults/hobbit-client? I can't find any doc about setting BBDISP, but it looks like that's where the hobbit-client init script gets the data for the BBDISP setting it puts in the runtime config.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
participants (5)
-
giovanni@redix.com.br
-
hobbit@epperson.homelinux.net
-
JasonAS_Jones@mentor.com
-
sabeer.mz@gmail.com
-
TlabelSD@telkom.co.za