Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: installing problem  (Read 10642 times)

0 Members and 1 Guest are viewing this topic.

SamirBeh

  • Anope User
  • Offline Offline
  • Posts: 32
installing problem
« on: February 02, 2014, 08:10:03 AM »

why i see these msg always

Quote
root@irc [~/Unreal3.2.10]# ./unreal start
Starting UnrealIRCd
WARNING: You are running UnrealIRCd as root and it is not
         configured to drop priviliges. This is _very_ dangerous,
         as any compromise of your UnrealIRCd is the same as
         giving a cracker root SSH access to your box.
         You should either start UnrealIRCd under a different
         account than root, or set IRC_USER in include/config.h
         to a nonprivileged username and recompile.
 _   _                      _ ___________  _____     _
| | | |                    | |_   _| ___ \/  __ \   | |
| | | |_ __  _ __ ___  __ _| | | | | |_/ /| /  \/ __| |
| | | | '_ \| '__/ _ \/ _` | | | | |    / | |    / _` |
| |_| | | | | | |  __/ (_| | |_| |_| |\ \ | \__/\ (_| |
 \___/|_| |_|_|  \___|\__,_|_|\___/\_| \_| \____/\__,_|
                           v3.2.10
                     using TRE 0.8.0 (BSD)

* Loading IRCd configuration ..
* unrealircd.conf:2: loadmodule modules/commands.so: failed to load: Cannot open module file: No such file or directory
[error] IRCd configuration failed to load
Possible error encountered (IRCd seemingly not started)

help me please
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: installing problem
« Reply #1 on: February 02, 2014, 08:12:02 AM »

1) You're running it as root, you really shouldn't - it does this say in quite big letters.
2) This isn't an Anope problem, so you may find better help on a forum for unreal.
3) Does modules/commands.so exist?

If I was you, I'd reinstall Unreal properly and not use root.
Logged

SamirBeh

  • Anope User
  • Offline Offline
  • Posts: 32
Re: installing problem
« Reply #2 on: February 02, 2014, 09:16:33 AM »

every thing is oky now , but when i user these order cd services ./services

h see thise msg

Quote
WARNING: You are currently running Anope as the root superuser. Anope does not
    require root privileges to run, and it is discouraged that you run Anope
    as the root superuser.
[/b][/size][/color]
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: installing problem
« Reply #3 on: February 02, 2014, 09:18:16 AM »

Read what I said before, using root is bad.

Please don't do this.
Logged

SamirBeh

  • Anope User
  • Offline Offline
  • Posts: 32
Re: installing problem
« Reply #4 on: February 02, 2014, 09:38:56 AM »

what's the way to add new user have all root power ?
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: installing problem
« Reply #5 on: February 02, 2014, 09:40:17 AM »

You shouldn't be wanting to do that.

You should not be running anope/ircd as a root user, this just does not make sense.

Logged

SamirBeh

  • Anope User
  • Offline Offline
  • Posts: 32
Re: installing problem
« Reply #6 on: February 02, 2014, 09:45:43 AM »

so , what's the safe way to join server , more detils plz
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: installing problem
« Reply #7 on: February 02, 2014, 09:47:04 AM »

You should create a user on your server, such as "irc" and then install both your ircd and services as this user.

Logged

SamirBeh

  • Anope User
  • Offline Offline
  • Posts: 32
Re: installing problem
« Reply #8 on: February 02, 2014, 09:49:23 AM »

fine how i can create a new user give me the order to do it
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: installing problem
« Reply #9 on: February 02, 2014, 09:50:14 AM »

useradd -m irc
passwd irc (to set their password)

Then SSH into your system as the 'irc' user with the password.
Logged

SamirBeh

  • Anope User
  • Offline Offline
  • Posts: 32
Re: installing problem
« Reply #10 on: February 02, 2014, 11:23:52 AM »

root@irc [~/services]# useradd -m java
useradd: user java exists
root@irc [~/services]# passwd java java123
passwd: Only one user name may be specified.
root@irc [~/services]# passwd java as7ap123
passwd: Only one user name may be specified.


what's error ?
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: installing problem
« Reply #11 on: February 02, 2014, 11:26:07 AM »

well, in the first instance it says the user already exists, so quite literally you cannot have two users with the same name can you?

If you run the command passwd java with no arguments it will prompt you for the password as setting it on the command line would be considered insecure/stupid.
Logged

SamirBeh

  • Anope User
  • Offline Offline
  • Posts: 32
Re: installing problem
« Reply #12 on: February 02, 2014, 11:37:28 AM »

 ??? ty
Logged
Pages: [1]   Go Up