path: root/user_mgr.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix to include user id 0 in users list.Richard Marian Thomaiyar2018-10-011-2/+4
| | | | | | | | | | | | | Fix to include user id 0 in users list of user manager service. This enables to list out the user present in /etc/passwd file even if it is root user with user id 0. Unit test: 1. Made sure phosphor-user-manager service loads successfully 2. It listed root user / any user already present in /etc/passwd file. Change-Id: I060d9581b7f433411e313b745d9d1b32e8680b7d Signed-off-by: Richard Marian Thomaiyar <>
* User home directory fixups. Needed for SSHRichard Marian Thomaiyar2018-10-011-3/+4
| | | | | | | | | | | | | User home directory fixups, needed for SSH to work properly. With this patch, home directory is created for all users created and deleted, when users are removed. Test: Performed user creation, deletion test case and made sure it is properly reflected in user manager and in ipmi. Change-Id: If7d79c67784191e0cccb3f6c22f4e191fd0bbc84 Signed-off-by: Richard Marian Thomaiyar <>
* Handle empty privilege conditionRichard Marian Thomaiyar2018-10-011-7/+12
| | | | | | | | | This fixes issue, which may end up adding "," in the groups list, when privilege is empty. Allow adding privilege to the groups list only when it is not empty Change-Id: I42607c4835547eda4989f85521148a2716bedcb6 Signed-off-by: Richard Marian Thomaiyar <>
* Basic support for User manager serviceRichard Marian Thomaiyar2018-09-031-0/+598
Basic support for User Manager service methods are implemented. Change-Id: Id42432ec6dd421b99971268add931dcd70876f7c Signed-off-by: Richard Marian Thomaiyar <>
OpenPOWER on IntegriCloud