Skip to content

Keep all users on Unix - #1713

Open
amousset wants to merge 1 commit into
GuillaumeGomez:mainfrom
amousset:list-all-users
Open

Keep all users on Unix#1713
amousset wants to merge 1 commit into
GuillaumeGomez:mainfrom
amousset:list-all-users

Conversation

@amousset

Copy link
Copy Markdown

The filter was removed in 327190e but partially added back in c40439e (from macOS code).

It partially filters system users (e.g. only a false shell and not nologin) which looks like a bug.

The filter was removed in 327190e but partialy
added back in c40439e (from macOS code).
@GuillaumeGomez

Copy link
Copy Markdown
Owner

Any reason you want to keep these users?

@amousset

amousset commented Aug 12, 2026

Copy link
Copy Markdown
Author

I'm doing full inventories of Linux systems and need the list including system users. I could parse them directly but using sysinfo for users too would be handy. And current behavior is at least inconsistent.

@GuillaumeGomez

Copy link
Copy Markdown
Owner

Maybe we should update the API to allow to know if it's a user which we can log as?

@amousset

Copy link
Copy Markdown
Author

Yes, I can do that.

@GuillaumeGomez

Copy link
Copy Markdown
Owner

Thanks in advance. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants