/svsmotd # :Services MOTD command gives error

These are old archives. They are kept for historic purposes only.
Post Reply
Michael
Posts: 21
Joined: Sun May 01, 2005 10:53 am
Contact:

/svsmotd # :Services MOTD command gives error

Post 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.
Michael
Grunt
Posts: 159
Joined: Mon Jan 09, 2006 7:31 pm
Contact:

Post by Grunt »

This command changes the services motd, so I'm pretty sure you need root priviledges on OperServ.
Computers are machines that cause trouble you wouldn't normally have if you wouldn't have a computer.
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post 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.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Stskeeps
Former UnrealIRCd head coder
Posts: 23
Joined: Mon Mar 20, 2006 9:24 pm
Location: Hell, On, Earth

Post 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
Michael
Posts: 21
Joined: Sun May 01, 2005 10:53 am
Contact:

Post 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?
Michael
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post 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.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Michael
Posts: 21
Joined: Sun May 01, 2005 10:53 am
Contact:

Post 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,
Michael
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post 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 .
Michael
Posts: 21
Joined: Sun May 01, 2005 10:53 am
Contact:

Post by Michael »

Ahhhh Haaa!

Thank You!
Michael
Post Reply