Hi /prog/,
I am trying to figure out how to change my ident in irssi. I connect to various channels using my server. When I join some channel, there is a msg for parcipiants like this:
16:31 -!- $nick [$username@$serverhost] has joined #channel
Where $username is a username of my account in my server and $serverhost ist my URL of server. I dont have root account on server from where I connect. I want to rename this ident to something like this:
16:31 -!- $nick [$nick@$anything] has joined #channel
Is it possible? I am using irssi as well.
Thanks a lot ;)
If you knew enough about IRC, you'd realize that the ident/username part (before @) is generated by the server and is usually derived from one of these 2 things:
- username you entered in your irc client, in which case the ircd will set this part to be ~username, or if you have some configuration block that identifies your host in some way, the ircd may choose to treat your username as an ident (without ~), there may also be ircd administration(for ircops+) commands which change this.
- ident as returned by your host when someone connects to you on port 113(ident service). depending on where you're connecting from (such as a shell, or your own box), the ident service may respond with one of these:
a) the username from which you were connecting from (the server knows the remote/local port pair and it uses this to query), this is common on *nix boxes.
b) an alternate answer if the server runs some less common ident server. On Windows it may be a preset response (mIRC comes with a built-in ident server), on *nix there are servers which let individual users customize the response as they wish (randomized, no answer, denied ident/etc)
c) denied ident (common in cases such as b), in which case the ircd will usually use ~username as the ident.
As for irssi, I assume you're using *nix, so first you should check what identd your box is running, change it if you wish(consult your identd's manpage), or better, just change the username (consult irssi documentation for this).