Where are users in "User Management"tab stored to?

Discussion in 'General' started by mie, Oct 6, 2008.

  1. mie

    mie

    Joined:
    Oct 6, 2008
    Messages:
    13
    Likes Received:
    0
    Hi all! Please help me find a place in hd where users thru "User Management"tab are stored to. I dont want to create users and associate 'em with extentions by hands because i have many users and i want to write some script that will do it itself. I searched / by egrep for the name of the user(4example 'admin'), i quered asterisk database by select but there is absolutely no right result. Can anyone point me where are they ?
     
  2. rafael

    Joined:
    May 14, 2007
    Messages:
    1,454
    Likes Received:
    1
    The users are store inside sqllite database.

    Saludos,

    Rafael
     
  3. mie

    mie

    Joined:
    Oct 6, 2008
    Messages:
    13
    Likes Received:
    0
    thanks for the answer. I check packadge sqlite3 - it exists but when i enter sqlite3 comandline interface and run command ".databases" i see no databases at all! I even could create my own test database with tables and quered them - everything's ok. I think that users are stored somewhere else.. but where ?
     
  4. bmacias

    Joined:
    Sep 27, 2007
    Messages:
    205
    Likes Received:
    0
    Re:Where are users in "User Management"tab stored

    Hi,

    In the path /var/www/db/ are databases.
    You can use this:

    enter console sqlite: sqlite3 /var/www/db/menu.db (choose database)
    exit console sqlite : .q
    show schema : .s
     
  5. bmacias

    Joined:
    Sep 27, 2007
    Messages:
    205
    Likes Received:
    0
    Re:Where are users in "User Management"tab stored

    Or you can use:

    sqlite3 /var/www/db/acl.db "select * from acl_user;"

    between " " put the sql.

    ;)
     
  6. mie

    mie

    Joined:
    Oct 6, 2008
    Messages:
    13
    Likes Received:
    0
    Re:Where are users in "User Management"tab stored

    thanks much. Exactly what i searched.
     

Share This Page