Hi.
My situation first:
My DB has many sub-admins accounts, so each sub-admin can creates users. The main admin can creates sub-admins and sub-admin can creates users account. But (the problem is) all users created have the same situation on .pass file, it means, It's not possible to know, looking some user, what sub-admin had created this user.
What I want:
When sub-admin creates an user, the sub-admin id is stored into user line on .pass file. Like this:
# UserID : Password : View : Add : Del : Mod : Subadmin : Admin : CREATOR
admin:***********:1::1::1:1:God(??)
john:************:1:1:1:1:1::admin
peter:************:1:1:1:1:1::admin
mary:************:1:1:1:1:::john
james:***********:1::1::::peter
Is there solution for me?
Thank's.
My situation first:
My DB has many sub-admins accounts, so each sub-admin can creates users. The main admin can creates sub-admins and sub-admin can creates users account. But (the problem is) all users created have the same situation on .pass file, it means, It's not possible to know, looking some user, what sub-admin had created this user.
What I want:
When sub-admin creates an user, the sub-admin id is stored into user line on .pass file. Like this:
# UserID : Password : View : Add : Del : Mod : Subadmin : Admin : CREATOR
admin:***********:1::1::1:1:God(??)
john:************:1:1:1:1:1::admin
peter:************:1:1:1:1:1::admin
mary:************:1:1:1:1:::john
james:***********:1::1::::peter
Is there solution for me?
Thank's.