Author Topic: Add remove privs  (Read 2426 times)

0 Members and 1 Guest are viewing this topic.

Offline Stravides

  • Triple Ace
  • **
  • Posts: 171
  • Karma: +0/-0
Add remove privs
« on: 09 January, 2005, 02:53:48 »
I have just had a crazy user run a script or some crap that added a multitude of users to my hub - dunno what happened just needless to say didnt want em there...
sooooo....

Whilst in a script.. Is there a way of temp granting a priv then removing it once script has run.. ie a regme command for general users...

user runs !regme email@addre.ss password

it starts up the script - changes his/her addreguser privs to yes - adds the user - removes the privs
closes.

???
Any Takers??

all I need is the priv ammendments - also I do not wish the individual to have to log off - and its per user, not per group ie not all guests, just a single user.

Stravides
For RPG Books, Mp3 & Videos
We host trivia  and the ever failing Smeagolbot

PtokaX forum

Add remove privs
« on: 09 January, 2005, 02:53:48 »

Offline Stravides

  • Triple Ace
  • **
  • Posts: 171
  • Karma: +0/-0
(No subject)
« Reply #1 on: 20 January, 2005, 09:42:59 »
BUMP!  Anyone Any Ideas - Please help out here as I am at a loss here - I do not want to generically give all guests ADDUSER privs ...

regards
Stravvie
Stravides
For RPG Books, Mp3 & Videos
We host trivia  and the ever failing Smeagolbot

Offline Stravides

  • Triple Ace
  • **
  • Posts: 171
  • Karma: +0/-0
So it WAS too much for you all ;)
« Reply #2 on: 30 January, 2005, 23:51:03 »
OK I take this as you dunno about this one .....

thanks for all your comments ;)
hehehe
Stravides
For RPG Books, Mp3 & Videos
We host trivia  and the ever failing Smeagolbot

Offline bastya_elvtars

  • Forum God
  • ****
  • Posts: 3 730
  • Karma: +173/-7
  • The rock n' roll doctor
    • The FreshStuff3 Site
(No subject)
« Reply #3 on: 31 January, 2005, 02:46:15 »
Quote
Originally posted by Stravides
OK I take this as you dunno about this one .....

thanks for all your comments ;)
hehehe

it was a flooder

deflood 5 protects against it, contact plop.
Everything could have been anything else and it would have just as much meaning.

Offline Stravides

  • Triple Ace
  • **
  • Posts: 171
  • Karma: +0/-0
(No subject)
« Reply #4 on: 31 January, 2005, 07:27:55 »
No I dont mean connected to my hub, I mean
they did addreguser hundreds of times

:(

but thanks for the post ;)
« Last Edit: 31 January, 2005, 07:28:23 by Stravides »
Stravides
For RPG Books, Mp3 & Videos
We host trivia  and the ever failing Smeagolbot

Offline Devastator

  • Fulll Member
  • ****
  • Posts: 62
  • Karma: +0/-0
(No subject)
« Reply #5 on: 31 January, 2005, 10:26:23 »
That happened 2 me once i asked in the forum and they said ma ptokax was toast!  Was quite a long tym ago now but i have found the thread...

http://board.univ-angers.fr/thread.php?threadid=1769&boardid=11&sid=54c45dee13dcb2464f19a780ebd23062

is that what you meant reg users were showin many tyms?

hope that helps if not plz explain a bit more n mayb someone else can help!


Devastator
(? ?.??.->PLOP DEFINATELY 4 MOD!!!<-.??.???)


Offline bastya_elvtars

  • Forum God
  • ****
  • Posts: 3 730
  • Karma: +173/-7
  • The rock n' roll doctor
    • The FreshStuff3 Site
(No subject)
« Reply #6 on: 31 January, 2005, 14:20:13 »
is the syntax

!regme

?

then its a security exploit in the script allowing it.
Everything could have been anything else and it would have just as much meaning.

Offline Stravides

  • Triple Ace
  • **
  • Posts: 171
  • Karma: +0/-0
(No subject)
« Reply #7 on: 31 January, 2005, 15:25:39 »
Nothing so efficient as Robocop its Smeagol :(  my cobbled together code.from the PHP mail example on this hub.

Yes Similar to that insofar as I get a user to type !regme email@ddress and it emails a password to that account

problem I am finding is in order to achiev ethis I have to give guest addnewuser privs

unfortunately I had some smart arse that decided to multicreate users ie F**KYOU1, F**KYOU2, .... F**KYOU99999

Was a pain in  the ass...

thanks for the posts thou.... getting clearer
Stravides
For RPG Books, Mp3 & Videos
We host trivia  and the ever failing Smeagolbot

PtokaX forum

(No subject)
« Reply #7 on: 31 January, 2005, 15:25:39 »