This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Removing 'NEW' username

Old posts that have not been replied to for several years.
Locked
H
HolyCow
Voice
Posts: 16
Joined: Mon Jun 14, 2004 9:39 am
Location: Norway
Contact:

Removing 'NEW' username

Post by HolyCow »

I have done 'unbind msg - hello *msg:hello'
how do I remove the 'new' command/username in telnet
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

Post by greenbear »

enable this setting in your conf file

Code: Select all

set open-telnets 1
H
HolyCow
Voice
Posts: 16
Joined: Mon Jun 14, 2004 9:39 am
Location: Norway
Contact:

Post by HolyCow »

Do you mean

Code: Select all

set open-telnets 0
?
I want it disabled.
But disabling that doesnt remove the 'new' username that makes you the owner if you have a clean userlist
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

set protect-telnet 1
set open-telnets 0

unbind msg - hello *msg:hello
bind msg - <yourgreet> *msg:hello
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
H
HolyCow
Voice
Posts: 16
Joined: Mon Jun 14, 2004 9:39 am
Location: Norway
Contact:

Post by HolyCow »

well you can still login with NEW in telnet and become owner?
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Code: Select all

# This setting will drop telnet connections not matching a known host. It
# greatly improves protection from IRCops, but makes it impossible to add
# hosts on limbo (NOIRC) bots or have NEW as a valid login.
set protect-telnet 1
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

Post by greenbear »

when you start the bot without a userfile (-m option) you can telnet the bot and type NEW as a username to be added.

once you have a userfile this wont work, though.

same goes for the '/msg bot hello' command, assuming open-telnets is set to 0.
H
HolyCow
Voice
Posts: 16
Joined: Mon Jun 14, 2004 9:39 am
Location: Norway
Contact:

Post by HolyCow »

exactly..
But I dont want to be able to telnet to the bot and type NEW as a username even if there is now userlist.
What do I do?
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

Post by greenbear »

why not just make a userfile. problem solved...
H
HolyCow
Voice
Posts: 16
Joined: Mon Jun 14, 2004 9:39 am
Location: Norway
Contact:

Post by HolyCow »

How do I make a userfile in TCL then?
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

Post by greenbear »

Code: Select all

adduser username *!*@host.
you probly want to add flags and pwd as well.. see tcl-dommands.doc for details
H
HolyCow
Voice
Posts: 16
Joined: Mon Jun 14, 2004 9:39 am
Location: Norway
Contact:

Post by HolyCow »

but I want a clean userfile.. The bot is suppose to get the users from the hub...
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

Post by greenbear »

ah
well then this entire discussion is meaningless.

the userfile from the hub will be overwriting the leaf userfile

and you will have to tell the leaf to get the userfile from your hub (ie. add the hub to your leafbot userfile)
H
HolyCow
Voice
Posts: 16
Joined: Mon Jun 14, 2004 9:39 am
Location: Norway
Contact:

Post by HolyCow »

I know... I just wanted to know how to disable the 'new' username when the userfile is empty..
User avatar
j0n
Op
Posts: 140
Joined: Wed May 07, 2003 5:31 pm
Location: sjn.nb.ca
Contact:

Post by j0n »

lol
Locked