Imagine you’re a cluster administrator managing a huge number of users. A user reaches out to you with a problem: “My console is broken.” There’s seemingly an infinite number of possible explanations for why this user can’t access the console. However, you can’t see their system and they have difficulty explaining what the console is doing. The Red Hat OpenShift team recently met with a university customer whose admins frequently run into this scenario. Luckily, OpenShift 4.3’s web console UI addresses this exact problem. New to 4.3, we’ve introduced the ability to spoof users and groups.

Users of Red Hat OpenShift have long had the ability to impersonate Role Bindings through the web console UI. However, since the addition of the user management section, users and administrators can now spoof other users and groups.

To impersonate a user, simply navigate to the Users page under the User Management section of the navigation. Open the menu for a particular user and select “Impersonate User ‘[user]’”. In our case, we are impersonating the user “Ali.”


Note that a user can have multiple role bindings; thus, by spoofing the user instead of a role binding, system administrators can impersonate the user and see the console with their exact authorization credentials. This allows for much quicker and easier troubleshooting access, enabling admins to resolve issues faster and more efficiently.

Once you’ve elected to impersonate a user, you’ll be brought to the Projects page in their view. A console notification banner will appear to remind you that you are viewing the console from Ali’s perspective. You can stop by clicking the “Stop Impersonation” link in the banner.

Administrators can also choose to impersonate a group. To do this, simply navigate to the Groups page under the User Management section of the navigation. Just as we did for user impersonation, open the menu for a particular group and select “Impersonate Group ‘[group]’”. In this case, we are impersonating the group “system:authenticated”.

You can also access impersonation tools from the Role Bindings page. Again, open the menu for a particular role binding and subject and select “Impersonate User ‘[User]’”.

Access is also available from the Role Bindings tab within a particular role.

We know that helping others troubleshoot can be a huge pain point for our users, so we hope that this new feature helps administrators resolve issues faster and more easily. To learn more about our other user management updates, check out our User Management Improvements blog.

If you’d like to learn more about what the OpenShift team is up to or provide feedback on any of the new 4.3 features, please take this brief 3-minute survey.


关于作者

UI_Icon-Red_Hat-Close-A-Black-RGB

按频道浏览

automation icon

自动化

有关技术、团队和环境 IT 自动化的最新信息

AI icon

人工智能

平台更新使客户可以在任何地方运行人工智能工作负载

open hybrid cloud icon

开放混合云

了解我们如何利用混合云构建更灵活的未来

security icon

安全防护

有关我们如何跨环境和技术减少风险的最新信息

edge icon

边缘计算

简化边缘运维的平台更新

Infrastructure icon

基础架构

全球领先企业 Linux 平台的最新动态

application development icon

应用领域

我们针对最严峻的应用挑战的解决方案

Virtualization icon

虚拟化

适用于您的本地或跨云工作负载的企业虚拟化的未来