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.

Need to add Users to server Bot

Old posts that have not been replied to for several years.
Locked
User avatar
Spock7291
Voice
Posts: 20
Joined: Fri Jan 02, 2004 7:12 pm
Location: MD, USA
Contact:

Need to add Users to server Bot

Post by Spock7291 »

I apologize in advance for this question. I realize it must have been asked before, but when I did a search the results ran to 23 pages! I looked through the first 5 or 6 pages and gave up. If there is a definitive answer somewhere, please just post a link and I will look there. If this is in the wrong forum, please move it.

The background:

I have an eggdrop bot running on my chat server. I have set the following parameter:

set learn-users 0

because I do not want anyone adding themselves to the Bots user list.

My question:

I want to be able to add users to the bot, but when I use .adduser or +user the name only is added and the users do not have access because they do not have a password or any flags. How may I add users to my bot so they can login to the party line and use the bot?
User avatar
Turambar
Halfop
Posts: 56
Joined: Thu May 29, 2003 6:25 am

Post by Turambar »

check out this http://www.egghelp.org/using.htm
section adding/removing users
b
bobjuh
Master
Posts: 268
Joined: Wed Oct 03, 2001 8:00 pm
Location: Netherlands
Contact:

Post by bobjuh »

Add there host and the flags and let them set a passwoord and it works :)
For help on the flags read .help chattr
User avatar
Spock7291
Voice
Posts: 20
Joined: Fri Jan 02, 2004 7:12 pm
Location: MD, USA
Contact:

Post by Spock7291 »

I have already tried the suggestions from egghelp.org ... in fact, that is the first place I went for help. One person in particular is one of the servers OPs and, though his handle is in the user file along with the flags I set in the .conf file, I cannot add a password for him. Every time I try, I get:
You can't change a permanent bot owner's password.
When I try to remove his handle, I get:
You can't remove a permanent bot owner!
Am I going to have to remove him from the .conf file and rehash before I will be able to add him?

I have been able to set up other users, but the Server OPs are really the ones I'm mostly interested in giving access to.
User avatar
Turambar
Halfop
Posts: 56
Joined: Thu May 29, 2003 6:25 am

Post by Turambar »

He's a permanent owner and by that he has full rights on the bot. He should set the password himself. And if he can't dcc chat the bot you still have the possibilty to telnet on the bot and change everything then
User avatar
Spock7291
Voice
Posts: 20
Joined: Fri Jan 02, 2004 7:12 pm
Location: MD, USA
Contact:

Post by Spock7291 »

The "owner" in question has been talked through adding a password several times, but to no avail. Trouble is, the host the bot resides on does not have telnet installed. I can FTP into the folders and change anyfile I wish, but cannot telnet in to talk to the bot.

Perhaps if I manually change the users file?

No, why go to the trouble? I think the easiest way is to simply remove all users but myself from the .conf file, remove them from the user file, and re-add them with the appropriate flags later. :(

I do so hate to start over.
PCTalk Web Site and Chat Administrator
User avatar
gumbydammit
Master
Posts: 311
Joined: Thu Sep 05, 2002 4:52 pm
Location: Canada
Contact:

Post by gumbydammit »

remove his handle from the set owner setting in the conf.. then he wont be "perm" owner and you will be able to change it
a.k.a. hellios
User avatar
Spock7291
Voice
Posts: 20
Joined: Fri Jan 02, 2004 7:12 pm
Location: MD, USA
Contact:

Post by Spock7291 »

Don't know if this is related, but I added a non-owner using:

.+user <handle> <hostmask>

but the hostmask was not added to the user file. I edited the file, adding in the hostmask and reuploaded it.

Is there some special form the hostmaks must take to properly insert itself into the user file? I used:

.+user phantmi hmmm@info-1770D16D.dc.dc.cox.net

When I added the host line in the user file I used:

--HOSTS *!hmmm@info-1770D16D.dc.dc.cox.net

BTW, he cannot get in either.
PCTalk Web Site and Chat Administrator
User avatar
Turambar
Halfop
Posts: 56
Joined: Thu May 29, 2003 6:25 am

Post by Turambar »

the hostmask has the following format nick!ident@host
User avatar
Spock7291
Voice
Posts: 20
Joined: Fri Jan 02, 2004 7:12 pm
Location: MD, USA
Contact:

Post by Spock7291 »

OK, he is finally in. I had to remove him and re-add him using "*!hmmm@info-1770D16D.dc.dc.cox.net " as the host.

Now that I have finally gotten it straight how to add a normal user, I should be able to get the others added OK.

Thank you much for your assistance!
PCTalk Web Site and Chat Administrator
User avatar
gumbydammit
Master
Posts: 311
Joined: Thu Sep 05, 2002 4:52 pm
Location: Canada
Contact:

Post by gumbydammit »

dont edit your usefile man.. you are just asking for trouble
a.k.a. hellios
User avatar
Spock7291
Voice
Posts: 20
Joined: Fri Jan 02, 2004 7:12 pm
Location: MD, USA
Contact:

Post by Spock7291 »

gumbydammit:
Thanks for the advice. I didn't ... and won't. :wink:
PCTalk Web Site and Chat Administrator
Locked