pwck: warnings and "no changes" on clean files, nothing after problems
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 54/100
Hướng nghiên cứu
Start at the pwck command entry point and trace the checks that emit ID-range warnings and the logic that prints “no changes”; the issue does not name source files or tests. Compare pwck -r on clean files and files with a problem against the GNU behavior shown here. Done means clean files produce no warning or “no changes” line, while problematic files report the problem and print “no changes” to stdout, including with -q.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
On a stock Ubuntu 26.04 /etc where GNU pwck 4.17.4 prints nothing and exits 0, pwck -r prints:
pwck: warning: user 'sync': GID 65534 is outside the normal range (> 60000)
pwck: warning: user '_apt': GID 65534 is outside the normal range (> 60000)
pwck: warning: user 'nobody': UID 65534 is outside the normal range (> 60000)
pwck: warning: user 'nobody': GID 65534 is outside the normal range (> 60000)
pwck: no changes
65534 is nobody/nogroup on Debian and Ubuntu, and pwck(8) lists no ID range check; GNU pwck warns about none of these (also not for a user with UID 70000).
The "no changes" line is the other way round from GNU: GNU prints pwck: no changes on stdout after it has reported a problem (also with -q) and nothing on clean files. Here it goes to stderr on clean files, and is missing after problems:
# echo 'ghost:x:3000:3000::/:/bin/sh' >> /etc/passwd
# pwck -r GNU: ... "add user 'ghost' in /etc/shadow? No" / "pwck: no changes", exit 2
here: the problems, no "no changes", exit 2
Checked on main 7a84527 in ubuntu:26.04 (GNU passwd 1:4.17.4-2ubuntu3).
- Ngôn ngữ chính
- Rust
- Star
- 17
- Fork
- 10
- Merge trung bình
- 18 giờ 30 phút
- Pull request đã merge (30 ngày)
- 24
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của uutils/shadow
-
groupmod -U: members change in /etc/group but not in /etc/gshadowCó thể đã có người làm @jayhemnani9910 đã nhận 1 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
usermod: -r/--remove is not acceptedCó thể đã có người làm @jayhemnani9910 đã nhận 1 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
usermod: -u and -g exit 0 on a symlinked home, GNU exits 12Có thể đã có người làm @pierre-warnier đã nhận 2 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của uutils/shadow
Issue tương tự
-
needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
mozilla-services/syncstorage-rs#2715 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 70/100
-
documentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
physicsdolphin/nv-uefi-unlocker#53 · 4 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày