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

pwck does not moan about entries with wrong column count #94

Closed
Nightwulf opened this issue Feb 3, 2018 · 2 comments
Closed

pwck does not moan about entries with wrong column count #94

Nightwulf opened this issue Feb 3, 2018 · 2 comments

Comments

@Nightwulf
Copy link

Nightwulf commented Feb 3, 2018

The pwck tool checks the entries of /etc/passed and /etc/shadow for correctnes.
At least the pwck tool in version 4.5 of the shadow suite does not moan about entries with 8 columns.

Example: add a line like this in /etc/passed and run pwck:
clamav:x:64:64:ClamAntiVirus:/dev/null:/bin/:/usr/bin/nologin

pwck does not complain.

@jgmdev
Copy link

jgmdev commented Oct 1, 2018

A similar issue occurs with grpck (/etc/group), for example:

users:x:100:http:myuser

which should be

users:x:100:http,myuser

isn't detected as an error so grpck doesn't complains about anything. This kind of behavior makes it harder to trouble shoot syntax errors that cause issues on software that read the related files like systemd-sysusers.

@hallyn
Copy link
Member

hallyn commented Oct 4, 2019

Closed with #175, thanks.

@hallyn hallyn closed this as completed Oct 4, 2019
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 a pull request may close this issue.

3 participants