Api/auth

From Minux Wiki
Jump to navigation Jump to search

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