Author Topic: Normal Admin adding users  (Read 3105 times)

0 Members and 1 Guest are viewing this topic.

Offline meeces2911

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Normal Admin adding users
« on: March 30, 2009, 09:45:23 PM »
Is there a way to addusers (or let admins/super's) to ulx WITHOUT using rcon ?
Is there somewhere i can change in the code to do this ?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Normal Admin adding users
« Reply #1 on: March 30, 2009, 10:17:25 PM »
You can add superadmins if YOU are a superadmin.
Experiencing God's grace one day at a time.

Offline meeces2911

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Normal Admin adding users
« Reply #2 on: March 30, 2009, 10:35:25 PM »
I am super admin ... but if i want to add users i have to do this through a rcon command, rather than client console.
What i would like is to give my admin the ability to ... 'promote' people they see fit, but that can not add users, as they do not have rcon access.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Normal Admin adding users
« Reply #3 on: March 31, 2009, 08:49:54 AM »
I don't understand what you're talking about.
Experiencing God's grace one day at a time.

Offline Mastermind1996

  • Newbie
  • *
  • Posts: 28
  • Karma: -2
    • Gamers4Life Forum! A forum for the ultimate gamers!
Re: Normal Admin adding users
« Reply #4 on: March 31, 2009, 12:47:52 PM »
me neither

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Normal Admin adding users
« Reply #5 on: March 31, 2009, 04:42:35 PM »
Meeces2911, if ULib sees you as superadmin when you join your server, you shouldn't need to use rcon to add others.

If you have superadmin access, you can grant any person or group the add user access through userallow or groupallow.
Though, I don't recommend giving it randomly.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline igiz

  • Newbie
  • *
  • Posts: 30
  • Karma: -2
Re: Normal Admin adding users
« Reply #6 on: April 01, 2009, 09:27:01 AM »
meeces2911 as a SuperAdmin you can use the following command to add users through client console:

ulx rcon adduser name group

So for e.g if you was adding me you would go:

ulc rcon adduser igiz admin

If you want your friend to be able to add admins without knowing or needing to acess server rcon just add your friend to superadmins and tell him to use the command above,this way you won't have to give out the rcon password and your friend will be able to add admins through client console.You do not have to type in the full name,you can just type part of the name as long as no one else has it.

I hope that's what you wanted.

Offline meeces2911

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Normal Admin adding users
« Reply #7 on: April 03, 2009, 03:57:10 PM »
First off, thank you all for your replies.
second, if i dont use rcon, it says the command is complicated.. or something and see usermanagement help.
Giving a group useradd, should have worked, im guessing ... but it did not. i changed my group to admin, and recieved the same message.
Also in the  server logs, i see: Lua error: failed to write /ulib/users.txt --> something along the lines of that, im not viewing the server logs atm, so im not sure exactly. i do know i have permissions to write there, because adv dupe works find, along with straded gamemodes.

Offline meeces2911

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Normal Admin adding users
« Reply #8 on: April 03, 2009, 04:25:08 PM »
scratch that, i deleted the data folder, and it seems to work for ulx now.