Page 1 of 1

/svsmotd # :Services MOTD command gives error

Posted: Wed Mar 22, 2006 12:12 pm
by Michael
I'm wondering why I get this error when I try to issue the svsmotd command.

I have admin priveledges on this server for services as well as being the Network Administrator for this unrealircd so what other permissions would I need in order to issue this command:

/svsmotd # :<text>

and I get the following error:

(error) Permission Denied- You do not have the correct IRC operator privileges

Which this error is BS because I'm the Network Administrator for this Unrealircd.

Thanks for your reply in advance.

Posted: Wed Mar 22, 2006 12:48 pm
by Grunt
This command changes the services motd, so I'm pretty sure you need root priviledges on OperServ.

Posted: Wed Mar 22, 2006 9:12 pm
by w00t
SVSMOTD (like all other SVS* commands..) require uline privilidges.

***** Svsmotd *****
-
Changes the Services Message Of The Day
Must be sent through an U:Lined server.

Posted: Wed Mar 22, 2006 9:35 pm
by Stskeeps
Hrm.. for good measure, services motd is something services distribute and is shown in the MOTD at all servers.. I think the name is a bit misleading

Posted: Thu Mar 23, 2006 6:51 am
by Michael
Guys, the server is U:Lined, I wouldn't have posted this question if it wasn't, so this isn't helpful.

BTW, I am the config'd in Services Root and I'm using Anope 6 for services, if that helps any.

The error message clearly states this an IRC Operator issue, despite the fact that I am OPER'd up and am marked as the Network Admin.

Any other ideas?

Posted: Thu Mar 23, 2006 7:54 am
by w00t
Being an IRC operator, or a services root has nothing, i repeat _nothing_ to do with this.

Code: Select all

        if (!IsULine(sptr))
        {
                sendto_one(sptr, err_str(ERR_NOPRIVILEGES), me.name, parv[0]);
                return 0;
        }
(src/modules/m_svsmotd.c, lines 94-98 - the only permissions-checking done for that command)

So, you are not sending it as a uline'd user. Thankyou.

As a side note, if you've ulined a normal IRCd, you're asking for trouble.

Posted: Thu Mar 23, 2006 11:03 am
by Michael
The only thing that's U:Lined is the services server.

The only reason I mentioned the services root is because someone else in this thread mentioned is as a cause.

As for the IRC Operator, I can only tell you that this is what the error states. If it has nothing to do with the problem then it should not be generating an error message that indicates it's a IRC Operator priveledges problem.

I still do not see what may be causing this problem since the services server IS U:Lined as it should be. It even shows the services server when doing a /links command as well as others.

Take care,

Posted: Thu Mar 23, 2006 5:16 pm
by aquanight
You can't use the svsmotd command directly. All SVS* commands have to be sent via a U-Lined server (ie: /operserv RAW, etc).

No, don't ask us how to use raw :P .

Posted: Thu Mar 23, 2006 6:07 pm
by Michael
Ahhhh Haaa!

Thank You!