Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

userdel/deluser must support deleting users from cache #377

Closed
2 tasks done
jibel opened this issue Jun 6, 2024 · 2 comments
Closed
2 tasks done

userdel/deluser must support deleting users from cache #377

jibel opened this issue Jun 6, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@jibel
Copy link
Collaborator

jibel commented Jun 6, 2024

Is there an existing issue for this?

  • I have searched the existing issues and found none that matched mine

Describe the issue

userdel/deluser doesn’t work: the user is not /etc/passwd. We should look at integrating this.

Steps to reproduce it

.

Ubuntu users: System information and logs

No response

Non Ubuntu users: System information and logs

Environment

  • authd version: please run //TODO
  • Distribution: (NAME in /etc/os-release)
  • Distribution version: (VERSION_ID on /etc/os-release):

Log files

Please redact/remove sensitive information:

authd logs can be found in //TODO

Application settings

Please redact/remove sensitive information:

You can get the configuration file from //TODO

Relevant information

No response

Double check your logs

  • I have redacted any sensitive information from the logs
@jibel jibel added bug Something isn't working jira labels Jun 6, 2024
@adombeck
Copy link
Contributor

userdel/deluser are not aware of NSS sources, they only delete users from /etc/passwd. NSS doesn't seem to support deleting entries. Maybe we should ship our own command-line tool which supports deleting users from the authd cache. We could only consider patching userdel/deluser if we really want those to work with authd, but I'm not sure if that's necessary. Maybe documenting our own command-line tool is good enough.

@jibel jibel removed the jira label Sep 6, 2024
@jibel
Copy link
Collaborator Author

jibel commented Sep 6, 2024

won't do. To many changes on the distro side.

@jibel jibel closed this as completed Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants