Has Deleted User, Why I Can Still Get Info Of It

Home » CentOS » Has Deleted User, Why I Can Still Get Info Of It
CentOS 2 Comments

I del user ‘u1’:

# userdel u1

But:

# groups u1

u1 : g1

Is ‘u1’ delete?

Thansk

2 thoughts on - Has Deleted User, Why I Can Still Get Info Of It

  • I made a mistake in my previous post. I deleted a user by:

    smbldap-userdel u1

    My environment:

    CentOS 7+samba +ldap+smbldap-tools +Pam

    Thanks I del user ‘u1’:

    # userdel u1

    But:

    # groups u1

    u1 : g1

    Is ‘u1’ delete?

    Thansk

  • smbldap-userdel may not have flushed the user cache (probably sssd) on your system. You can do so with “sss_cache -E” and then check again.