Api/auth: Difference between revisions

From Minux Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:




'''''[[Api/auth.useradd()|auth.useradd()]] -''''' adds a user


'''''[[Api/auth.userdel()|auth.userdel()]] -''''' removes a user
auth.useradd() - adds a user


'''''[[Api/auth.setpass()|auth.setpass()]] -''''' changes password
auth.userdel() - removes a user


'''''[[Api/auth.checkowner()|auth.checkowner()]] -''''' check ownership data
auth.setpass() - changes password


'''''[[Api/auth.setowner()|auth.setowner()]] -''''' set ownership data
auth.checkowner() - check ownership data


'''''[[Api/auth.delowner()|auth.delowner()]] -''''' delete ownership data
auth.setowner() - set ownership data


'''''[[Api/auth.groupadd()|auth.groupadd()]] -''''' creates a group.
auth.delowner() - delete ownership data


'''''[[Api/auth.groupdel()|auth.groupdel()]] -''''' deletes a group.
auth.groupadd() - creates a group.


'''''[[Api/auth.joingroup()|auth.joingroup()]] -''''' add users to groups
auth.groupdel() - deletes a group.


'''''[[Api/auth.leavegroup()|auth.leavegroup()]] -''''' removes users from groups
auth.joingroup() - add users to groups


'''''[[Api/auth.checkgroup()|auth.checkgroup()]] -''''' checks for group membership
auth.leavegroup() - removes users from groups
 
auth.checkgroup() '''''-''''' checks for group membership


[[Api/auth.mask|auth.mask()]] - temporary become another user
[[Api/auth.mask|auth.mask()]] - temporary become another user


[[Api/auth.unmask|auth.unmask()]] - removes a mask
[[Api/auth.unmask|auth.unmask()]] - removes a mask

Revision as of 00:49, 27 September 2024

the auth api is part of the auth-client package and is used to manage auth users, groups and system ownership.

most of these require the user to be an admin to use.


auth.useradd() - adds a user

auth.userdel() - removes a user

auth.setpass() - changes password

auth.checkowner() - check ownership data

auth.setowner() - set ownership data

auth.delowner() - delete ownership data

auth.groupadd() - creates a group.

auth.groupdel() - deletes a group.

auth.joingroup() - add users to groups

auth.leavegroup() - removes users from groups

auth.checkgroup() - checks for group membership

auth.mask() - temporary become another user

auth.unmask() - removes a mask