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

mie

Joined
Oct 6, 2008
Messages
13
Likes
0
Points
0
#1
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 ?
 

rafael

Joined
May 14, 2007
Messages
1,454
Likes
1
Points
0
#2
The users are store inside sqllite database.

Saludos,

Rafael
 

mie

Joined
Oct 6, 2008
Messages
13
Likes
0
Points
0
#3
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 ?
 

bmacias

Joined
Sep 27, 2007
Messages
205
Likes
0
Points
0
#4
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
 

bmacias

Joined
Sep 27, 2007
Messages
205
Likes
0
Points
0
#5
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.

;)
 

mie

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

thanks much. Exactly what i searched.
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,938
Messages
130,959
Members
17,632
Latest member
moaulool
Top