/etc/yate/users.conf is in yate-core 5.4.0-1-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | ; This file configures the users management module
[database]
; This section configures user management database access
; account: string: The name of the database account
;account=
; add_user: string: Database query used to add a new user
; The query should fail if the user already exists
; Extra care must be taken when building this query: undesirable things may happen
; like replacing an existing user's password or adding a duplicate, unreachable,
; entry in the users table
;add_user=SELECT * FROM user_add('${user}','${password}')
; update_user: string: Database query used to update an existing user
;update_user=UPDATE users SET password='${password}' WHERE username='${user}'
; remove_user: string: Database query used to delete an existing user
;remove_user=DELETE FROM users WHERE username='${user}'
; select_user: string: Database query used to retrieve user's data
;select_user=SELECT * FROM users WHERE username='${user}'
|