Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
Ldap/ | H | - | - | 163 | 155 | |
AccountPolicy.interface.yaml | H A D | 06-Dec-2022 | 1.5 KiB | 40 | 35 | |
Attributes.interface.yaml | H A D | 28-Aug-2023 | 2.1 KiB | 67 | 59 | |
Common.errors.yaml | H A D | 24-Oct-2022 | 1.1 KiB | 25 | 16 | |
Common.metadata.yaml | H A D | 24-Oct-2022 | 429 | 24 | 23 | |
Manager.interface.yaml | H A D | 17-Jun-2024 | 5.8 KiB | 154 | 144 | |
MultiFactorAuthConfiguration.interface.yaml | H A D | 22-Jul-2024 | 1.4 KiB | 39 | 35 | |
PrivilegeMapper.interface.yaml | H A D | 06-Dec-2022 | 2.3 KiB | 48 | 45 | |
PrivilegeMapperEntry.interface.yaml | H A D | 06-Dec-2022 | 1.1 KiB | 27 | 24 | |
README.md | H A D | 06-Dec-2022 | 1.9 KiB | 67 | 42 | |
TOTPAuthenticator.interface.yaml | H A D | 20-Nov-2024 | 2.8 KiB | 76 | 70 | |
TOTPState.interface.yaml | H A D | 26-Nov-2024 | 979 | 26 | 24 |
README.md
1# User Management 2 3## Overview 4 5User Manager service exposes D-Bus methods for user management operations. 6 7### User Manager Interface 8 9User manager interface `xyz.openbmc_project.User.Manager` provides following 10methods, properties and signals. 11 12#### xyz.openbmc_project.User.Manager interface 13 14##### methods 15 16- CreateUser - To create new user to the system. 17- RenameUser - To rename existing user to new name in the system. 18 19##### properties 20 21- AllGroups - To list all the groups supported in the system. 22- AllPrivileges - To list all the privileges supported in the system. 23 24##### signals 25 26- UserRenamed - Signal sent out when user is renamed in the system. 27 28#### xyz.openbmc_project.User.AccountPolicy interface 29 30##### properties 31 32- MaxLoginAttemptBeforeLockout - Permissible attempt before locking out the user 33 for failed login attempts. 34- AccountUnlockTimeout - Timeout (in seconds) to unlock the account after a 35 lockout. 36- MinPasswordLength - Minimum password length, which can be set. 37- RememberOldPasswordTimes – Number of times old password shouldn’t be allowed 38 when updating password for the user. 39 40### Users Interface 41 42User manager daemon, will create user objects for every user existing in the 43system under object path `/xyz/openbmc_project/user/<user name>`. Each user 44object can be handled through 'org.freedesktop.DBus.ObjectManager'. User object 45will expose following properties and methods. 46 47#### xyz.openbmc_project.User.Attributes interface 48 49##### properties 50 51- UserPrivilege - Privilege of the user. 52- UserGroups - Groups to which the user belongs. 53- UserEnabled - User enabled state. 54- UserLockedForFailedAttempt - Locked or unlocked state of the user account. 55 56#### xyz.openbmc_project.Object.Delete 57 58#### methods 59 60- Delete - To delete the user object in the system. 61 62## Note 63 64This interface doesn't provide ways to set / update password. The same must be 65set / updated through pam_chauthtok() (PAM modules). This is to avoid sending 66out password through D-Bus. 67