Zoyinc
  • Home
  • Contact
  • Categories
    • CD Archiving
    • GIMP
    • Linux
    • MythTV
    • Open Media Vault
    • Technology
    • VMware
    • WordPress
    • YouTube
  • About


Reinstate deleted user OKD 4.5

By

Tony

,

January 11, 2021

I had an OKD 4.5 user which authenticated against htpasswd. This user was a member of a group and admin role binding.

I then deleted the user through the web console:

The problem came when I wanted to re-enable the user.

Adding a user in OKD involves adding an authentication mechanism, IDP, such as htpasswd, LDAP or Google. Then when the user logged in their name appeared in the list of users – albeit without any access.

So when I tried to login as the deleted user it wouldn’t let me giving me an “authentication error”:

There doesn’t seem to be any obvious way to fix the issue. Certainly I could not find anything in the web console.

Solution

The solution turned out to be really simple. From a command line and logged in as an oc user with admin rights run:

oc delete identity htpasswd:admin

The name of the user is “admin” and the authentication mechanism is “htpasswd”.

After doing the above the user appeared in the list of users and could be added to groups etc.

Related

Failed to list *v1.ConfigMap
OKD 4.5 small cluster on ESX
Restored OKD Cluster Not Starting
Add Catalog Sources To OperatorHub
Recent

  • AlmaLinux GUI – no taskbar or application shortcuts

    AlmaLinux GUI – no taskbar or application shortcuts

  • AlmaLinux 9.5 base VM

    AlmaLinux 9.5 base VM

  • Reset Kodi thumbnails

    Reset Kodi thumbnails

  • Set default settings values in Kodi skins

    Set default settings values in Kodi skins

  • Add/Remove/Reset music/video libraries in Kodi

    Add/Remove/Reset music/video libraries in Kodi

  • Zoyinc Kodi skin on Sony TV

    Zoyinc Kodi skin on Sony TV

  • [L] – WordPress UAM Locked Post

    [L] – WordPress UAM Locked Post

  • Import Pictures and Videos – images not previewed

    Import Pictures and Videos – images not previewed

  • Find My Train

    Find My Train

  • WordPress style name not visible

    WordPress style name not visible

About Zoyinc

  • Contact Us
  • Zoyinc Disclaimer
  • Google Search Console
  • Privacy Policy
  • Site Statistics
  • Login

Apache Auckland Backup CD CentOS Centos7 Children Configuration Debian Error ESX ESXi Fedora Firewall Install Josh Kids Kodi Linux MariaDB MySQL MythTV New Zealand OKD OMV Open Media Vault OpenShift PHP Player Python RAID RedHat Red Hat Rip School Setup SMB SonicWALL Spark tags Train Trains VLAN VM VMware Weaver Windows WordPress YouTube

Powered by

This site is licensed under a Creative Commons Attribution 4.0 International License.