Menu

#29 add users redux

open
nobody
None
5
2003-06-29
2003-06-29
No

I wouldn't mind adding users the hard way with
myphpadmin ( I don't have shell access ) but how can I
get around the md5 hashing and still get the access to
work, I only need 4 users total

Thank You

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Besides, I tried the following

    - to add a new user:
    use webo; insert into users values ('fred',
    password('fred'),'enabled',NULL);

    - change the password for the default "webo-adm"
    acount:
    use webo; update users set userpassword
    =password('test') where userid='webo-adm';

    Both fail. Obviously, Webo-adm doesn't use the hashing
    provided by password().

    Fred.

     
  • Nobody/Anonymous

    Logged In: NO

    In phpMyAdmin, choose the MD5 function in the popup in
    front of the userpassword field.
    Also, don't forget to create the associated entry in the
    contacts table with correct values in the follwing fields :
    - person's name in "name" field eg. 'Bar, Foo'
    - "userid" field must match users.userid
    - "class" field = 'user'
    - "owner" field = 'webo-adm'

    Should do the trick

     
  • Nobody/Anonymous

    Logged In: NO

    It does use the MD5 hashing function, but there is an
    additional step to add a user. I had to go into
    the "autpermission" table to add the user name and "webo-
    user" as the role.

    so to add a user [stolen from previous post in this thread]:

    Create the associated entry in the contacts table with
    correct values in the follwing fields :
    - person's name in 'name' field eg. 'Bar, Foo'
    - 'userid' field must match users.userid
    - 'class' field = 'user'
    - 'owner' field = 'webo-adm'
    - go to 'autpermission' table to add the user name [from
    users.userid] and 'webo-user' as the role.

     

Log in to post a comment.

MongoDB Logo MongoDB