-
Notifications
You must be signed in to change notification settings - Fork 13
Local Admin User can edit and delete itself #3
Description
A local user with Admin Privileges can Edit and Delete itself while it is logged in.
Unexpected behavior you saw
After creating a local user called User I was able to login to User and Delete myself.
Expected behavior
Current User would not be allowed to edit or delete itself.
To Reproduce
Steps to reproduce the behavior:
-
Login as root user
-
Navigate to Access -> local users
-
Create a local new user with admin privilege
-
login to the new local user
-
Navigate to Access -> local users
-
Delete yourself
OpenBMC Information:
/etc/os-release
ID="openbmc-phosphor"
NAME="Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro)"
VERSION="2.8.0-dev"
VERSION_ID="2.8.0-dev-1163-g24fa604c5"
PRETTY_NAME="Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro) 2.8.0-dev"
BUILD_ID="2.8.0-dev"
OPENBMC_TARGET_MACHINE="s2600wf"
uname -a
Linux s2600wf 5.4.16-86f83a8 #1 Mon Feb 3 18:58:25 UTC 2020 armv6l GNU/Linux