Compare commits
1166 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
99f2b8832e | ||
|
|
d45e8698eb | ||
|
|
3b411851d7 | ||
|
|
e727706f56 | ||
|
|
b6d47f0fa9 | ||
|
|
52b5237c07 | ||
|
|
50d190f349 | ||
|
|
63645e1b11 | ||
|
|
0f9a3e27ea | ||
|
|
a6011e69ac | ||
|
|
5725327f6f | ||
|
|
d283cd7b5c | ||
|
|
d44d58db86 | ||
|
|
b1610643c5 | ||
|
|
841a73e2a9 | ||
|
|
73a47b23ea | ||
|
|
6259211512 | ||
|
|
87d7b11fc8 | ||
|
|
91f685dc95 | ||
|
|
ee8744ab89 | ||
|
|
feed892a2c | ||
|
|
fa9d17cdf0 | ||
|
|
c351eb41fc | ||
|
|
61fede083a | ||
|
|
822369c353 | ||
|
|
899d7434c4 | ||
|
|
d689ba2dfe | ||
|
|
1e58713e0a | ||
|
|
52239321b8 | ||
|
|
4660554e73 | ||
|
|
4e64c42f1e | ||
|
|
f62eb980d5 | ||
|
|
19d6a0f9a3 | ||
|
|
9e93a3348b | ||
|
|
de176e27ed | ||
|
|
302d4ef809 | ||
|
|
73d57c09a1 | ||
|
|
6360940c7f | ||
|
|
0e6f426896 | ||
|
|
b56ac5f36b | ||
|
|
193bcdacf8 | ||
|
|
47ba166e47 | ||
|
|
df34dc0271 | ||
|
|
03ab41b0a9 | ||
|
|
da9ad99cc7 | ||
|
|
677d61be14 | ||
|
|
5afd832ec6 | ||
|
|
a68ce238bd | ||
|
|
1c472beabb | ||
|
|
6eb4f265cf | ||
|
|
32a244b0ce | ||
|
|
fea713992d | ||
|
|
94385da1c2 | ||
|
|
a143aca1c9 | ||
|
|
f476e8b263 | ||
|
|
477077497f | ||
|
|
8b42aebdfb | ||
|
|
d39c5351ae | ||
|
|
b2a5824f7f | ||
|
|
7c5c7ebd17 | ||
|
|
4d765593fb | ||
|
|
52fc52e74a | ||
|
|
30f621e2a7 | ||
|
|
f6f677a4ca | ||
|
|
ac4bab2baa | ||
|
|
ccffcd6f80 | ||
|
|
194489de56 | ||
|
|
8524eb9ab1 | ||
|
|
5c6c085ae5 | ||
|
|
d11a43e29c | ||
|
|
baf57b0835 | ||
|
|
83ef3ff76d | ||
|
|
bea3610b66 | ||
|
|
d14cb1acb3 | ||
|
|
931b0f68b7 | ||
|
|
32d53642f0 | ||
|
|
24c35ea945 | ||
|
|
0a94a89bcf | ||
|
|
92410b1c76 | ||
|
|
c91a226797 | ||
|
|
b0619a14cd | ||
|
|
6605806a6d | ||
|
|
e649b28033 | ||
|
|
4f3dfcdadd | ||
|
|
ccaa7ea01e | ||
|
|
1eaf9012b1 | ||
|
|
a5e0d00442 | ||
|
|
ade65b0204 | ||
|
|
a23a040247 | ||
|
|
f11f8581f2 | ||
|
|
4885f58fde | ||
|
|
68624ca168 | ||
|
|
8d8becfddb | ||
|
|
d390695b6d | ||
|
|
70bb4db51c | ||
|
|
5a17bd19ad | ||
|
|
b44052751e | ||
|
|
d7383961f5 | ||
|
|
a7e5816642 | ||
|
|
a2f607ed76 | ||
|
|
9bbb9e5060 | ||
|
|
75eb23ace8 | ||
|
|
588b536eb1 | ||
|
|
f6e239d940 | ||
|
|
c4ecaf0a01 | ||
|
|
2acc8676db | ||
|
|
9966b2ae50 | ||
|
|
0d8225bd20 | ||
|
|
5c3cef331a | ||
|
|
4d9f62575d | ||
|
|
b7b75e2d61 | ||
|
|
ccae83d30e | ||
|
|
08e5e0a148 | ||
|
|
0d4266dc81 | ||
|
|
c5d3d4be36 | ||
|
|
6170f973ff | ||
|
|
1c7262b6e2 | ||
|
|
e9cceb62ce | ||
|
|
75904cfd05 | ||
|
|
f8e81f7293 | ||
|
|
d0c5da8cf1 | ||
|
|
5f784b3ef3 | ||
|
|
fd652cdf40 | ||
|
|
a5d765523b | ||
|
|
9b4bfac4ef | ||
|
|
d7b0c262ba | ||
|
|
82e88c1e9b | ||
|
|
688fb93702 | ||
|
|
43bf5f3b39 | ||
|
|
7c7e8f5c18 | ||
|
|
81313b4c5d | ||
|
|
632746518a | ||
|
|
a6f8d25673 | ||
|
|
9b0bef767c | ||
|
|
61085fbfef | ||
|
|
bc6fea5f73 | ||
|
|
972687a07b | ||
|
|
aad21d4486 | ||
|
|
29f0e1dcf4 | ||
|
|
e0d410ad6a | ||
|
|
95447b3f56 | ||
|
|
999c14c87b | ||
|
|
b214d3fb51 | ||
|
|
d08fc0fe8b | ||
|
|
69a2672d3b | ||
|
|
41662e422b | ||
|
|
ff20574597 | ||
|
|
712f360fcd | ||
|
|
551cf36757 | ||
|
|
e4f60bc5b6 | ||
|
|
0a96fd2bf0 | ||
|
|
019ffd5126 | ||
|
|
45e98ea60a | ||
|
|
878710fb7a | ||
|
|
771535fa07 | ||
|
|
ac353a0d49 | ||
|
|
527b684a18 | ||
|
|
ae2c71761e | ||
|
|
154029254a | ||
|
|
a85c288e96 | ||
|
|
e1f06f07bc | ||
|
|
80660f4a94 | ||
|
|
f19c0e69e1 | ||
|
|
b6e44ab213 | ||
|
|
f56f3e81df | ||
|
|
5413108b8a | ||
|
|
c154cb50fa | ||
|
|
3bf1270130 | ||
|
|
e3549c3f90 | ||
|
|
ad3a822529 | ||
|
|
10c72480c0 | ||
|
|
6c1c44f0fc | ||
|
|
23d33f4922 | ||
|
|
0c8f801a7a | ||
|
|
4a109337ab | ||
|
|
584b0b6a36 | ||
|
|
4e48f059e7 | ||
|
|
fbd4430a1d | ||
|
|
4b707105f4 | ||
|
|
1526e6cde8 | ||
|
|
8199342364 | ||
|
|
4f3d0ac9b9 | ||
|
|
57721a210f | ||
|
|
d7536122e8 | ||
|
|
558a8f0796 | ||
|
|
623fdb60cd | ||
|
|
bd08493dab | ||
|
|
d3b392f509 | ||
|
|
9f16b61fe4 | ||
|
|
97e47ed437 | ||
|
|
d300102446 | ||
|
|
3d71c62ab1 | ||
|
|
2ff04fd9b5 | ||
|
|
97a3bc0c43 | ||
|
|
485b374d09 | ||
|
|
25f0b936c0 | ||
|
|
776d4d23ac | ||
|
|
9f285306f3 | ||
|
|
f569ea06ff | ||
|
|
50defcfa5d | ||
|
|
56c7502686 | ||
|
|
7c66acdd2e | ||
|
|
4806645316 | ||
|
|
05a41bc4d5 | ||
|
|
75eb241552 | ||
|
|
d7ce68863e | ||
|
|
095f9d48ef | ||
|
|
b4c00e119f | ||
|
|
326f1566ef | ||
|
|
6ac9c8ffe1 | ||
|
|
860bfc3bc2 | ||
|
|
f960334281 | ||
|
|
e4bc4e00d3 | ||
|
|
f17d14fa1d | ||
|
|
bdbb726365 | ||
|
|
e0c751974f | ||
|
|
8b93f459b4 | ||
|
|
658cda9512 | ||
|
|
8f8e8c66d6 | ||
|
|
9351646a53 | ||
|
|
9335ee4556 | ||
|
|
cfe3388825 | ||
|
|
fa71d99553 | ||
|
|
220f9aac4d | ||
|
|
deba8c722e | ||
|
|
f0d0800450 | ||
|
|
c0e008111e | ||
|
|
f7c5ed7e44 | ||
|
|
71b57931c8 | ||
|
|
830963375b | ||
|
|
119d3e7fb4 | ||
|
|
22cdffdd80 | ||
|
|
23958d1506 | ||
|
|
840aa7a980 | ||
|
|
8f8c08e8a5 | ||
|
|
9126929c22 | ||
|
|
56751ea5fa | ||
|
|
cda8c5fa81 | ||
|
|
69ca70f202 | ||
|
|
8d8547f65f | ||
|
|
bda4983ef6 | ||
|
|
ff3c5edbc6 | ||
|
|
7b64365e45 | ||
|
|
696ec6893f | ||
|
|
6185fb4b72 | ||
|
|
fcd5a6a753 | ||
|
|
c97b544618 | ||
|
|
cfbad60da9 | ||
|
|
f6500af0fb | ||
|
|
abd7c0d1a8 | ||
|
|
b96c915fb6 | ||
|
|
c9d3bfbed8 | ||
|
|
b8a6958c8c | ||
|
|
b8eb6e21e3 | ||
|
|
fbcc252aa2 | ||
|
|
78ed95c5f6 | ||
|
|
78b4357090 | ||
|
|
8971f347df | ||
|
|
f7a09bbd35 | ||
|
|
efb3723826 | ||
|
|
600860fd1b | ||
|
|
0246ee1e32 | ||
|
|
a784da8035 | ||
|
|
17b9314598 | ||
|
|
73b4950948 | ||
|
|
c5e7641878 | ||
|
|
27194eea96 | ||
|
|
988e6e1667 | ||
|
|
8655461698 | ||
|
|
395194208e | ||
|
|
6116809ed3 | ||
|
|
d9490db020 | ||
|
|
7588913847 | ||
|
|
3fe38f1a8e | ||
|
|
ae9399155f | ||
|
|
8234369aa8 | ||
|
|
f5e88fde2a | ||
|
|
f06a70460c | ||
|
|
e225d71e7f | ||
|
|
1ea5452692 | ||
|
|
be18f1bbfc | ||
|
|
6b02a8c46a | ||
|
|
1529920170 | ||
|
|
0905cf7764 | ||
|
|
b93dcd7b74 | ||
|
|
537fb2b47d | ||
|
|
ea2453d97e | ||
|
|
06238ddfc6 | ||
|
|
a0f09c4de7 | ||
|
|
d40cb183f8 | ||
|
|
a155720a06 | ||
|
|
5a8056702c | ||
|
|
89221d3983 | ||
|
|
b7878255ff | ||
|
|
06d1bd8617 | ||
|
|
d19ac3ae86 | ||
|
|
cfc17bfaa7 | ||
|
|
fe2a40ab85 | ||
|
|
c7baab6534 | ||
|
|
92b40afe13 | ||
|
|
7456cef7e2 | ||
|
|
dc0f840741 | ||
|
|
10af5ab4c4 | ||
|
|
2d2f190b5f | ||
|
|
8b9729cf03 | ||
|
|
8a1d6c51aa | ||
|
|
b1eaec13e7 | ||
|
|
262a350c14 | ||
|
|
752c64e4e4 | ||
|
|
fa4dccbc4a | ||
|
|
e34706dd5b | ||
|
|
787ebc3336 | ||
|
|
93ea3fe510 | ||
|
|
30e6a960ee | ||
|
|
e38381641b | ||
|
|
dc46a7a96f | ||
|
|
1177f4b257 | ||
|
|
0a3492dd90 | ||
|
|
77901f4115 | ||
|
|
042e76175a | ||
|
|
4d8a10d86c | ||
|
|
9bda99f55d | ||
|
|
927c6cbdd6 | ||
|
|
8f33168316 | ||
|
|
488bb269c9 | ||
|
|
1a76a81ccc | ||
|
|
1e63ff4abc | ||
|
|
8931f490ed | ||
|
|
1ddb81753d | ||
|
|
252ca1a609 | ||
|
|
3709c159af | ||
|
|
00c091542c | ||
|
|
084a543a03 | ||
|
|
4793149a12 | ||
|
|
d04fc57f13 | ||
|
|
1daf68f0a3 | ||
|
|
58ead426f4 | ||
|
|
9be33624de | ||
|
|
f1f3ef5674 | ||
|
|
c60535694b | ||
|
|
7bc992f580 | ||
|
|
7c34f34109 | ||
|
|
e153c45690 | ||
|
|
9c70ce4480 | ||
|
|
6170e87bd5 | ||
|
|
2ace7fb8f5 | ||
|
|
b2a4d20bf7 | ||
|
|
089560d90e | ||
|
|
d6eb9f97a0 | ||
|
|
7ca7e82ae8 | ||
|
|
19c35c70e1 | ||
|
|
b001531192 | ||
|
|
88de51965d | ||
|
|
df6b651325 | ||
|
|
406a28db14 | ||
|
|
00bcf65d58 | ||
|
|
9105fcd24c | ||
|
|
ba18b6cab2 | ||
|
|
b43b5a89d1 | ||
|
|
591aa8debe | ||
|
|
bcd42a4c62 | ||
|
|
d7f24f954e | ||
|
|
f9176c3be3 | ||
|
|
bc6cd09194 | ||
|
|
b8a7c3ac04 | ||
|
|
133b10b734 | ||
|
|
40146019e6 | ||
|
|
3588f5d2a3 | ||
|
|
af6b417156 | ||
|
|
9b4168f0b2 | ||
|
|
fd20e4fe4b | ||
|
|
d779e83350 | ||
|
|
8b5c7cace3 | ||
|
|
182a8cf464 | ||
|
|
b20639f055 | ||
|
|
0531cb85a4 | ||
|
|
19ebc9d55a | ||
|
|
f19610854c | ||
|
|
398a6d383a | ||
|
|
70c472f91d | ||
|
|
3b66774757 | ||
|
|
a975974d2c | ||
|
|
25df6ffc55 | ||
|
|
9eb5f5e758 | ||
|
|
e530aed7c6 | ||
|
|
39c9155f66 | ||
|
|
60d4dc5ae0 | ||
|
|
5a3eada191 | ||
|
|
616a2b0c7b | ||
|
|
9089583e08 | ||
|
|
b89c17643b | ||
|
|
83c828d86a | ||
|
|
786bb46ef9 | ||
|
|
d4fc50519b | ||
|
|
45c29ff8ce | ||
|
|
8e21a0615d | ||
|
|
b679e205d8 | ||
|
|
186f8f8c5a | ||
|
|
d53df510ec | ||
|
|
569a90cd97 | ||
|
|
b5d9320f6d | ||
|
|
f1e917cc43 | ||
|
|
83e36d1e1b | ||
|
|
d9e428fd63 | ||
|
|
3fcf082618 | ||
|
|
68cd195044 | ||
|
|
d8af4b7e5b | ||
|
|
598853e638 | ||
|
|
5a6e0c0ebd | ||
|
|
f9aecd19f3 | ||
|
|
14d5db18a8 | ||
|
|
7df6dd8cf2 | ||
|
|
d5849a0f2b | ||
|
|
e56640f2af | ||
|
|
e1782606c1 | ||
|
|
11e8de1be1 | ||
|
|
dedf96dd6f | ||
|
|
4ea3973200 | ||
|
|
2fb68149d6 | ||
|
|
a154eb5401 | ||
|
|
4a2fadfa21 | ||
|
|
1566e6de21 | ||
|
|
acf9e8fa4a | ||
|
|
6c29058c9f | ||
|
|
16e593e364 | ||
|
|
e8c4143fdc | ||
|
|
b4ad01d830 | ||
|
|
ea64aa07a8 | ||
|
|
523b9000fd | ||
|
|
71869c2d24 | ||
|
|
2aa9297367 | ||
|
|
9bc936e018 | ||
|
|
2ef82ecb53 | ||
|
|
5fc7602f3e | ||
|
|
0274441ec5 | ||
|
|
60c9571605 | ||
|
|
c7e2932be4 | ||
|
|
d480b7dfee | ||
|
|
260b0eb77a | ||
|
|
34599da75c | ||
|
|
aeb11d0c3e | ||
|
|
9c7fd6b104 | ||
|
|
1f40da3a5f | ||
|
|
c84a3fd5f8 | ||
|
|
25cba03d2d | ||
|
|
68ee6e45ad | ||
|
|
00e4c00838 | ||
|
|
45c41f0de6 | ||
|
|
b27aad278a | ||
|
|
57283d75f7 | ||
|
|
2649a0dc50 | ||
|
|
68fb7adaf7 | ||
|
|
bbfcca9015 | ||
|
|
0e011449f7 | ||
|
|
99a8e345da | ||
|
|
7573a1f684 | ||
|
|
d89d44af82 | ||
|
|
13f031cd67 | ||
|
|
0c7f32eab6 | ||
|
|
16796d7e3b | ||
|
|
371d5aa969 | ||
|
|
0687637b17 | ||
|
|
4294d76926 | ||
|
|
e2fa8501ca | ||
|
|
0047ae2042 | ||
|
|
820997101a | ||
|
|
2e8f003402 | ||
|
|
2e014282f7 | ||
|
|
be2dc119ed | ||
|
|
1e2d22eb6b | ||
|
|
35d80a0a73 | ||
|
|
f06ef92c66 | ||
|
|
22d833f38e | ||
|
|
08807ee3fc | ||
|
|
80a1bae6fe | ||
|
|
e8bdaa552b | ||
|
|
60bf0e1338 | ||
|
|
33f491513e | ||
|
|
36ff9fa1df | ||
|
|
c0dbed948f | ||
|
|
03e6eeb8bb | ||
|
|
9cf5fea519 | ||
|
|
62c424ce33 | ||
|
|
346bc7c0df | ||
|
|
d977bc5d19 | ||
|
|
4a0d11ba27 | ||
|
|
8d3f289bd8 | ||
|
|
7a04299f9e | ||
|
|
770fddc081 | ||
|
|
b079e4f331 | ||
|
|
ac43a9a2d5 | ||
|
|
5c999162fa | ||
|
|
4d45becee0 | ||
|
|
057ad9bb69 | ||
|
|
27c3b04789 | ||
|
|
553718623c | ||
|
|
438596a720 | ||
|
|
5e3b5ba676 | ||
|
|
7ca179b885 | ||
|
|
1bd5acfa3f | ||
|
|
a10d121ff7 | ||
|
|
c16590aaf3 | ||
|
|
013637e2de | ||
|
|
c8c3924815 | ||
|
|
18d4a7a6a9 | ||
|
|
36018131dd | ||
|
|
f35045dcf1 | ||
|
|
2a2cee4a95 | ||
|
|
30eae84422 | ||
|
|
62c0ed4fcb | ||
|
|
315479a6ce | ||
|
|
a240b74921 | ||
|
|
48841074a0 | ||
|
|
c55dcada36 | ||
|
|
b7d5465b0e | ||
|
|
5f5b7d56a6 | ||
|
|
ca30001269 | ||
|
|
e45face1d2 | ||
|
|
2ad689b454 | ||
|
|
53b76ca815 | ||
|
|
21b505094a | ||
|
|
89c37173e1 | ||
|
|
7ab1a77227 | ||
|
|
1d04d40bc6 | ||
|
|
3bde6ef31b | ||
|
|
2dd2472e22 | ||
|
|
e065751f91 | ||
|
|
f2973dcc5a | ||
|
|
907c0ab20b | ||
|
|
9171ec4eae | ||
|
|
f21fe99292 | ||
|
|
96845a5867 | ||
|
|
d984dcb999 | ||
|
|
eafbe03cc8 | ||
|
|
b63ac7ac95 | ||
|
|
3dc001c683 | ||
|
|
3cb3fec04a | ||
|
|
d6508a4fed | ||
|
|
3b694115de | ||
|
|
903f041993 | ||
|
|
9811f7fd4a | ||
|
|
5852c4eb9b | ||
|
|
b954300b83 | ||
|
|
a2c7f4c8a5 | ||
|
|
8e85d1cb82 | ||
|
|
ec7f69e97a | ||
|
|
fbdc52a86d | ||
|
|
dff2fa836e | ||
|
|
190dfc30eb | ||
|
|
8ba58a61d5 | ||
|
|
c980cb6b3a | ||
|
|
30b6ca81e0 | ||
|
|
541f6a66b8 | ||
|
|
c6175f07e3 | ||
|
|
0b8b6534cc | ||
|
|
f6de85357c | ||
|
|
913827c3c1 | ||
|
|
5fdb900d7b | ||
|
|
7803aa52ab | ||
|
|
54746f0d92 | ||
|
|
dd612ca974 | ||
|
|
55b516ba94 | ||
|
|
bda5661096 | ||
|
|
186f0b002a | ||
|
|
ce533f3250 | ||
|
|
eb3cd52450 | ||
|
|
28af4c5bc5 | ||
|
|
5bb64ec036 | ||
|
|
6b8409e9e8 | ||
|
|
4a5447d4d7 | ||
|
|
1c619c768d | ||
|
|
af075bffc9 | ||
|
|
971f260e94 | ||
|
|
9f71e81c91 | ||
|
|
7dc1f3b2dd | ||
|
|
5431d2abe2 | ||
|
|
47bbcf4dc4 | ||
|
|
b512961c12 | ||
|
|
efab223b05 | ||
|
|
cd964eccb5 | ||
|
|
1ce22b1adc | ||
|
|
6c4c7f47a0 | ||
|
|
53ba4f6fc6 | ||
|
|
2d0341ae26 | ||
|
|
edc2bc5556 | ||
|
|
a3e655cc19 | ||
|
|
34e67733ad | ||
|
|
f261f8897d | ||
|
|
b2f829c0d9 | ||
|
|
e44a7c5333 | ||
|
|
5256839da0 | ||
|
|
053fd6f667 | ||
|
|
d25fbce118 | ||
|
|
4d3d2852df | ||
|
|
35f6fa4fb2 | ||
|
|
8c79098041 | ||
|
|
227e780644 | ||
|
|
85f90d1aa2 | ||
|
|
2fcaf22140 | ||
|
|
ff97ca76fc | ||
|
|
b7a8fec626 | ||
|
|
7d143a73d5 | ||
|
|
fd69ebf5a9 | ||
|
|
9fa842ffbf | ||
|
|
5305181f4e | ||
|
|
5760010c6a | ||
|
|
ed983623b7 | ||
|
|
871df6e34b | ||
|
|
279b8e9b69 | ||
|
|
9540ec861e | ||
|
|
d408a3cdda | ||
|
|
51520f2c77 | ||
|
|
c0a26b82ae | ||
|
|
133092e437 | ||
|
|
6f7963a3ea | ||
|
|
d2b12355ee | ||
|
|
c0e2ae0e41 | ||
|
|
6e0036f616 | ||
|
|
12e0029b68 | ||
|
|
efd41d31d8 | ||
|
|
ea725da60f | ||
|
|
ec9d756fc7 | ||
|
|
e74300f9f3 | ||
|
|
ce687005c7 | ||
|
|
645829be3b | ||
|
|
87134054ab | ||
|
|
f26adb9373 | ||
|
|
563facd989 | ||
|
|
5292e8e37e | ||
|
|
4a79eb6418 | ||
|
|
d36e1588a4 | ||
|
|
3a8fc569dc | ||
|
|
d88fee56d0 | ||
|
|
8c071f98f4 | ||
|
|
17589834e9 | ||
|
|
b1dcbb9109 | ||
|
|
ff21533772 | ||
|
|
8e4062eaad | ||
|
|
3e7c866497 | ||
|
|
25eb9fd7e9 | ||
|
|
a472a22b42 | ||
|
|
528435663e | ||
|
|
13125b6596 | ||
|
|
e642700f7c | ||
|
|
1c05718b49 | ||
|
|
21b28d9ac2 | ||
|
|
31b4793161 | ||
|
|
831ca2acc0 | ||
|
|
c959b173fa | ||
|
|
494fe327a2 | ||
|
|
32ee5cf5a4 | ||
|
|
1dab661a88 | ||
|
|
5c743da48c | ||
|
|
34b64c6a5c | ||
|
|
520c3d2ee8 | ||
|
|
edc1e3de4c | ||
|
|
51c1b4fd6e | ||
|
|
dc8ebb9a93 | ||
|
|
3f81b32b3a | ||
|
|
05712cf244 | ||
|
|
3cd211df74 | ||
|
|
eed7f843e5 | ||
|
|
0dd4550277 | ||
|
|
4f0461c5aa | ||
|
|
801dc30dc9 | ||
|
|
81d3f93571 | ||
|
|
2bbe223879 | ||
|
|
5a13d590df | ||
|
|
150d37d441 | ||
|
|
92ada6ae8c | ||
|
|
f844f3fc1f | ||
|
|
f04a81b799 | ||
|
|
ac62509912 | ||
|
|
090dcd4714 | ||
|
|
2772f3caaf | ||
|
|
d4da487911 | ||
|
|
26d47d4a13 | ||
|
|
7aa5afbe3e | ||
|
|
8e07b2236e | ||
|
|
b82323f6fc | ||
|
|
2da85fc32b | ||
|
|
036fdfd2cb | ||
|
|
3081241777 | ||
|
|
3472bee15a | ||
|
|
a6336f11f8 | ||
|
|
3b6a675f3f | ||
|
|
bcd3d8c1b8 | ||
|
|
7de171da64 | ||
|
|
fc3fa0e293 | ||
|
|
53b2f99d37 | ||
|
|
056347f7a0 | ||
|
|
80d3925cc1 | ||
|
|
4ff6fdd350 | ||
|
|
6fd2918f82 | ||
|
|
991d707460 | ||
|
|
6268434a34 | ||
|
|
79bd47d726 | ||
|
|
6a94f65dc6 | ||
|
|
f38390ecf8 | ||
|
|
1906527bb8 | ||
|
|
4de1bfac9c | ||
|
|
ce8580ca6d | ||
|
|
78fd15bab1 | ||
|
|
f32335f6f9 | ||
|
|
c7df39a736 | ||
|
|
cc5a9f7708 | ||
|
|
f1bb2c3848 | ||
|
|
5f632d1a86 | ||
|
|
56545b1b78 | ||
|
|
43c4c62ad7 | ||
|
|
9530fa372c | ||
|
|
26691d3301 | ||
|
|
a8a28eba99 | ||
|
|
3cdfbb6cef | ||
|
|
250ed8cf16 | ||
|
|
c6e3185f0c | ||
|
|
cd10fe20c5 | ||
|
|
31678f87d9 | ||
|
|
b318b6721e | ||
|
|
0fe9b6b867 | ||
|
|
3a91912281 | ||
|
|
b1286d31fd | ||
|
|
5c8a6cd6eb | ||
|
|
68fdd46a81 | ||
|
|
76097618c2 | ||
|
|
fe99e0edd8 | ||
|
|
a000373d8d | ||
|
|
8c5876cef0 | ||
|
|
f5e0895b3a | ||
|
|
da9a0615de | ||
|
|
1640002065 | ||
|
|
53f2df3ded | ||
|
|
49a95f6c07 | ||
|
|
3ababb2263 | ||
|
|
20ba2e50ab | ||
|
|
282bbb9cfc | ||
|
|
52f620f78d | ||
|
|
0bdd59ac57 | ||
|
|
f1127e1aac | ||
|
|
e9e97852cf | ||
|
|
43cd3dc662 | ||
|
|
070ba9d6d4 | ||
|
|
ce9ed32e74 | ||
|
|
9e83d9f840 | ||
|
|
96866ff296 | ||
|
|
1a58cb2346 | ||
|
|
01b11c5f84 | ||
|
|
91c630033d | ||
|
|
8422a00909 | ||
|
|
fa16e07b2e | ||
|
|
bf28febe2f | ||
|
|
4375e97124 | ||
|
|
b42d7cf631 | ||
|
|
b3a4a77b46 | ||
|
|
65269966d5 | ||
|
|
86ce147df1 | ||
|
|
d868434939 | ||
|
|
3e50639cba | ||
|
|
d3a0659e13 | ||
|
|
199d8b2719 | ||
|
|
e9b12a545d | ||
|
|
0d29450314 | ||
|
|
96432cb7a1 | ||
|
|
d2a6818f17 | ||
|
|
c2b51209bb | ||
|
|
436996ed07 | ||
|
|
3d5b4ce121 | ||
|
|
f121e979bb | ||
|
|
cb8f35691a | ||
|
|
0ea08a3961 | ||
|
|
9ef58601e0 | ||
|
|
130e26d582 | ||
|
|
3462794b84 | ||
|
|
f82f0de34e | ||
|
|
eb61b09070 | ||
|
|
a97b3a382b | ||
|
|
f3ef07b8c7 | ||
|
|
8f4d210b31 | ||
|
|
6ff5ab6af4 | ||
|
|
cfbe85f1f0 | ||
|
|
6752d525c3 | ||
|
|
36595ad2cd | ||
|
|
88e88fbf27 | ||
|
|
f2915bc349 | ||
|
|
fca246813e | ||
|
|
9292f7b951 | ||
|
|
ff0f6c28eb | ||
|
|
c556de2b56 | ||
|
|
7890eab89b | ||
|
|
f9aee80330 | ||
|
|
d9b8c55516 | ||
|
|
c3e1c92fa7 | ||
|
|
8cd330b97a | ||
|
|
156bd855d4 | ||
|
|
5324b00638 | ||
|
|
ba569f80b6 | ||
|
|
d6495cab07 | ||
|
|
5520ea45cc | ||
|
|
98df44c5a1 | ||
|
|
e5aa1773d3 | ||
|
|
f810e0a171 | ||
|
|
4e2e230b07 | ||
|
|
d65a81cc37 | ||
|
|
9febd5c52e | ||
|
|
c9eb7cb521 | ||
|
|
d6271f27b8 | ||
|
|
4d7d93d08a | ||
|
|
127ac7cf5e | ||
|
|
292b47c386 | ||
|
|
2d99df028e | ||
|
|
8009e96f35 | ||
|
|
d485633edc | ||
|
|
81c1f063d2 | ||
|
|
067fb2ff47 | ||
|
|
3052b0306d | ||
|
|
1b0a6b20be | ||
|
|
bce89b7cad | ||
|
|
0a6760339d | ||
|
|
e379403368 | ||
|
|
02cfa1e96e | ||
|
|
ae2a17ec1c | ||
|
|
7b6b6a081f | ||
|
|
a89ae2b415 | ||
|
|
f6b6e256d0 | ||
|
|
95611179d1 | ||
|
|
a8fe4890d5 | ||
|
|
4c58978bf2 | ||
|
|
d97b4164c7 | ||
|
|
049e27557a | ||
|
|
11e7186926 | ||
|
|
40065af03f | ||
|
|
b30988f25e | ||
|
|
99858683d0 | ||
|
|
d3b0033664 | ||
|
|
e1d86d97bb | ||
|
|
a1a7ad3bee | ||
|
|
beb38aa933 | ||
|
|
a3a623daed | ||
|
|
d2bd32ab51 | ||
|
|
420463e136 | ||
|
|
34cc1b4591 | ||
|
|
40f31fe111 | ||
|
|
66d1c537b8 | ||
|
|
0d5d805ba3 | ||
|
|
af0a5b3a7e | ||
|
|
e6fdd218b5 | ||
|
|
9c9b12ccfb | ||
|
|
208cc24840 | ||
|
|
00fa6ffc89 | ||
|
|
562ea47e66 | ||
|
|
33d5f5d307 | ||
|
|
7ab05204f9 | ||
|
|
7ff74651d9 | ||
|
|
b13dde1746 | ||
|
|
5ef093d38e | ||
|
|
d56e6d08bc | ||
|
|
b98c5149da | ||
|
|
1ccdb08ab2 | ||
|
|
39553bc84a | ||
|
|
2a3f424d3d | ||
|
|
49db6466e1 | ||
|
|
b09af63a5d | ||
|
|
d9a24cc82c | ||
|
|
ab1840c6d6 | ||
|
|
14aaa22238 | ||
|
|
e7bb558118 | ||
|
|
bb269e44d7 | ||
|
|
2ad293e849 | ||
|
|
e6bc2c9f9b | ||
|
|
af76777327 | ||
|
|
4d7b872d28 | ||
|
|
bc66fb0ed3 | ||
|
|
a295dc0f1b | ||
|
|
097d6864f7 | ||
|
|
b7bf03b161 | ||
|
|
7a78d9c181 | ||
|
|
d548fe213b | ||
|
|
0423800e3e | ||
|
|
e98619c71c | ||
|
|
8f364eb05a | ||
|
|
0ca7b0bfb3 | ||
|
|
09b2603e32 | ||
|
|
cd0a2dd06d | ||
|
|
d4931a4aef | ||
|
|
0b36e4e59f | ||
|
|
51c59171e4 | ||
|
|
474d525137 | ||
|
|
f0866cc1fb | ||
|
|
f4c395459d | ||
|
|
8f64322393 | ||
|
|
5e45536e26 | ||
|
|
a645f89697 | ||
|
|
02e5dbd136 | ||
|
|
fd204abcae | ||
|
|
9fb40391f8 | ||
|
|
6657ff38e5 | ||
|
|
43515a0924 | ||
|
|
66c00bd2be | ||
|
|
101469c265 | ||
|
|
dbe74223ee | ||
|
|
9d3a7eb59a | ||
|
|
21d6b34360 | ||
|
|
da34d2eac4 | ||
|
|
f34f017160 | ||
|
|
0323eeb589 | ||
|
|
26d0bcb51f | ||
|
|
c5d02f1f2f | ||
|
|
3ccb21e2ff | ||
|
|
fe497cb98e | ||
|
|
557a602026 | ||
|
|
57d512829c | ||
|
|
d7e3907ab6 | ||
|
|
6d4f30fbeb | ||
|
|
f7ea46fe79 | ||
|
|
1c142ff073 | ||
|
|
6edf9089ec | ||
|
|
af8755d005 | ||
|
|
0c13397839 | ||
|
|
ec60f91bc5 | ||
|
|
1e73fef46e | ||
|
|
469a214650 | ||
|
|
d638e563b6 | ||
|
|
ae59303366 | ||
|
|
291b61a6c3 | ||
|
|
515dbe2f9a | ||
|
|
f1fd47e349 | ||
|
|
d181848c75 | ||
|
|
c0dda226c3 | ||
|
|
7c0c287396 | ||
|
|
6232365cea | ||
|
|
455c9e8673 | ||
|
|
3c064bcebb | ||
|
|
3152fbd0d2 | ||
|
|
560095862a | ||
|
|
126500c911 | ||
|
|
855c092543 | ||
|
|
b705ca4d97 | ||
|
|
9fc3874093 | ||
|
|
e780891e11 | ||
|
|
22278063de | ||
|
|
edde4d731d | ||
|
|
30c5ceb601 | ||
|
|
22a26e92e4 | ||
|
|
2d5f7a20d7 | ||
|
|
8d682b7f61 | ||
|
|
39c3a9c268 | ||
|
|
510226f810 | ||
|
|
0db4a29c22 | ||
|
|
e5dd164814 | ||
|
|
a80f47a81d | ||
|
|
40461f86ed | ||
|
|
5a1749e06e | ||
|
|
7500d0ec1c | ||
|
|
6da3c2ba7f | ||
|
|
4fa62a74e2 | ||
|
|
5901e73a95 | ||
|
|
79081455e3 | ||
|
|
73fe74c374 | ||
|
|
d56b246d1b | ||
|
|
792ea0fa66 | ||
|
|
42f0bdb7aa | ||
|
|
eeccfb8f62 | ||
|
|
90895612f1 | ||
|
|
c284183a26 | ||
|
|
bf4b725f01 | ||
|
|
20de595e37 | ||
|
|
92ff2a501d | ||
|
|
6aec5248e8 | ||
|
|
dbecb8a7c0 | ||
|
|
61fb780f5c | ||
|
|
ac4b6af8e9 | ||
|
|
5f027bb6a4 | ||
|
|
c53557d535 | ||
|
|
afce34ff40 | ||
|
|
312f23ab50 | ||
|
|
93933b959d | ||
|
|
5af0050d0a | ||
|
|
993f5134fd | ||
|
|
89e6ca0d7e | ||
|
|
7857beaf95 | ||
|
|
86aaea0978 | ||
|
|
8779ad5ec2 | ||
|
|
eb2337b2c7 | ||
|
|
ac972ba6fb | ||
|
|
e8f45d238f | ||
|
|
d27a65e33b | ||
|
|
0c6a55969e | ||
|
|
b3acd37d6d | ||
|
|
99c78a4ae3 | ||
|
|
ffddc3dbf8 | ||
|
|
aaa2195044 | ||
|
|
9c9b24acaa | ||
|
|
bebb89c93b | ||
|
|
b53ea15a4d | ||
|
|
a2054f9a9d | ||
|
|
ed328dc03c | ||
|
|
f3b4069ba4 | ||
|
|
dac2b189c2 | ||
|
|
3f9037b282 | ||
|
|
d4f56275e5 | ||
|
|
062eb42fd4 | ||
|
|
9768aa54f9 | ||
|
|
326c956bcd | ||
|
|
49c32e7ec1 | ||
|
|
c8f4e36ebf | ||
|
|
57d3f9fa83 | ||
|
|
aeae21cf6e | ||
|
|
857a615e2c | ||
|
|
7df22c6930 | ||
|
|
d83880777a | ||
|
|
f490e1a144 | ||
|
|
27ed5d04f7 | ||
|
|
98b7858e66 | ||
|
|
9c0339d436 | ||
|
|
48537b4957 | ||
|
|
4146176c08 | ||
|
|
33ba4c0628 | ||
|
|
3cf7c19a56 | ||
|
|
29f48bafae | ||
|
|
57da5c1045 | ||
|
|
897f8481b2 | ||
|
|
2d428c52c9 | ||
|
|
9d4c337ca1 | ||
|
|
dfff7d3cfe | ||
|
|
67ac228c4a | ||
|
|
9e4d6448e6 | ||
|
|
1cbb3cc320 | ||
|
|
30d2b24f04 | ||
|
|
202fb5c463 | ||
|
|
c203282681 | ||
|
|
1937662816 | ||
|
|
d8b44cb331 | ||
|
|
4399f64323 | ||
|
|
d17cbbac9f | ||
|
|
d073acd750 | ||
|
|
1f7ad41762 | ||
|
|
319a16fc84 | ||
|
|
6790d09e85 | ||
|
|
de17d213b2 | ||
|
|
e1f8184dc3 | ||
|
|
91a8f30a61 | ||
|
|
c155f2e39f | ||
|
|
51f7bfdfde | ||
|
|
7fb73b155e | ||
|
|
b088dfeff4 | ||
|
|
1dbaebde63 | ||
|
|
1023d83acd | ||
|
|
d07207326e | ||
|
|
2697c9817e | ||
|
|
159fbaacc0 | ||
|
|
f276efcb29 | ||
|
|
9300464b43 | ||
|
|
52635a7d74 | ||
|
|
e47fc28584 | ||
|
|
37385ee60d | ||
|
|
7b44b22213 | ||
|
|
fa2b2e905d | ||
|
|
494e15df37 | ||
|
|
851446c287 | ||
|
|
0d183e6b94 | ||
|
|
ffe583db50 | ||
|
|
fffcc837ac | ||
|
|
1712aa91e9 | ||
|
|
ee5bd9c521 | ||
|
|
25b03d8cd7 | ||
|
|
4473bc6264 | ||
|
|
7be39fc4aa | ||
|
|
f4d0f69e35 | ||
|
|
afabc3beb8 | ||
|
|
7bbe585f1e | ||
|
|
3ff563252e | ||
|
|
5b6ed9c678 | ||
|
|
f9a23b8f67 | ||
|
|
b140a0da35 | ||
|
|
676f702362 | ||
|
|
1beaa67010 | ||
|
|
f7679480e6 | ||
|
|
3354e2dce7 | ||
|
|
ca42fa251a | ||
|
|
bab3f92304 | ||
|
|
9b9f463b8f | ||
|
|
3d84c8c91c | ||
|
|
54e3d28428 | ||
|
|
0a21c2438e | ||
|
|
5a9ea180fa | ||
|
|
f77c7d061f | ||
|
|
02d1ba5c99 | ||
|
|
106a7a690c | ||
|
|
c3d6c6d5ce | ||
|
|
b2b7993cd0 | ||
|
|
89c07802de | ||
|
|
285046bd1e | ||
|
|
41d38991df | ||
|
|
517cc9fd79 | ||
|
|
8b991cdd58 | ||
|
|
b1487cf3e6 | ||
|
|
e158a89d37 | ||
|
|
632a264077 | ||
|
|
201d2b1608 | ||
|
|
a48e84f0d6 | ||
|
|
90b05a2679 | ||
|
|
36f46d4dfb | ||
|
|
4a57055073 | ||
|
|
e7ffab6b8e | ||
|
|
46b0cb2db2 | ||
|
|
bd4b7d0c23 | ||
|
|
960b18e52e | ||
|
|
dfcdbb7db5 | ||
|
|
dd712a6184 | ||
|
|
e4d00c832f | ||
|
|
4cff2127e3 | ||
|
|
837e8bcd05 | ||
|
|
edb3448880 | ||
|
|
2c6ecc3e02 | ||
|
|
06f7f0d87f | ||
|
|
80dcfd6690 | ||
|
|
f6249fb88a | ||
|
|
bb9ad48e4f | ||
|
|
6cde8339cf | ||
|
|
de62c3d005 | ||
|
|
54d8487fe3 | ||
|
|
cf35478f4d | ||
|
|
1c33a0b2e5 | ||
|
|
5c207aa3ac | ||
|
|
fe6fa70efe | ||
|
|
abbf45f14f | ||
|
|
e3e826734c | ||
|
|
17026efc75 | ||
|
|
41a6258033 | ||
|
|
191be4c39f | ||
|
|
09e267dad4 | ||
|
|
459433e461 | ||
|
|
5ec74ab450 | ||
|
|
40d644c1b5 | ||
|
|
11194f7e88 | ||
|
|
9dcb747e52 | ||
|
|
ab9d319d06 | ||
|
|
8b6415c8cb | ||
|
|
5e1e47c89f | ||
|
|
a1bb0a0c36 | ||
|
|
9765bc4a11 | ||
|
|
3bc2c036d4 | ||
|
|
d0aa0033ee | ||
|
|
6d31d38571 | ||
|
|
2e741e5948 | ||
|
|
8af99d4da2 | ||
|
|
6e28c75c09 | ||
|
|
164c2b24bf | ||
|
|
c6f0bda817 | ||
|
|
8ebce60492 | ||
|
|
52af2aa829 | ||
|
|
62a24d7d0b | ||
|
|
a0d0068f7d | ||
|
|
b2a73af945 | ||
|
|
75ee1ef03b | ||
|
|
9df5820cb5 | ||
|
|
1e502d5cbc | ||
|
|
e4feaa023e | ||
|
|
e895c05aa3 | ||
|
|
21a85fb04a | ||
|
|
cf467c52af | ||
|
|
4442be02f7 | ||
|
|
1ed4974bf0 | ||
|
|
32d29775bc | ||
|
|
d0e332f49c | ||
|
|
39beb1da3a |
78
debian/NEWS
vendored
Normal file
78
debian/NEWS
vendored
Normal file
@@ -0,0 +1,78 @@
|
|||||||
|
shadow (1:4.17.0~rc1-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
Username checking now once again follows the upstream rules, for
|
||||||
|
an ecosystem-wide ruleset and security.
|
||||||
|
|
||||||
|
-- Chris Hofstaedtler <zeha@debian.org> Sun, 22 Dec 2024 20:12:35 +0100
|
||||||
|
|
||||||
|
shadow (1:4.16.0-5) unstable; urgency=medium
|
||||||
|
|
||||||
|
/var/log/faillog and the programs to read it are no longer part since
|
||||||
|
1:4.15.2-2.
|
||||||
|
The file isn't cleaned up automatically, which should be done manually,
|
||||||
|
unless it is still needed for special reasons.
|
||||||
|
|
||||||
|
-- Chris Hofstaedtler <zeha@debian.org> Sat, 16 Nov 2024 15:48:35 +0100
|
||||||
|
|
||||||
|
shadow (1:4.13+dfsg1-2) unstable; urgency=medium
|
||||||
|
|
||||||
|
The previous entry falsely states that PREVENT_NO_AUTH in /etc/login.defs
|
||||||
|
affects authentication. The historical default of letting all users with
|
||||||
|
empty password field in without authentication is still in effect.
|
||||||
|
|
||||||
|
-- Balint Reczey <balint@balintreczey.hu> Mon, 25 Sep 2023 17:04:09 +0200
|
||||||
|
|
||||||
|
shadow (1:4.11.1+dfsg1-0exp1) experimental; urgency=medium
|
||||||
|
|
||||||
|
Login now prevents an empty password field to be interpreted as
|
||||||
|
"no authentication required" for UID 0 (root account).
|
||||||
|
The historical default of letting all users with empty password field
|
||||||
|
in without authentication can be restored in /etc/login.defs setting
|
||||||
|
PREVENT_NO_AUTH to "no".
|
||||||
|
|
||||||
|
-- Balint Reczey <balint@balintreczey.hu> Sun, 07 Nov 2021 21:51:46 +0100
|
||||||
|
|
||||||
|
shadow (1:4.7-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* /etc/securetty is no longer shipped by this package and it is no longer
|
||||||
|
honored in login's PAM configuration by default. Please see #731656 for the
|
||||||
|
details.
|
||||||
|
|
||||||
|
-- Balint Reczey <rbalint@ubuntu.com> Thu, 20 Jun 2019 13:46:52 +0200
|
||||||
|
|
||||||
|
shadow (1:4.0.15-5) unstable; urgency=low
|
||||||
|
|
||||||
|
* commands passed in argument to su must use su's -c option and must quote
|
||||||
|
the command if it contains a space, as in:
|
||||||
|
su - root -c "ls -l /"
|
||||||
|
The following commands won't work anymore:
|
||||||
|
su - root -c ls -l /
|
||||||
|
su - root "ls -l /"
|
||||||
|
su - root ls -l /
|
||||||
|
|
||||||
|
-- Christian Perrier <bubulle@debian.org> Sat, 8 Apr 2006 20:11:38 +0200
|
||||||
|
|
||||||
|
shadow (1:4.0.14-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* passwd does not support the -f, -s, and -g options anymore. You should use
|
||||||
|
the chfn, chsh and gpasswd utilities instead.
|
||||||
|
* login now distributes the nologin utility, which can be used as a shell
|
||||||
|
to politely refuse a login
|
||||||
|
|
||||||
|
-- Christian Perrier <bubulle@debian.org> Thu, 5 Jan 2006 08:47:44 +0100
|
||||||
|
|
||||||
|
shadow (1:4.0.12-1) unstable; urgency=low
|
||||||
|
|
||||||
|
CLOSE_SESSIONS and other variables are not used anymore in
|
||||||
|
/etc/login/defs.
|
||||||
|
As shadow utilities which use this file now warn about unknown
|
||||||
|
entries there, administrators should remove such unknown entries.
|
||||||
|
The supplied login.defs file does not include them anymore.
|
||||||
|
|
||||||
|
dpasswd is no more distributed by upstream. Login do not support
|
||||||
|
dialup password anymore. Re-introducing this functionality in
|
||||||
|
upstream is not trivial.
|
||||||
|
|
||||||
|
|
||||||
|
-- Christian Perrier <bubulle@debian.org> Thu, 25 Aug 2005 08:38:47 +0200
|
||||||
|
|
||||||
63
debian/README.Debian
vendored
Normal file
63
debian/README.Debian
vendored
Normal file
@@ -0,0 +1,63 @@
|
|||||||
|
Read this file first for a brief overview of the current version
|
||||||
|
of passwd.
|
||||||
|
|
||||||
|
|
||||||
|
---Shadow passwords
|
||||||
|
|
||||||
|
The command `shadowconfig on' will turn on shadow password support.
|
||||||
|
This is the default. Turning off shadow passwords is not supported
|
||||||
|
anymore.
|
||||||
|
Together with shadow passwords, you get the ability to set password ages
|
||||||
|
and expirations with chage(1).
|
||||||
|
|
||||||
|
NOTE: If you use the nscd package, you may have problems with a
|
||||||
|
slight delay in updating the password information. You may notice
|
||||||
|
this during upgrades of certain packages that try to add a system
|
||||||
|
user and then access the users information immediately afterwards.
|
||||||
|
To avoid this, it is suggested that you stop the nscd daemon before
|
||||||
|
upgrades, then restart it again.
|
||||||
|
|
||||||
|
---General configuration
|
||||||
|
|
||||||
|
Most of the configuration for the shadow utilities is in
|
||||||
|
/etc/login.defs. See login.defs(5). The defaults are quite
|
||||||
|
reasonable.
|
||||||
|
|
||||||
|
Also see the /etc/pam.d/* files for each program to configure the PAM
|
||||||
|
support. PAM documentation is available in several formats in the
|
||||||
|
libpam-doc package.
|
||||||
|
|
||||||
|
|
||||||
|
---Encryption
|
||||||
|
|
||||||
|
This is enabled now using the /etc/pam.d/* files. Examples are given.
|
||||||
|
|
||||||
|
|
||||||
|
---Adding users and groups
|
||||||
|
|
||||||
|
Though you may add users and groups with the SysV type commands,
|
||||||
|
useradd and groupadd, I recommend you add them with Debian adduser
|
||||||
|
version 3+. adduser gives you more configuration and conforms to the
|
||||||
|
Debian UID and GID allocation.
|
||||||
|
|
||||||
|
Editing user and group parameters can be done with usermod and
|
||||||
|
groupmod. Removing users and groups can be done with userdel and
|
||||||
|
groupdel.
|
||||||
|
|
||||||
|
|
||||||
|
--- Group administration
|
||||||
|
|
||||||
|
Local group allocation is much easier. With gpasswd(1) you can
|
||||||
|
designate users to administer groups. They can then securely add or
|
||||||
|
remove users from the group.
|
||||||
|
|
||||||
|
|
||||||
|
--- What to read next?
|
||||||
|
|
||||||
|
Read the manpages, the other files in this directory, and the Shadow
|
||||||
|
Password HOWTO (included in the doc-linux package). A large portion
|
||||||
|
of these files deals with getting shadow installed. You can, of
|
||||||
|
course, ignore those parts.
|
||||||
|
|
||||||
|
Also, the libpam-doc package will go a long way to allowing you to take
|
||||||
|
full advantage of the PAM authentication scheme.
|
||||||
8
debian/README.source
vendored
Normal file
8
debian/README.source
vendored
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
If you update the translation of upsteam files (thank you for that!) please
|
||||||
|
submit a pull request upstream instead of filing a bug in the Debian BTS
|
||||||
|
to get it reviewed and accepted faster.
|
||||||
|
|
||||||
|
A testsuite is also available. Instruction on how to run this testsuite
|
||||||
|
are available in tests/README
|
||||||
|
|
||||||
|
-- Balint Reczey <balint@balintreczey.hu>, Mon, 31 Jan 2022 14:07:11 +0100
|
||||||
19
debian/TODO
vendored
Normal file
19
debian/TODO
vendored
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
Things that should be done:
|
||||||
|
* Verify the files left in debian/tmp
|
||||||
|
+ e.g. /etc/default/adduser should be installed
|
||||||
|
* Check the build system: rebuilding the package twoce in the same tree
|
||||||
|
doubles the size of the diff.gz file
|
||||||
|
|
||||||
|
Other points (not related to the release of a syncronized shadow):
|
||||||
|
* compare the source with the usages and man pages
|
||||||
|
+ probably add a sentence to chsh/chfn's manpages about authentication
|
||||||
|
required for ordinary users
|
||||||
|
* do something (a tool) for the variables in login.defs
|
||||||
|
In Debian, some tools are not compiled with the PAM support, so upstream
|
||||||
|
getdef.c won't be OK.
|
||||||
|
It should be nice to see in each man page the set of variables used.
|
||||||
|
The Debian package can now compile (export DEB_BUILD_OPTIONS='nostrip debug')
|
||||||
|
with the debugging informations. This may be used to extract the set of
|
||||||
|
variables used in Debian/for each tools.
|
||||||
|
* verify all the patches around (I've found patches for at least RedHat,
|
||||||
|
OWL, LFS, Mandriva, Gentoo; are they already applied?)
|
||||||
25
debian/bugs-usertags
vendored
Normal file
25
debian/bugs-usertags
vendored
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
This described the usertags used by the team.
|
||||||
|
|
||||||
|
For usertags documentation, see
|
||||||
|
http://lists.debian.org/debian-devel-announce/2005/09/msg00002.html
|
||||||
|
|
||||||
|
All bugs tagged by team members must be tagged with
|
||||||
|
"user pkg-shadow-devel@lists.alioth.debian.org"
|
||||||
|
|
||||||
|
Tags list
|
||||||
|
---------
|
||||||
|
|
||||||
|
toclose: This bug has been announced to be closed in case no more news
|
||||||
|
or information is received from the bug submitter or someone
|
||||||
|
else until the delay specified in the limits_YYYYMMDD tag
|
||||||
|
|
||||||
|
limits-YYYYMMDD: combine it with "toclose". Specifies the date after which
|
||||||
|
bugs can be closed without other action in case no news
|
||||||
|
is received
|
||||||
|
|
||||||
|
manpages-replace A bug reported angainst a manpages-xx package to indicate
|
||||||
|
conflicting man pages. This tag can be used to tune the
|
||||||
|
Replaces fields.
|
||||||
|
|
||||||
|
su-transition: This bug is related to the su transition (#276419)
|
||||||
|
|
||||||
4481
debian/changelog
vendored
Normal file
4481
debian/changelog
vendored
Normal file
File diff suppressed because it is too large
Load Diff
92
debian/control
vendored
Normal file
92
debian/control
vendored
Normal file
@@ -0,0 +1,92 @@
|
|||||||
|
Source: shadow
|
||||||
|
Maintainer: Shadow package maintainers <pkg-shadow-devel@lists.alioth.debian.org>
|
||||||
|
Uploaders:
|
||||||
|
Serge Hallyn <serge@hallyn.com>,
|
||||||
|
Chris Hofstaedtler <zeha@debian.org>,
|
||||||
|
Section: admin
|
||||||
|
Priority: required
|
||||||
|
Build-Depends:
|
||||||
|
debhelper-compat (= 13),
|
||||||
|
dh-package-notes,
|
||||||
|
dh-sequence-zz-debputy-rrr (>= 0.1.23~),
|
||||||
|
docbook-xml <!nodoc>,
|
||||||
|
docbook-xsl <!nodoc>,
|
||||||
|
gettext,
|
||||||
|
itstool <!nodoc>,
|
||||||
|
libacl1-dev,
|
||||||
|
libattr1-dev,
|
||||||
|
libaudit-dev [linux-any],
|
||||||
|
libbsd-dev,
|
||||||
|
libcrypt-dev,
|
||||||
|
libltdl-dev,
|
||||||
|
libpam0g-dev,
|
||||||
|
libselinux1-dev [linux-any],
|
||||||
|
libsemanage-dev [linux-any],
|
||||||
|
libsystemd-dev [linux-any],
|
||||||
|
libxml2-utils <!nodoc>,
|
||||||
|
pkgconf,
|
||||||
|
systemd-dev [linux-any],
|
||||||
|
xsltproc <!nodoc>,
|
||||||
|
Standards-Version: 4.7.0
|
||||||
|
Vcs-Git: https://salsa.debian.org/debian/shadow.git -b master
|
||||||
|
Vcs-Browser: https://salsa.debian.org/debian/shadow
|
||||||
|
Homepage: https://github.com/shadow-maint/shadow
|
||||||
|
Rules-Requires-Root: no
|
||||||
|
X-Style: black
|
||||||
|
|
||||||
|
Package: passwd
|
||||||
|
Architecture: any
|
||||||
|
Multi-Arch: foreign
|
||||||
|
Depends:
|
||||||
|
base-passwd (>= 3.6.4),
|
||||||
|
libpam-modules,
|
||||||
|
login.defs,
|
||||||
|
Recommends:
|
||||||
|
sensible-utils,
|
||||||
|
Replaces:
|
||||||
|
login (<< 1:4.16.0-2~),
|
||||||
|
Description: change and administer password and group data
|
||||||
|
This package includes passwd, chsh, chfn, and many other programs to
|
||||||
|
maintain password and group data.
|
||||||
|
.
|
||||||
|
Shadow passwords are supported. See /usr/share/doc/passwd/README.Debian
|
||||||
|
|
||||||
|
Package: login.defs
|
||||||
|
Architecture: all
|
||||||
|
Multi-Arch: foreign
|
||||||
|
Replaces:
|
||||||
|
login (<< 1:4.16.0-2~),
|
||||||
|
Description: system user management configuration
|
||||||
|
This package provides the login.defs configuration file,
|
||||||
|
used by otherwise unrelated tools managing system users.
|
||||||
|
|
||||||
|
Package: uidmap
|
||||||
|
Architecture: any
|
||||||
|
Multi-Arch: foreign
|
||||||
|
Priority: optional
|
||||||
|
Description: programs to help use subuids
|
||||||
|
These programs help unprivileged users to create uid and gid mappings in
|
||||||
|
user namespaces.
|
||||||
|
|
||||||
|
Package: libsubid5
|
||||||
|
Section: libs
|
||||||
|
Priority: optional
|
||||||
|
Architecture: any
|
||||||
|
Multi-Arch: same
|
||||||
|
Description: subordinate id handling library -- shared library
|
||||||
|
The library provides an interface for querying, granding and ungranting
|
||||||
|
subordinate user and group ids.
|
||||||
|
|
||||||
|
Package: libsubid-dev
|
||||||
|
Section: libdevel
|
||||||
|
Priority: optional
|
||||||
|
Architecture: any
|
||||||
|
Multi-Arch: same
|
||||||
|
Depends:
|
||||||
|
libsubid5 (= ${binary:Version}),
|
||||||
|
Description: subordinate id handling library -- shared library
|
||||||
|
The library provides an interface for querying, granding and ungranting
|
||||||
|
subordinate user and group ids.
|
||||||
|
.
|
||||||
|
This package contains the C header files that are
|
||||||
|
needed for applications to use the libsubid library.
|
||||||
177
debian/copyright
vendored
Normal file
177
debian/copyright
vendored
Normal file
@@ -0,0 +1,177 @@
|
|||||||
|
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
Upstream-Name: Shadow
|
||||||
|
Source: https://github.com/shadow-maint/shadow
|
||||||
|
|
||||||
|
Files: *
|
||||||
|
Copyright: 1989-1994, Julianne Frances Haugh
|
||||||
|
2016-2024, Serge Hallyn <serge@hallyn.com>
|
||||||
|
License: BSD-3-clause
|
||||||
|
|
||||||
|
Files: man/po/da.po
|
||||||
|
man/po/de.po
|
||||||
|
man/tr/man1/su.1
|
||||||
|
po/da.po
|
||||||
|
po/de.po
|
||||||
|
po/es.po
|
||||||
|
po/eu.po
|
||||||
|
po/fi.po
|
||||||
|
po/gl.po
|
||||||
|
po/it.po
|
||||||
|
po/kk.po
|
||||||
|
po/nb.po
|
||||||
|
po/nl.po
|
||||||
|
po/nn.po
|
||||||
|
po/pl.po
|
||||||
|
po/pt_BR.po
|
||||||
|
po/ru.po
|
||||||
|
po/sq.po
|
||||||
|
po/sv.po
|
||||||
|
po/vi.po
|
||||||
|
Copyright: 1999-2015, Free Software Foundation, Inc
|
||||||
|
License: BSD-3-clause
|
||||||
|
|
||||||
|
Files: man/fi/man1/chfn.1
|
||||||
|
man/id/man1/*
|
||||||
|
man/ko/man1/chfn.1
|
||||||
|
man/ko/man1/chsh.1
|
||||||
|
man/tr/man1/chfn.1
|
||||||
|
man/zh_TW/man1/chfn.1
|
||||||
|
man/zh_TW/man1/chsh.1
|
||||||
|
Copyright: 1994, salvatore valente <svalente@athena.mit.edu>
|
||||||
|
License: GPL-1
|
||||||
|
|
||||||
|
Files: man/pt_BR/man8/*
|
||||||
|
man/zh_TW/man8/usermod.8
|
||||||
|
Copyright: 1991-1994, Julianne Frances Haugh
|
||||||
|
License: BSD-3-clause
|
||||||
|
|
||||||
|
Files: man/hu/man1/gpasswd.1
|
||||||
|
man/ja/man1/gpasswd.1
|
||||||
|
man/pt_BR/man1/*
|
||||||
|
Copyright: 1996, Rafal Maszkowski <rzm@pdi.net>
|
||||||
|
License: BSD-3-clause
|
||||||
|
|
||||||
|
Files: man/id/man1/login.1
|
||||||
|
man/ko/man1/login.1
|
||||||
|
man/tr/man1/login.1
|
||||||
|
Copyright: 1993, Rickard E. Faith <faith@cs.unc.edu>
|
||||||
|
License: BSD-3-clause
|
||||||
|
|
||||||
|
Files: man/ja/man5/limits.5
|
||||||
|
man/ja/man8/vipw.8
|
||||||
|
Copyright: 2001, Maki KURODA
|
||||||
|
License: BSD-3-clause
|
||||||
|
|
||||||
|
Files: man/pt_BR/man5/passwd.5
|
||||||
|
man/tr/man5/passwd.5
|
||||||
|
Copyright: 1993, Michael Haardt <michael@moria.de>
|
||||||
|
License: GPL-2+
|
||||||
|
|
||||||
|
Files: man/ja/man1/chage.1
|
||||||
|
man/ja/man5/suauth.5
|
||||||
|
Copyright: 1997, Kazuyoshi Furutaka
|
||||||
|
License: BSD-3-clause
|
||||||
|
|
||||||
|
Files: man/po/fr.po
|
||||||
|
po/fr.po
|
||||||
|
Copyright: 2011-2013, Debian French l10n team <debian-l10n-french@lists.debian.org>
|
||||||
|
License: BSD-3-clause
|
||||||
|
|
||||||
|
Files: man/zh_TW/man5/*
|
||||||
|
Copyright: 1993, Michael Haardt <michael@moria.de>
|
||||||
|
1993, Scorpio, www.linuxforum.net
|
||||||
|
License: GPL-2+
|
||||||
|
|
||||||
|
Files: man/hu/man5/*
|
||||||
|
Copyright: 1993, Michael Haardt <u31b3hs@pool.informatik.rwth-aachen.de>
|
||||||
|
License: GPL-2+
|
||||||
|
|
||||||
|
Files: lib/subordinateio.h
|
||||||
|
Copyright: 2012, Eric W. Biederman
|
||||||
|
License: BSD-3-clause
|
||||||
|
|
||||||
|
Files: man/hu/man1/su.1
|
||||||
|
Copyright: 1999, Ragnar Hojland Espinosa <ragnar@macula.net>
|
||||||
|
License: BSD-3-clause
|
||||||
|
|
||||||
|
Files: man/ja/man8/pwconv.8
|
||||||
|
Copyright: 2001, Yuichi SATO
|
||||||
|
License: BSD-3-clause
|
||||||
|
|
||||||
|
Files: src/login_nopam.c
|
||||||
|
Copyright: 1995, Wietse Venema
|
||||||
|
License: BSD-3-clause
|
||||||
|
|
||||||
|
Files: src/su.c
|
||||||
|
Copyright: 1989 - 1994, Julianne Frances Haugh
|
||||||
|
1996 - 2000, Marek Michałkiewicz
|
||||||
|
2000 - 2006, Tomasz Kłoczko
|
||||||
|
2007 - 2013, Nicolas François
|
||||||
|
License: GPL-2+
|
||||||
|
|
||||||
|
Files: src/vipw.c
|
||||||
|
Copyright: 1997, Guy Maor <maor@ece.utexas.edu>
|
||||||
|
1999 - 2000, Marek Michałkiewicz
|
||||||
|
2002 - 2006, Tomasz Kłoczko
|
||||||
|
2007 - 2013, Nicolas François
|
||||||
|
License: GPL-2+
|
||||||
|
|
||||||
|
Files: man/ko/man5/*
|
||||||
|
Copyright: 2000, ASPLINUX <man@asp-linux.co.kr>
|
||||||
|
License: GPL-2+
|
||||||
|
|
||||||
|
Files: debian/*
|
||||||
|
Copyright: 1999-2001, Ben Collins <bcollins@debian.org>
|
||||||
|
2001-2004 Karl Ramm <kcr@debian.org>
|
||||||
|
2004-2014 Christian Perrier <bubulle@debian.org>
|
||||||
|
2006-2012 Nicolas Francois (Nekral) <nicolas.francois@centraliens.net>
|
||||||
|
2017-2022 Balint Reczey <balint@balintreczey.hu>
|
||||||
|
License: BSD-3-clause
|
||||||
|
|
||||||
|
Files: debian/passwd.expire.cron
|
||||||
|
Copyright: 1999, Ben Collins <bcollins@debian.org>
|
||||||
|
License: BSD-3-clause
|
||||||
|
|
||||||
|
License: BSD-3-clause
|
||||||
|
All rights reserved.
|
||||||
|
.
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions
|
||||||
|
are met:
|
||||||
|
1. Redistributions of source code must retain the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer.
|
||||||
|
2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer in the
|
||||||
|
documentation and/or other materials provided with the distribution.
|
||||||
|
3. Neither the name of the University nor the names of its contributors
|
||||||
|
may be used to endorse or promote products derived from this software
|
||||||
|
without specific prior written permission.
|
||||||
|
.
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||||
|
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||||
|
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||||
|
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||||
|
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||||
|
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||||
|
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
|
SUCH DAMAGE.
|
||||||
|
|
||||||
|
License: GPL-1
|
||||||
|
This program is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation; version 1
|
||||||
|
.
|
||||||
|
On Debian systems, the complete text of version 1 of the GNU General
|
||||||
|
Public License can be found in '/usr/share/common-licenses/GPL-1'.
|
||||||
|
|
||||||
|
License: GPL-2+
|
||||||
|
This program is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation; version 2 dated June, 1991, or (at
|
||||||
|
your option) any later version.
|
||||||
|
.
|
||||||
|
On Debian systems, the complete text of version 2 of the GNU General
|
||||||
|
Public License can be found in '/usr/share/common-licenses/GPL-2'.
|
||||||
24
debian/debputy.manifest
vendored
Normal file
24
debian/debputy.manifest
vendored
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
manifest-version: '0.1'
|
||||||
|
packages:
|
||||||
|
passwd:
|
||||||
|
transformations:
|
||||||
|
- path-metadata:
|
||||||
|
paths:
|
||||||
|
- usr/bin/chfn
|
||||||
|
- usr/bin/chsh
|
||||||
|
- usr/bin/gpasswd
|
||||||
|
- usr/bin/passwd
|
||||||
|
mode: "u=rwxs,go=rx"
|
||||||
|
- path-metadata:
|
||||||
|
paths:
|
||||||
|
- usr/bin/chage
|
||||||
|
- usr/bin/expiry
|
||||||
|
group: "shadow"
|
||||||
|
mode: "u=rwx,go=rxs"
|
||||||
|
uidmap:
|
||||||
|
transformations:
|
||||||
|
- path-metadata:
|
||||||
|
paths:
|
||||||
|
- usr/bin/newgidmap
|
||||||
|
- usr/bin/newuidmap
|
||||||
|
mode: "u=rwxs,go=rx"
|
||||||
37
debian/default/useradd
vendored
Normal file
37
debian/default/useradd
vendored
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
# Default values for useradd(8)
|
||||||
|
#
|
||||||
|
# The SHELL variable specifies the default login shell on your
|
||||||
|
# system.
|
||||||
|
# Similar to DSHELL in adduser. However, we use "sh" here because
|
||||||
|
# useradd is a low level utility and should be as general
|
||||||
|
# as possible
|
||||||
|
SHELL=/bin/sh
|
||||||
|
#
|
||||||
|
# The default group for users
|
||||||
|
# 100=users on Debian systems
|
||||||
|
# Same as USERS_GID in adduser
|
||||||
|
# This argument is used when the -n flag is specified.
|
||||||
|
# The default behavior (when -n and -g are not specified) is to create a
|
||||||
|
# primary user group with the same name as the user being added to the
|
||||||
|
# system.
|
||||||
|
# GROUP=100
|
||||||
|
#
|
||||||
|
# The default home directory. Same as DHOME for adduser
|
||||||
|
# HOME=/home
|
||||||
|
#
|
||||||
|
# The number of days after a password expires until the account
|
||||||
|
# is permanently disabled
|
||||||
|
# INACTIVE=-1
|
||||||
|
#
|
||||||
|
# The default expire date
|
||||||
|
# EXPIRE=
|
||||||
|
#
|
||||||
|
# The SKEL variable specifies the directory containing "skeletal" user
|
||||||
|
# files; in other words, files such as a sample .profile that will be
|
||||||
|
# copied to the new user's home directory when it is created.
|
||||||
|
# SKEL=/etc/skel
|
||||||
|
#
|
||||||
|
# Defines whether the mail spool should be created while
|
||||||
|
# creating the account
|
||||||
|
# CREATE_MAIL_SPOOL=no
|
||||||
|
|
||||||
16
debian/dependencies
vendored
Normal file
16
debian/dependencies
vendored
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
Build-Depends:
|
||||||
|
==============
|
||||||
|
* gettext
|
||||||
|
POT, PO, GMO regenerated?
|
||||||
|
* xsltproc
|
||||||
|
used to generate the manpages
|
||||||
|
* docbook-xsl
|
||||||
|
needed for /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl
|
||||||
|
* docbook-xml
|
||||||
|
manpages/docbook.xsl includes html/docbook.xsl
|
||||||
|
(But it is not strictly needed. The generated manpages are identical.
|
||||||
|
Without it, a warning is generated.)
|
||||||
|
Needed by JH_CHECK_XML_CATALOG([-//OASIS//DTD DocBook XML V4.1.2//EN], [DocBook XML DTD V4.1.2], [], enable_man=no)
|
||||||
|
* libxml2-utils
|
||||||
|
needed by the JH_CHECK_XML_CATALOG macros
|
||||||
|
|
||||||
7
debian/gbp.conf
vendored
Normal file
7
debian/gbp.conf
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
[DEFAULT]
|
||||||
|
upstream-branch = upstream
|
||||||
|
pristine-tar = True
|
||||||
|
sign-tags = True
|
||||||
|
|
||||||
|
[pq]
|
||||||
|
patch-numbers = False
|
||||||
7
debian/gitlab-ci.yml
vendored
Normal file
7
debian/gitlab-ci.yml
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
variables:
|
||||||
|
RELEASE: 'unstable'
|
||||||
|
# workaround for https://salsa.debian.org/salsa-ci-team/pipeline/-/issues/259
|
||||||
|
SALSA_CI_REPROTEST_ARGS: --vary=domain_host.use_sudo=1
|
||||||
|
include:
|
||||||
|
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
|
||||||
|
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
|
||||||
3
debian/libsubid-dev.install
vendored
Normal file
3
debian/libsubid-dev.install
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
usr/include/*
|
||||||
|
usr/lib/*/libsubid.a
|
||||||
|
usr/lib/*/libsubid.so
|
||||||
1
debian/libsubid5.install
vendored
Normal file
1
debian/libsubid5.install
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
usr/lib/*/libsubid.so.*
|
||||||
11
debian/libsubid5.symbols
vendored
Normal file
11
debian/libsubid5.symbols
vendored
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
libsubid.so.5 libsubid5 #MINVER#
|
||||||
|
subid_free@Base 1:4.16.0
|
||||||
|
subid_get_gid_owners@Base 1:4.16.0
|
||||||
|
subid_get_gid_ranges@Base 1:4.16.0
|
||||||
|
subid_get_uid_owners@Base 1:4.16.0
|
||||||
|
subid_get_uid_ranges@Base 1:4.16.0
|
||||||
|
subid_grant_gid_range@Base 1:4.16.0
|
||||||
|
subid_grant_uid_range@Base 1:4.16.0
|
||||||
|
subid_init@Base 1:4.16.0
|
||||||
|
subid_ungrant_gid_range@Base 1:4.16.0
|
||||||
|
subid_ungrant_uid_range@Base 1:4.16.0
|
||||||
1
debian/login.defs.install
vendored
Normal file
1
debian/login.defs.install
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
etc/login.defs etc
|
||||||
2
debian/login.defs.manpages
vendored
Normal file
2
debian/login.defs.manpages
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
usr/share/man/*/man5/login.defs.5
|
||||||
|
usr/share/man/man5/login.defs.5
|
||||||
26
debian/login.defs.postinst
vendored
Normal file
26
debian/login.defs.postinst
vendored
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
_adopt_conffile() {
|
||||||
|
conffile=$1
|
||||||
|
pkg=$2
|
||||||
|
|
||||||
|
[ -f ${conffile}.dpkg-bak ] || return 0
|
||||||
|
|
||||||
|
md5sum="$(md5sum ${conffile} | sed -e 's/ .*//')"
|
||||||
|
old_md5sum="$(dpkg-query -W -f='${Conffiles}' $pkg | \
|
||||||
|
sed -n -e "\' ${conffile} ' { s/ obsolete$//; s/.* //; p }")"
|
||||||
|
# On new installs, if the conffile was preserved on upgrade by
|
||||||
|
# dpkg-maintscript helper, copy it back if the new file has not been
|
||||||
|
# modified yet
|
||||||
|
if [ "$md5sum" = "$old_md5sum" ]; then
|
||||||
|
mv ${conffile}.dpkg-bak ${conffile}
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
if [ "$1" = configure ] && [ -z "$2" ]; then
|
||||||
|
_adopt_conffile /etc/login.defs login.defs
|
||||||
|
fi
|
||||||
|
|
||||||
|
#DEBHELPER#
|
||||||
54
debian/not-installed
vendored
Normal file
54
debian/not-installed
vendored
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
bin/groups
|
||||||
|
bin/login
|
||||||
|
# Workaround debhelper complaining about login.defs, although we install it.
|
||||||
|
etc/login.defs
|
||||||
|
etc/pam.d/chfn
|
||||||
|
etc/pam.d/chage
|
||||||
|
etc/pam.d/chpasswd
|
||||||
|
etc/pam.d/chsh
|
||||||
|
etc/pam.d/groupadd
|
||||||
|
etc/pam.d/groupdel
|
||||||
|
etc/pam.d/groupmems
|
||||||
|
etc/pam.d/groupmod
|
||||||
|
etc/pam.d/login
|
||||||
|
etc/pam.d/newusers
|
||||||
|
etc/pam.d/passwd
|
||||||
|
etc/pam.d/useradd
|
||||||
|
etc/pam.d/userdel
|
||||||
|
etc/pam.d/usermod
|
||||||
|
sbin/nologin
|
||||||
|
usr/bin/newgrp
|
||||||
|
usr/bin/faillog
|
||||||
|
usr/bin/sg
|
||||||
|
usr/lib/*/libsubid.la
|
||||||
|
usr/sbin/groupmems
|
||||||
|
usr/sbin/logoutd
|
||||||
|
usr/sbin/vigr
|
||||||
|
usr/share/man/*/man1/groups.1
|
||||||
|
usr/share/man/*/man1/login.1
|
||||||
|
usr/share/man/*/man1/logoutd.1
|
||||||
|
usr/share/man/*/man1/newgrp.1
|
||||||
|
usr/share/man/*/man1/sg.1
|
||||||
|
usr/share/man/*/man1/su.1
|
||||||
|
usr/share/man/*/man3/getspnam.3
|
||||||
|
usr/share/man/*/man3/shadow.3
|
||||||
|
usr/share/man/*/man5/faillog.5
|
||||||
|
usr/share/man/*/man5/suauth.5
|
||||||
|
usr/share/man/*/man8/faillog.8
|
||||||
|
usr/share/man/*/man8/groupmems.8
|
||||||
|
usr/share/man/*/man8/logoutd.8
|
||||||
|
usr/share/man/*/man8/nologin.8
|
||||||
|
usr/share/man/man1/groups.1
|
||||||
|
usr/share/man/man1/login.1
|
||||||
|
usr/share/man/man1/logoutd.1
|
||||||
|
usr/share/man/man1/newgrp.1
|
||||||
|
usr/share/man/man1/sg.1
|
||||||
|
usr/share/man/man1/su.1
|
||||||
|
usr/share/man/man3/getspnam.3
|
||||||
|
usr/share/man/man3/shadow.3
|
||||||
|
usr/share/man/man5/faillog.5
|
||||||
|
usr/share/man/man5/suauth.5
|
||||||
|
usr/share/man/man8/faillog.8
|
||||||
|
usr/share/man/man8/groupmems.8
|
||||||
|
usr/share/man/man8/logoutd.8
|
||||||
|
usr/share/man/man8/nologin.8
|
||||||
8
debian/passwd.chage.pam
vendored
Normal file
8
debian/passwd.chage.pam
vendored
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# The PAM configuration file for the Shadow 'chage' service
|
||||||
|
#
|
||||||
|
|
||||||
|
# This allows root to change password aging being prompted for a password
|
||||||
|
auth sufficient pam_rootok.so
|
||||||
|
|
||||||
|
# checks for account validity
|
||||||
|
account required pam_permit.so
|
||||||
16
debian/passwd.chfn.pam
vendored
Normal file
16
debian/passwd.chfn.pam
vendored
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
#
|
||||||
|
# The PAM configuration file for the Shadow `chfn' service
|
||||||
|
#
|
||||||
|
|
||||||
|
# This allows root to change user infomation without being
|
||||||
|
# prompted for a password
|
||||||
|
auth sufficient pam_rootok.so
|
||||||
|
|
||||||
|
# The standard Unix authentication modules, used with
|
||||||
|
# NIS (man nsswitch) as well as normal /etc/passwd and
|
||||||
|
# /etc/shadow entries.
|
||||||
|
@include common-auth
|
||||||
|
@include common-account
|
||||||
|
@include common-session
|
||||||
|
|
||||||
|
|
||||||
5
debian/passwd.chpasswd.pam
vendored
Normal file
5
debian/passwd.chpasswd.pam
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# The PAM configuration file for the Shadow 'chpasswd' service
|
||||||
|
#
|
||||||
|
|
||||||
|
@include common-password
|
||||||
|
|
||||||
20
debian/passwd.chsh.pam
vendored
Normal file
20
debian/passwd.chsh.pam
vendored
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
#
|
||||||
|
# The PAM configuration file for the Shadow `chsh' service
|
||||||
|
#
|
||||||
|
|
||||||
|
# This will not allow a user to change their shell unless
|
||||||
|
# their current one is listed in /etc/shells. This keeps
|
||||||
|
# accounts with special shells from changing them.
|
||||||
|
auth required pam_shells.so
|
||||||
|
|
||||||
|
# This allows root to change user shell without being
|
||||||
|
# prompted for a password
|
||||||
|
auth sufficient pam_rootok.so
|
||||||
|
|
||||||
|
# The standard Unix authentication modules, used with
|
||||||
|
# NIS (man nsswitch) as well as normal /etc/passwd and
|
||||||
|
# /etc/shadow entries.
|
||||||
|
@include common-auth
|
||||||
|
@include common-account
|
||||||
|
@include common-session
|
||||||
|
|
||||||
2
debian/passwd.dirs
vendored
Normal file
2
debian/passwd.dirs
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
etc/default
|
||||||
|
usr/share/lintian/overrides
|
||||||
1
debian/passwd.examples
vendored
Normal file
1
debian/passwd.examples
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
debian/passwd.expire.cron
|
||||||
57
debian/passwd.expire.cron
vendored
Normal file
57
debian/passwd.expire.cron
vendored
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
#!/usr/bin/perl
|
||||||
|
#
|
||||||
|
# passwd.expire.cron: sample expiry notification script for use as a cronjob
|
||||||
|
#
|
||||||
|
# Copyright 1999 by Ben Collins <bcollins@debian.org>, complete rights granted
|
||||||
|
# for use, distribution, modification, etc.
|
||||||
|
#
|
||||||
|
# Usage:
|
||||||
|
# edit the listed options, including the actual email, then rename to
|
||||||
|
# /etc/cron.daily/passwd
|
||||||
|
#
|
||||||
|
# If your users don't have a valid login shell (ie. they are ftp or mail
|
||||||
|
# users only), they will need some other way to change their password
|
||||||
|
# (telnet will work since login will handle password aging, or a poppasswd
|
||||||
|
# program, if they are mail users).
|
||||||
|
|
||||||
|
# <CONFIG> #
|
||||||
|
|
||||||
|
# should be same as /etc/adduser.conf
|
||||||
|
$LOW_UID=1000;
|
||||||
|
$HIGH_UID=29999;
|
||||||
|
|
||||||
|
# this let's the MTA handle the domain,
|
||||||
|
# set it manually if you want. Make sure
|
||||||
|
# you also add the @ like "\@domain.com"
|
||||||
|
$MAIL_DOM="";
|
||||||
|
|
||||||
|
# </CONFIG> #
|
||||||
|
|
||||||
|
# Set the current day reference
|
||||||
|
$curdays = int(time() / (60 * 60 * 24));
|
||||||
|
|
||||||
|
# Now go through the list
|
||||||
|
|
||||||
|
open(SH, "< /etc/shadow");
|
||||||
|
while (<SH>) {
|
||||||
|
@shent = split(':', $_);
|
||||||
|
@userent = getpwnam($shent[0]);
|
||||||
|
if ($userent[2] >= $LOW_UID && $userent[2] <= $HIGH_UID) {
|
||||||
|
if ($curdays > $shent[2] + $shent[4] - $shent[5] &&
|
||||||
|
$shent[4] != -1 && $shent[4] != 0 &&
|
||||||
|
$shent[5] != -1 && $shent[5] != 0) {
|
||||||
|
$daysleft = ($shent[2] + $shent[4]) - $curdays;
|
||||||
|
if ($daysleft == 1) { $days = "day"; } else {$days = "days"; }
|
||||||
|
if ($daysleft < 0) { next; }
|
||||||
|
open (MAIL, "| mail -s '[WARNING] account will expire in $daysleft $days' $shent[0]${MAIL_DOM}");
|
||||||
|
print MAIL <<EOF;
|
||||||
|
Your account will expire in $daysleft $days. Please change your password before
|
||||||
|
then or your account will expire
|
||||||
|
EOF
|
||||||
|
close (MAIL);
|
||||||
|
# This makes sure we also get a list of almost expired users
|
||||||
|
print "$shent[0]'s account will expire in $daysleft days\n";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@userent = getpwent();
|
||||||
|
}
|
||||||
8
debian/passwd.groupadd.pam
vendored
Normal file
8
debian/passwd.groupadd.pam
vendored
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# The PAM configuration file for the Shadow 'groupadd' service
|
||||||
|
#
|
||||||
|
|
||||||
|
# This allows root to add groups without being prompted for a password
|
||||||
|
auth sufficient pam_rootok.so
|
||||||
|
|
||||||
|
# checks for account validity
|
||||||
|
account required pam_permit.so
|
||||||
8
debian/passwd.groupdel.pam
vendored
Normal file
8
debian/passwd.groupdel.pam
vendored
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# The PAM configuration file for the Shadow 'groupdel' service
|
||||||
|
#
|
||||||
|
|
||||||
|
# This allows root to remove groups without being prompted for a password
|
||||||
|
auth sufficient pam_rootok.so
|
||||||
|
|
||||||
|
# checks for account validity
|
||||||
|
account required pam_permit.so
|
||||||
8
debian/passwd.groupmod.pam
vendored
Normal file
8
debian/passwd.groupmod.pam
vendored
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# The PAM configuration file for the Shadow 'groupmod' service
|
||||||
|
#
|
||||||
|
|
||||||
|
# This allows root to modify groups without being prompted for a password
|
||||||
|
auth sufficient pam_rootok.so
|
||||||
|
|
||||||
|
# checks for account validity
|
||||||
|
account required pam_permit.so
|
||||||
25
debian/passwd.install
vendored
Normal file
25
debian/passwd.install
vendored
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
debian/default/useradd etc/default
|
||||||
|
debian/shadowconfig usr/sbin
|
||||||
|
usr/bin/chage
|
||||||
|
usr/bin/chfn
|
||||||
|
usr/bin/chsh
|
||||||
|
usr/bin/expiry
|
||||||
|
usr/bin/gpasswd
|
||||||
|
usr/bin/passwd
|
||||||
|
usr/sbin/chgpasswd
|
||||||
|
usr/sbin/chpasswd
|
||||||
|
usr/sbin/groupadd
|
||||||
|
usr/sbin/groupdel
|
||||||
|
usr/sbin/groupmod
|
||||||
|
usr/sbin/grpck
|
||||||
|
usr/sbin/grpconv
|
||||||
|
usr/sbin/grpunconv
|
||||||
|
usr/sbin/newusers
|
||||||
|
usr/sbin/pwck
|
||||||
|
usr/sbin/pwconv
|
||||||
|
usr/sbin/pwunconv
|
||||||
|
usr/sbin/useradd
|
||||||
|
usr/sbin/userdel
|
||||||
|
usr/sbin/usermod
|
||||||
|
usr/sbin/vipw
|
||||||
|
usr/share/locale/*/LC_MESSAGES/shadow.mo
|
||||||
1
debian/passwd.links
vendored
Normal file
1
debian/passwd.links
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
usr/sbin/vipw usr/sbin/vigr
|
||||||
6
debian/passwd.lintian-overrides
vendored
Normal file
6
debian/passwd.lintian-overrides
vendored
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
passwd: elevated-privileges 2755 root/shadow [usr/bin/chage]
|
||||||
|
passwd: elevated-privileges 4755 root/root [usr/bin/chfn]
|
||||||
|
passwd: elevated-privileges 4755 root/root [usr/bin/chsh]
|
||||||
|
passwd: elevated-privileges 2755 root/shadow [usr/bin/expiry]
|
||||||
|
passwd: elevated-privileges 4755 root/root [usr/bin/gpasswd]
|
||||||
|
passwd: elevated-privileges 4755 root/root [usr/bin/passwd]
|
||||||
1
debian/passwd.maintscript
vendored
Normal file
1
debian/passwd.maintscript
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
rm_conffile /etc/cron.daily/passwd 1:4.7-2~
|
||||||
57
debian/passwd.manpages
vendored
Normal file
57
debian/passwd.manpages
vendored
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
usr/share/man/*/man1/chage.1
|
||||||
|
usr/share/man/*/man1/chfn.1
|
||||||
|
usr/share/man/*/man1/chsh.1
|
||||||
|
usr/share/man/*/man1/expiry.1
|
||||||
|
usr/share/man/*/man1/gpasswd.1
|
||||||
|
usr/share/man/*/man1/passwd.1
|
||||||
|
usr/share/man/*/man5/gshadow.5
|
||||||
|
usr/share/man/*/man5/passwd.5
|
||||||
|
usr/share/man/*/man5/shadow.5
|
||||||
|
usr/share/man/*/man5/subgid.5
|
||||||
|
usr/share/man/*/man5/subuid.5
|
||||||
|
usr/share/man/*/man8/chgpasswd.8
|
||||||
|
usr/share/man/*/man8/chpasswd.8
|
||||||
|
usr/share/man/*/man8/groupadd.8
|
||||||
|
usr/share/man/*/man8/groupdel.8
|
||||||
|
usr/share/man/*/man8/groupmod.8
|
||||||
|
usr/share/man/*/man8/grpck.8
|
||||||
|
usr/share/man/*/man8/grpconv.8
|
||||||
|
usr/share/man/*/man8/grpunconv.8
|
||||||
|
usr/share/man/*/man8/newusers.8
|
||||||
|
usr/share/man/*/man8/pwck.8
|
||||||
|
usr/share/man/*/man8/pwconv.8
|
||||||
|
usr/share/man/*/man8/pwunconv.8
|
||||||
|
usr/share/man/*/man8/useradd.8
|
||||||
|
usr/share/man/*/man8/userdel.8
|
||||||
|
usr/share/man/*/man8/usermod.8
|
||||||
|
usr/share/man/*/man8/vigr.8
|
||||||
|
usr/share/man/*/man8/vipw.8
|
||||||
|
usr/share/man/man1/chage.1
|
||||||
|
usr/share/man/man1/chfn.1
|
||||||
|
usr/share/man/man1/chsh.1
|
||||||
|
usr/share/man/man1/expiry.1
|
||||||
|
usr/share/man/man1/gpasswd.1
|
||||||
|
usr/share/man/man1/passwd.1
|
||||||
|
usr/share/man/man5/gshadow.5
|
||||||
|
usr/share/man/man5/passwd.5
|
||||||
|
usr/share/man/man5/shadow.5
|
||||||
|
usr/share/man/man5/subgid.5
|
||||||
|
usr/share/man/man5/subuid.5
|
||||||
|
usr/share/man/man8/chgpasswd.8
|
||||||
|
usr/share/man/man8/chpasswd.8
|
||||||
|
usr/share/man/man8/groupadd.8
|
||||||
|
usr/share/man/man8/groupdel.8
|
||||||
|
usr/share/man/man8/groupmod.8
|
||||||
|
usr/share/man/man8/grpck.8
|
||||||
|
usr/share/man/man8/grpconv.8
|
||||||
|
usr/share/man/man8/grpunconv.8
|
||||||
|
usr/share/man/man8/newusers.8
|
||||||
|
usr/share/man/man8/pwck.8
|
||||||
|
usr/share/man/man8/pwconv.8
|
||||||
|
usr/share/man/man8/pwunconv.8
|
||||||
|
usr/share/man/man8/shadowconfig.8
|
||||||
|
usr/share/man/man8/useradd.8
|
||||||
|
usr/share/man/man8/userdel.8
|
||||||
|
usr/share/man/man8/usermod.8
|
||||||
|
usr/share/man/man8/vigr.8
|
||||||
|
usr/share/man/man8/vipw.8
|
||||||
5
debian/passwd.newusers.pam
vendored
Normal file
5
debian/passwd.newusers.pam
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# The PAM configuration file for the Shadow 'newusers' service
|
||||||
|
#
|
||||||
|
|
||||||
|
@include common-password
|
||||||
|
|
||||||
6
debian/passwd.passwd.pam
vendored
Normal file
6
debian/passwd.passwd.pam
vendored
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
#
|
||||||
|
# The PAM configuration file for the Shadow `passwd' service
|
||||||
|
#
|
||||||
|
|
||||||
|
@include common-password
|
||||||
|
|
||||||
30
debian/passwd.postinst
vendored
Normal file
30
debian/passwd.postinst
vendored
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
configure)
|
||||||
|
if ! getent group shadow | grep -q '^shadow:[^:]*:42'
|
||||||
|
then
|
||||||
|
groupadd -g 42 shadow || (
|
||||||
|
cat <<EOF
|
||||||
|
Group ID 42 has been allocated for the shadow group. You have either
|
||||||
|
used 42 yourself or created a shadow group with a different ID.
|
||||||
|
Please correct this problem and reconfigure with ``dpkg --configure passwd''.
|
||||||
|
|
||||||
|
Note that both user and group IDs in the range 0-99 are globally
|
||||||
|
allocated by the Debian project and must be the same on every Debian
|
||||||
|
system.
|
||||||
|
EOF
|
||||||
|
exit 1
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# Run shadowconfig only on new installs
|
||||||
|
[ -z "$2" ] && shadowconfig on
|
||||||
|
|
||||||
|
#DEBHELPER#
|
||||||
|
|
||||||
|
exit 0
|
||||||
8
debian/passwd.tmpfiles
vendored
Normal file
8
debian/passwd.tmpfiles
vendored
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# If a password operation is in progress and we lose power, stale lockfiles
|
||||||
|
# can be left behind. Clear them on boot.
|
||||||
|
r! /etc/gshadow.lock
|
||||||
|
r! /etc/shadow.lock
|
||||||
|
r! /etc/passwd.lock
|
||||||
|
r! /etc/group.lock
|
||||||
|
r! /etc/subuid.lock
|
||||||
|
r! /etc/subgid.lock
|
||||||
8
debian/passwd.useradd.pam
vendored
Normal file
8
debian/passwd.useradd.pam
vendored
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# The PAM configuration file for the Shadow 'useradd' service
|
||||||
|
#
|
||||||
|
|
||||||
|
# This allows root to add users without being prompted for a password
|
||||||
|
auth sufficient pam_rootok.so
|
||||||
|
|
||||||
|
# checks for account validity
|
||||||
|
account required pam_permit.so
|
||||||
8
debian/passwd.userdel.pam
vendored
Normal file
8
debian/passwd.userdel.pam
vendored
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# The PAM configuration file for the Shadow 'userdel' service
|
||||||
|
#
|
||||||
|
|
||||||
|
# This allows root to remove users without being prompted for a password
|
||||||
|
auth sufficient pam_rootok.so
|
||||||
|
|
||||||
|
# checks for account validity
|
||||||
|
account required pam_permit.so
|
||||||
8
debian/passwd.usermod.pam
vendored
Normal file
8
debian/passwd.usermod.pam
vendored
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# The PAM configuration file for the Shadow 'groupdel' service
|
||||||
|
#
|
||||||
|
|
||||||
|
# This allows root to remove groups without being prompted for a password
|
||||||
|
auth sufficient pam_rootok.so
|
||||||
|
|
||||||
|
# checks for account validity
|
||||||
|
account required pam_permit.so
|
||||||
493
debian/patches/debian/Adapt-login.defs-for-Debian.patch
vendored
Normal file
493
debian/patches/debian/Adapt-login.defs-for-Debian.patch
vendored
Normal file
@@ -0,0 +1,493 @@
|
|||||||
|
From: Shadow package maintainers <pkg-shadow-devel@lists.alioth.debian.org>
|
||||||
|
Date: Sun, 7 Jul 2024 14:06:39 +0200
|
||||||
|
Subject: Adapt login.defs for Debian
|
||||||
|
|
||||||
|
Remove settings only applicable to shadow's su, which we do not use.
|
||||||
|
Remove settings only applicable without PAM support enabled.
|
||||||
|
Remove obscure commented-out settings.
|
||||||
|
Remove explanation about write(1), which Debian does not ship anymore.
|
||||||
|
---
|
||||||
|
etc/login.defs | 367 ++++-----------------------------------------------------
|
||||||
|
1 file changed, 25 insertions(+), 342 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/etc/login.defs b/etc/login.defs
|
||||||
|
index 966724c..94c6af1 100644
|
||||||
|
--- a/etc/login.defs
|
||||||
|
+++ b/etc/login.defs
|
||||||
|
@@ -1,133 +1,20 @@
|
||||||
|
#
|
||||||
|
# /etc/login.defs - Configuration control definitions for the shadow package.
|
||||||
|
#
|
||||||
|
-# $Id$
|
||||||
|
-#
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# Delay in seconds before being allowed another attempt after a login failure
|
||||||
|
-# Note: when PAM is used, some modules may enforce a minimum delay (e.g.
|
||||||
|
-# pam_unix(8) enforces a 2s delay)
|
||||||
|
-#
|
||||||
|
-FAIL_DELAY 3
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# Enable logging and display of /var/log/faillog login(1) failure info.
|
||||||
|
-#
|
||||||
|
-FAILLOG_ENAB yes
|
||||||
|
|
||||||
|
#
|
||||||
|
# Enable display of unknown usernames when login(1) failures are recorded.
|
||||||
|
#
|
||||||
|
+# WARNING: Unknown usernames may become world readable.
|
||||||
|
+# See #290803 and #298773 for details about how this could become a security
|
||||||
|
+# concern
|
||||||
|
LOG_UNKFAIL_ENAB no
|
||||||
|
|
||||||
|
-#
|
||||||
|
-# Enable logging of successful logins
|
||||||
|
-#
|
||||||
|
-LOG_OK_LOGINS no
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# Enable logging and display of /var/log/lastlog login(1) time info.
|
||||||
|
-#
|
||||||
|
-LASTLOG_ENAB yes
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# Limit the highest user ID number for which the lastlog entries should
|
||||||
|
-# be updated.
|
||||||
|
-#
|
||||||
|
-# No LASTLOG_UID_MAX means that there is no user ID limit for writing
|
||||||
|
-# lastlog entries.
|
||||||
|
-#
|
||||||
|
-#LASTLOG_UID_MAX
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# Enable checking and display of mailbox status upon login.
|
||||||
|
-#
|
||||||
|
-# Disable if the shell startup files already check for mail
|
||||||
|
-# ("mailx -e" or equivalent).
|
||||||
|
-#
|
||||||
|
-MAIL_CHECK_ENAB yes
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# Enable additional checks upon password changes.
|
||||||
|
-#
|
||||||
|
-OBSCURE_CHECKS_ENAB yes
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# Enable checking of time restrictions specified in /etc/porttime.
|
||||||
|
-#
|
||||||
|
-PORTTIME_CHECKS_ENAB yes
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# Enable setting of ulimit, umask, and niceness from passwd(5) gecos field.
|
||||||
|
-#
|
||||||
|
-QUOTAS_ENAB yes
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# Enable "syslog" logging of su(1) activity - in addition to sulog file logging.
|
||||||
|
-# SYSLOG_SG_ENAB does the same for newgrp(1) and sg(1).
|
||||||
|
-#
|
||||||
|
-SYSLOG_SU_ENAB yes
|
||||||
|
-SYSLOG_SG_ENAB yes
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# If defined, either full pathname of a file containing device names or
|
||||||
|
-# a ":" delimited list of device names. Root logins will be allowed only
|
||||||
|
-# from these devices.
|
||||||
|
-#
|
||||||
|
-CONSOLE /etc/securetty
|
||||||
|
-#CONSOLE console:tty01:tty02:tty03:tty04
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# If defined, all su(1) activity is logged to this file.
|
||||||
|
-#
|
||||||
|
-#SULOG_FILE /var/log/sulog
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# If defined, ":" delimited list of "message of the day" files to
|
||||||
|
-# be displayed upon login.
|
||||||
|
-#
|
||||||
|
-MOTD_FILE /etc/motd
|
||||||
|
-#MOTD_FILE /etc/motd:/usr/lib/news/news-motd
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# If defined, this file will be output before each login(1) prompt.
|
||||||
|
-#
|
||||||
|
-#ISSUE_FILE /etc/issue
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# If defined, file which maps tty line to TERM environment parameter.
|
||||||
|
-# Each line of the file is in a format similar to "vt100 tty01".
|
||||||
|
-#
|
||||||
|
-#TTYTYPE_FILE /etc/ttytype
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# If defined, login(1) failures will be logged here in a utmp format.
|
||||||
|
-# last(1), when invoked as lastb(1), will read /var/log/btmp, so...
|
||||||
|
-#
|
||||||
|
-FTMP_FILE /var/log/btmp
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# If defined, name of file whose presence will inhibit non-root
|
||||||
|
-# logins. The content of this file should be a message indicating
|
||||||
|
-# why logins are inhibited.
|
||||||
|
-#
|
||||||
|
-NOLOGINS_FILE /etc/nologin
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# If defined, the command name to display when running "su -". For
|
||||||
|
-# example, if this is defined as "su" then ps(1) will display the
|
||||||
|
-# command as "-su". If not defined, then ps(1) will display the
|
||||||
|
-# name of the shell actually being run, e.g. something like "-sh".
|
||||||
|
-#
|
||||||
|
-SU_NAME su
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# *REQUIRED*
|
||||||
|
+# REQUIRED for useradd/userdel/usermod
|
||||||
|
# Directory where mailboxes reside, _or_ name of file, relative to the
|
||||||
|
# home directory. If you _do_ define both, MAIL_DIR takes precedence.
|
||||||
|
#
|
||||||
|
-MAIL_DIR /var/spool/mail
|
||||||
|
+MAIL_DIR /var/mail
|
||||||
|
#MAIL_FILE .mail
|
||||||
|
|
||||||
|
#
|
||||||
|
@@ -139,40 +26,21 @@ MAIL_DIR /var/spool/mail
|
||||||
|
HUSHLOGIN_FILE .hushlogin
|
||||||
|
#HUSHLOGIN_FILE /etc/hushlogins
|
||||||
|
|
||||||
|
-#
|
||||||
|
-# If defined, either a TZ environment parameter spec or the
|
||||||
|
-# fully-rooted pathname of a file containing such a spec.
|
||||||
|
-#
|
||||||
|
-#ENV_TZ TZ=CST6CDT
|
||||||
|
-#ENV_TZ /etc/tzname
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# If defined, an HZ environment parameter spec.
|
||||||
|
-#
|
||||||
|
-# for Linux/x86
|
||||||
|
-ENV_HZ HZ=100
|
||||||
|
-# For Linux/Alpha...
|
||||||
|
-#ENV_HZ HZ=1024
|
||||||
|
-
|
||||||
|
#
|
||||||
|
# *REQUIRED* The default PATH settings, for superuser and normal users.
|
||||||
|
#
|
||||||
|
# (they are minimal, add the rest in the shell startup files)
|
||||||
|
-ENV_SUPATH PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
||||||
|
-ENV_PATH PATH=/bin:/usr/bin
|
||||||
|
+ENV_SUPATH PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||||
|
+ENV_PATH PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
|
||||||
|
|
||||||
|
#
|
||||||
|
-# Terminal permissions
|
||||||
|
+# Terminal permissions for terminals after login(1).
|
||||||
|
+# These settings are ignored for remote and other logins.
|
||||||
|
#
|
||||||
|
# TTYGROUP Login tty will be assigned this group ownership.
|
||||||
|
# TTYPERM Login tty will be set to this permission.
|
||||||
|
#
|
||||||
|
-# If you have a write(1) program which is "setgid" to a special group
|
||||||
|
-# which owns the terminals, define TTYGROUP as the number of such group
|
||||||
|
-# and TTYPERM as 0620. Otherwise leave TTYGROUP commented out and
|
||||||
|
-# set TTYPERM to either 622 or 600.
|
||||||
|
-#
|
||||||
|
-TTYGROUP tty
|
||||||
|
+#TTYGROUP tty
|
||||||
|
TTYPERM 0600
|
||||||
|
|
||||||
|
#
|
||||||
|
@@ -180,61 +48,35 @@ TTYPERM 0600
|
||||||
|
#
|
||||||
|
# ERASECHAR Terminal ERASE character ('\010' = backspace).
|
||||||
|
# KILLCHAR Terminal KILL character ('\025' = CTRL/U).
|
||||||
|
-# ULIMIT Default "ulimit" value.
|
||||||
|
#
|
||||||
|
# The ERASECHAR and KILLCHAR are used only on System V machines.
|
||||||
|
-# The ULIMIT is used only if the system supports it.
|
||||||
|
-# (now it works with setrlimit too; ulimit is in 512-byte units)
|
||||||
|
-#
|
||||||
|
-# Prefix these values with "0" to get octal, "0x" to get hexadecimal.
|
||||||
|
#
|
||||||
|
ERASECHAR 0177
|
||||||
|
KILLCHAR 025
|
||||||
|
-#ULIMIT 2097152
|
||||||
|
-
|
||||||
|
-# Default initial "umask" value used by login(1) on non-PAM enabled systems.
|
||||||
|
-# Default "umask" value for pam_umask(8) on PAM enabled systems.
|
||||||
|
-# UMASK is also used by useradd(8) and newusers(8) to set the mode for new
|
||||||
|
-# home directories if HOME_MODE is not set.
|
||||||
|
-# 022 is the default value, but 027, or even 077, could be considered
|
||||||
|
-# for increased privacy. There is no One True Answer here: each sysadmin
|
||||||
|
-# must make up their mind.
|
||||||
|
-UMASK 022
|
||||||
|
|
||||||
|
# HOME_MODE is used by useradd(8) and newusers(8) to set the mode for new
|
||||||
|
# home directories.
|
||||||
|
-# If HOME_MODE is not set, the value of UMASK is used to create the mode.
|
||||||
|
-#HOME_MODE 0700
|
||||||
|
+HOME_MODE 0700
|
||||||
|
|
||||||
|
#
|
||||||
|
# Password aging controls:
|
||||||
|
#
|
||||||
|
# PASS_MAX_DAYS Maximum number of days a password may be used.
|
||||||
|
# PASS_MIN_DAYS Minimum number of days allowed between password changes.
|
||||||
|
-# PASS_MIN_LEN Minimum acceptable password length.
|
||||||
|
# PASS_WARN_AGE Number of days warning given before a password expires.
|
||||||
|
#
|
||||||
|
PASS_MAX_DAYS 99999
|
||||||
|
PASS_MIN_DAYS 0
|
||||||
|
-PASS_MIN_LEN 5
|
||||||
|
PASS_WARN_AGE 7
|
||||||
|
|
||||||
|
-#
|
||||||
|
-# If "yes", the user must be listed as a member of the first gid 0 group
|
||||||
|
-# in /etc/group (called "root" on most Linux systems) to be able to "su"
|
||||||
|
-# to uid 0 accounts. If the group doesn't exist or is empty, no one
|
||||||
|
-# will be able to "su" to uid 0.
|
||||||
|
-#
|
||||||
|
-SU_WHEEL_ONLY no
|
||||||
|
-
|
||||||
|
#
|
||||||
|
# Min/max values for automatic uid selection in useradd(8)
|
||||||
|
#
|
||||||
|
UID_MIN 1000
|
||||||
|
UID_MAX 60000
|
||||||
|
# System accounts
|
||||||
|
-SYS_UID_MIN 101
|
||||||
|
-SYS_UID_MAX 999
|
||||||
|
+#SYS_UID_MIN 101
|
||||||
|
+#SYS_UID_MAX 999
|
||||||
|
# Extra per user uids
|
||||||
|
SUB_UID_MIN 100000
|
||||||
|
SUB_UID_MAX 600100000
|
||||||
|
@@ -246,8 +88,8 @@ SUB_UID_COUNT 65536
|
||||||
|
GID_MIN 1000
|
||||||
|
GID_MAX 60000
|
||||||
|
# System accounts
|
||||||
|
-SYS_GID_MIN 101
|
||||||
|
-SYS_GID_MAX 999
|
||||||
|
+#SYS_GID_MIN 101
|
||||||
|
+#SYS_GID_MAX 999
|
||||||
|
# Extra per user group ids
|
||||||
|
SUB_GID_MIN 100000
|
||||||
|
SUB_GID_MAX 600100000
|
||||||
|
@@ -255,6 +97,9 @@ SUB_GID_COUNT 65536
|
||||||
|
|
||||||
|
#
|
||||||
|
# Max number of login(1) retries if password is bad
|
||||||
|
+# This will most likely be overriden by PAM, since the default pam_unix module
|
||||||
|
+# has it's own built in of 3 retries. However, this is a safe fallback in case
|
||||||
|
+# you are using an authentication module that does not enforce PAM_MAXTRIES.
|
||||||
|
#
|
||||||
|
LOGIN_RETRIES 5
|
||||||
|
|
||||||
|
@@ -263,28 +108,6 @@ LOGIN_RETRIES 5
|
||||||
|
#
|
||||||
|
LOGIN_TIMEOUT 60
|
||||||
|
|
||||||
|
-#
|
||||||
|
-# Maximum number of attempts to change password if rejected (too easy)
|
||||||
|
-#
|
||||||
|
-PASS_CHANGE_TRIES 5
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# Warn about weak passwords (but still allow them) if you are root.
|
||||||
|
-#
|
||||||
|
-PASS_ALWAYS_WARN yes
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# Number of significant characters in the password for crypt().
|
||||||
|
-# Default is 8, don't change unless your crypt() is better.
|
||||||
|
-# Only used for DES encryption algorithm.
|
||||||
|
-#
|
||||||
|
-#PASS_MAX_LEN 8
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# Require password before chfn(1)/chsh(1) can make any changes.
|
||||||
|
-#
|
||||||
|
-CHFN_AUTH yes
|
||||||
|
-
|
||||||
|
#
|
||||||
|
# Which fields may be changed by regular users using chfn(1) - use
|
||||||
|
# any combination of letters "frwh" (full name, room number, work
|
||||||
|
@@ -294,29 +117,6 @@ CHFN_AUTH yes
|
||||||
|
CHFN_RESTRICT rwh
|
||||||
|
|
||||||
|
#
|
||||||
|
-# Password prompt (%s will be replaced by user name).
|
||||||
|
-#
|
||||||
|
-# XXX - it doesn't work correctly yet, for now leave it commented out
|
||||||
|
-# to use the default which is just "Password: ".
|
||||||
|
-#LOGIN_STRING "%s's Password: "
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# Only works if compiled with MD5_CRYPT defined:
|
||||||
|
-# If set to "yes", new passwords will be encrypted using the MD5-based
|
||||||
|
-# algorithm compatible with the one used by recent releases of FreeBSD.
|
||||||
|
-# It supports passwords of unlimited length and longer salt strings.
|
||||||
|
-# Set to "no" if you need to copy encrypted passwords to other systems
|
||||||
|
-# which don't understand the new algorithm. Default is "no".
|
||||||
|
-#
|
||||||
|
-# Note: if you use PAM, it is recommended to use a value consistent with
|
||||||
|
-# the PAM modules configuration.
|
||||||
|
-#
|
||||||
|
-# This variable is deprecated. You should use ENCRYPT_METHOD instead.
|
||||||
|
-#
|
||||||
|
-#MD5_CRYPT_ENAB no
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# Only works if compiled with ENCRYPTMETHOD_SELECT defined:
|
||||||
|
# If set to MD5, MD5-based algorithm will be used for encrypting password
|
||||||
|
# If set to SHA256, SHA256-based algorithm will be used for encrypting password
|
||||||
|
# If set to SHA512, SHA512-based algorithm will be used for encrypting password
|
||||||
|
@@ -326,66 +126,10 @@ CHFN_RESTRICT rwh
|
||||||
|
# MD5 and DES should not be used for new hashes, see crypt(5) for recommendations.
|
||||||
|
# Overrides the MD5_CRYPT_ENAB option
|
||||||
|
#
|
||||||
|
-# Note: if you use PAM, it is recommended to use a value consistent with
|
||||||
|
+# Note: It is recommended to use a value consistent with
|
||||||
|
# the PAM modules configuration.
|
||||||
|
#
|
||||||
|
-#ENCRYPT_METHOD DES
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# Only works if ENCRYPT_METHOD is set to SHA256 or SHA512.
|
||||||
|
-#
|
||||||
|
-# Define the number of SHA rounds.
|
||||||
|
-# With a lot of rounds, it is more difficult to brute-force the password.
|
||||||
|
-# However, more CPU resources will be needed to authenticate users if
|
||||||
|
-# this value is increased.
|
||||||
|
-#
|
||||||
|
-# If not specified, the libc will choose the default number of rounds (5000),
|
||||||
|
-# which is orders of magnitude too low for modern hardware.
|
||||||
|
-# The values must be within the 1000-999999999 range.
|
||||||
|
-# If only one of the MIN or MAX values is set, then this value will be used.
|
||||||
|
-# If MIN > MAX, the highest value will be used.
|
||||||
|
-#
|
||||||
|
-#SHA_CRYPT_MIN_ROUNDS 5000
|
||||||
|
-#SHA_CRYPT_MAX_ROUNDS 5000
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# Only works if ENCRYPT_METHOD is set to BCRYPT.
|
||||||
|
-#
|
||||||
|
-# Define the number of BCRYPT rounds.
|
||||||
|
-# With a lot of rounds, it is more difficult to brute-force the password.
|
||||||
|
-# However, more CPU resources will be needed to authenticate users if
|
||||||
|
-# this value is increased.
|
||||||
|
-#
|
||||||
|
-# If not specified, 13 rounds will be attempted.
|
||||||
|
-# If only one of the MIN or MAX values is set, then this value will be used.
|
||||||
|
-# If MIN > MAX, the highest value will be used.
|
||||||
|
-#
|
||||||
|
-#BCRYPT_MIN_ROUNDS 13
|
||||||
|
-#BCRYPT_MAX_ROUNDS 13
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# Only works if ENCRYPT_METHOD is set to YESCRYPT.
|
||||||
|
-#
|
||||||
|
-# Define the YESCRYPT cost factor.
|
||||||
|
-# With a higher cost factor, it is more difficult to brute-force the password.
|
||||||
|
-# However, more CPU time and more memory will be needed to authenticate users
|
||||||
|
-# if this value is increased.
|
||||||
|
-#
|
||||||
|
-# If not specified, a cost factor of 5 will be used.
|
||||||
|
-# The value must be within the 1-11 range.
|
||||||
|
-#
|
||||||
|
-#YESCRYPT_COST_FACTOR 5
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# List of groups to add to the user's supplementary group set
|
||||||
|
-# when logging in from the console (as determined by the CONSOLE
|
||||||
|
-# setting). Default is none.
|
||||||
|
-#
|
||||||
|
-# Use with caution - it is possible for users to gain permanent
|
||||||
|
-# access to these groups, even when not logged in from the console.
|
||||||
|
-# How to do it is left as an exercise for the reader...
|
||||||
|
-#
|
||||||
|
-#CONSOLE_GROUPS floppy:audio:cdrom
|
||||||
|
+ENCRYPT_METHOD YESCRYPT
|
||||||
|
|
||||||
|
#
|
||||||
|
# Should login be allowed if we can't cd to the home directory?
|
||||||
|
@@ -402,72 +146,11 @@ DEFAULT_HOME yes
|
||||||
|
NONEXISTENT /nonexistent
|
||||||
|
|
||||||
|
#
|
||||||
|
-# If this file exists and is readable, login environment will be
|
||||||
|
-# read from it. Every line should be in the form name=value.
|
||||||
|
+# If set to yes, userdel(8) will remove the user's group if it contains no more
|
||||||
|
+# members, and useradd(8) will create by default a group with the name of the
|
||||||
|
+# user.
|
||||||
|
#
|
||||||
|
-ENVIRON_FILE /etc/environment
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# If defined, this command is run when removing a user.
|
||||||
|
-# It should remove any at/cron/print jobs etc. owned by
|
||||||
|
-# the user to be removed (passed as the first argument).
|
||||||
|
-#
|
||||||
|
-#USERDEL_CMD /usr/sbin/userdel_local
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# Enable setting of the umask group bits to be the same as owner bits
|
||||||
|
-# (examples: 022 -> 002, 077 -> 007) for non-root users, if the uid is
|
||||||
|
-# the same as gid, and username is the same as the primary group name.
|
||||||
|
-#
|
||||||
|
-# This also enables userdel(8) to remove user groups if no members exist.
|
||||||
|
+# Other former uses of this variable are not used in PAM environments, such as
|
||||||
|
+# Debian.
|
||||||
|
#
|
||||||
|
USERGROUPS_ENAB yes
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# If set to a non-zero number, the shadow utilities will make sure that
|
||||||
|
-# groups never have more than this number of users on one line.
|
||||||
|
-# This permits to support split groups (groups split into multiple lines,
|
||||||
|
-# with the same group ID, to avoid limitation of the line length in the
|
||||||
|
-# group file).
|
||||||
|
-#
|
||||||
|
-# 0 is the default value and disables this feature.
|
||||||
|
-#
|
||||||
|
-#MAX_MEMBERS_PER_GROUP 0
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# If useradd(8) should create home directories for users by default (non
|
||||||
|
-# system users only).
|
||||||
|
-# This option is overridden with the -M or -m flags on the useradd(8)
|
||||||
|
-# command-line.
|
||||||
|
-#
|
||||||
|
-#CREATE_HOME yes
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# Force use shadow, even if shadow passwd & shadow group files are
|
||||||
|
-# missing.
|
||||||
|
-#
|
||||||
|
-#FORCE_SHADOW yes
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# Allow newuidmap and newgidmap when running under an alternative
|
||||||
|
-# primary group.
|
||||||
|
-#
|
||||||
|
-#GRANT_AUX_GROUP_SUBIDS yes
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# Prevents an empty password field to be interpreted as "no authentication
|
||||||
|
-# required".
|
||||||
|
-# Set to "yes" to prevent for all accounts
|
||||||
|
-# Set to "superuser" to prevent for UID 0 / root (default)
|
||||||
|
-# Set to "no" to not prevent for any account (dangerous, historical default)
|
||||||
|
-PREVENT_NO_AUTH superuser
|
||||||
|
-
|
||||||
|
-#
|
||||||
|
-# Select the HMAC cryptography algorithm.
|
||||||
|
-# Used in pam_timestamp module to calculate the keyed-hash message
|
||||||
|
-# authentication code.
|
||||||
|
-#
|
||||||
|
-# Note: it is recommended to check hmac(3) to see the possible algorithms
|
||||||
|
-# that are available in your system.
|
||||||
|
-#
|
||||||
|
-#HMAC_CRYPTO_ALGO SHA512
|
||||||
65
debian/patches/debian/Document-the-shadowconfig-utility.patch
vendored
Normal file
65
debian/patches/debian/Document-the-shadowconfig-utility.patch
vendored
Normal file
@@ -0,0 +1,65 @@
|
|||||||
|
From: Shadow package maintainers <pkg-shadow-devel@lists.alioth.debian.org>
|
||||||
|
Date: Sat, 22 Jun 2024 17:39:41 +0200
|
||||||
|
Subject: Document the shadowconfig utility
|
||||||
|
|
||||||
|
Status wrt upstream: The shadowconfig utility is Debian-specific.
|
||||||
|
The man page is Debian-specific, but it used to be distributed by
|
||||||
|
upstream.
|
||||||
|
---
|
||||||
|
man/Makefile.am | 1 +
|
||||||
|
man/man8/shadowconfig.8 | 34 ++++++++++++++++++++++++++++++++++
|
||||||
|
2 files changed, 35 insertions(+)
|
||||||
|
create mode 100644 man/man8/shadowconfig.8
|
||||||
|
|
||||||
|
diff --git a/man/Makefile.am b/man/Makefile.am
|
||||||
|
index f34ed7a..2523e84 100644
|
||||||
|
--- a/man/Makefile.am
|
||||||
|
+++ b/man/Makefile.am
|
||||||
|
@@ -36,6 +36,7 @@ man_MANS = \
|
||||||
|
man8/pwck.8 \
|
||||||
|
man8/pwconv.8 \
|
||||||
|
man8/pwunconv.8 \
|
||||||
|
+ man8/shadowconfig.8 \
|
||||||
|
man1/sg.1 \
|
||||||
|
man3/shadow.3 \
|
||||||
|
man5/shadow.5 \
|
||||||
|
diff --git a/man/man8/shadowconfig.8 b/man/man8/shadowconfig.8
|
||||||
|
new file mode 100644
|
||||||
|
index 0000000..a463a92
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/man/man8/shadowconfig.8
|
||||||
|
@@ -0,0 +1,34 @@
|
||||||
|
+.TH shadowconfig 8 2025-02-17 "Debian shadow-utils"
|
||||||
|
+.SH Name
|
||||||
|
+shadowconfig \- turn shadow passwords on
|
||||||
|
+.
|
||||||
|
+.
|
||||||
|
+.SH Synopsis
|
||||||
|
+.SY shadowconfig on
|
||||||
|
+.YS
|
||||||
|
+.
|
||||||
|
+.
|
||||||
|
+.SH Description
|
||||||
|
+.I shadowconfig\ on
|
||||||
|
+will turn shadow passwords on.
|
||||||
|
+.
|
||||||
|
+.
|
||||||
|
+.SH Errors
|
||||||
|
+.B shadowconfig
|
||||||
|
+will print an error message and exit with a nonzero code
|
||||||
|
+if it finds anything awry.
|
||||||
|
+If that happens,
|
||||||
|
+you should correct the error and run it again.
|
||||||
|
+Turning shadow passwords on when they are already on
|
||||||
|
+is harmless.
|
||||||
|
+.
|
||||||
|
+.
|
||||||
|
+.SH Caveats
|
||||||
|
+Turning shadow passwords off using shadowconfig
|
||||||
|
+is not supported anymore.
|
||||||
|
+.
|
||||||
|
+.
|
||||||
|
+.SH See also
|
||||||
|
+Read
|
||||||
|
+.I /usr/share/doc/passwd/README.Debian
|
||||||
|
+for a brief introduction to shadow passwords and related features.
|
||||||
37
debian/patches/debian/Exclude-Debian-globally-allocated-UIDs-from-sys_uid-range.patch
vendored
Normal file
37
debian/patches/debian/Exclude-Debian-globally-allocated-UIDs-from-sys_uid-range.patch
vendored
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
From: Chris Hofstaedtler <zeha@debian.org>
|
||||||
|
Date: Sun, 16 Mar 2025 13:29:45 +0100
|
||||||
|
Subject: Exclude Debian-globally allocated UIDs from sys_uid range warning
|
||||||
|
|
||||||
|
Bug: http://bugs.debian.org/1100563
|
||||||
|
---
|
||||||
|
src/useradd.c | 11 +++++++++--
|
||||||
|
1 file changed, 9 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/useradd.c b/src/useradd.c
|
||||||
|
index b3ab1c4..bbc9859 100644
|
||||||
|
--- a/src/useradd.c
|
||||||
|
+++ b/src/useradd.c
|
||||||
|
@@ -2406,14 +2406,21 @@ static void create_mail(const struct option_flags *flags)
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
+/* See Debian Policy 9.2.2 "UID and GID classes"
|
||||||
|
+ * https://www.debian.org/doc/debian-policy/ch-opersys.html#uid-and-gid-classes
|
||||||
|
+ */
|
||||||
|
+#define DEBIAN_GLOBAL_UID_MIN ((uid_t)60000)
|
||||||
|
+#define DEBIAN_GLOBAL_UID_MAX ((uid_t)64999)
|
||||||
|
+
|
||||||
|
static void check_uid_range(int rflg, uid_t user_id)
|
||||||
|
{
|
||||||
|
uid_t uid_min ;
|
||||||
|
uid_t uid_max ;
|
||||||
|
if (rflg) {
|
||||||
|
uid_max = getdef_ulong("SYS_UID_MAX",getdef_ulong("UID_MIN",1000UL)-1);
|
||||||
|
- if (user_id > uid_max) {
|
||||||
|
- fprintf(stderr, _("%s warning: %s's uid %d is greater than SYS_UID_MAX %d\n"), Prog, user_name, user_id, uid_max);
|
||||||
|
+ if (user_id > uid_max
|
||||||
|
+ && (!(user_id >= DEBIAN_GLOBAL_UID_MIN && user_id <= DEBIAN_GLOBAL_UID_MAX))) {
|
||||||
|
+ fprintf(stderr, _("%s warning: %s's uid %d is greater than SYS_UID_MAX %d\n"), Prog, user_name, user_id, uid_max);
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
uid_min = getdef_ulong("UID_MIN", 1000UL);
|
||||||
52
debian/patches/debian/Keep-using-Debian-adduser-defaults.patch
vendored
Normal file
52
debian/patches/debian/Keep-using-Debian-adduser-defaults.patch
vendored
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
From: Balint Reczey <balint@balintreczey.hu>
|
||||||
|
Date: Sat, 22 Jun 2024 17:39:41 +0200
|
||||||
|
Subject: Keep using Debian's adduser defaults
|
||||||
|
|
||||||
|
Bug: https://github.com/shadow-maint/shadow/issues/501
|
||||||
|
Bug-Debian: https://bugs.debian.org/1004710
|
||||||
|
Forwarded: not-needed
|
||||||
|
|
||||||
|
Upstream's bbf4b79bc49fd1826eb41f6629669ef0b647267b commit
|
||||||
|
in 4.9 merged those values from upstream's default configuration file
|
||||||
|
which is not shipped in Debian.
|
||||||
|
This patch keeps the program's compiled in defaults in sync with the
|
||||||
|
configuration files shipped in Debian (debian/default/useradd).
|
||||||
|
---
|
||||||
|
man/useradd.8.xml | 2 +-
|
||||||
|
src/useradd.c | 4 ++--
|
||||||
|
2 files changed, 3 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/man/useradd.8.xml b/man/useradd.8.xml
|
||||||
|
index e6db7f6..2e83b4f 100644
|
||||||
|
--- a/man/useradd.8.xml
|
||||||
|
+++ b/man/useradd.8.xml
|
||||||
|
@@ -262,7 +262,7 @@
|
||||||
|
command line), useradd will set the primary group of the new
|
||||||
|
user to the value specified by the <option>GROUP</option>
|
||||||
|
variable in <filename>/etc/default/useradd</filename>, or
|
||||||
|
- 1000 by default.
|
||||||
|
+ 100 by default.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
diff --git a/src/useradd.c b/src/useradd.c
|
||||||
|
index 899efe3..b3ab1c4 100644
|
||||||
|
--- a/src/useradd.c
|
||||||
|
+++ b/src/useradd.c
|
||||||
|
@@ -106,14 +106,14 @@ static const char Prog[] = "useradd";
|
||||||
|
/*
|
||||||
|
* These defaults are used if there is no defaults file.
|
||||||
|
*/
|
||||||
|
-static gid_t def_group = 1000;
|
||||||
|
+static gid_t def_group = 100;
|
||||||
|
static const char *def_groups = "";
|
||||||
|
static const char *def_gname = "other";
|
||||||
|
static const char *def_home = "/home";
|
||||||
|
static const char *def_shell = "/bin/bash";
|
||||||
|
static const char *def_template = SKEL_DIR;
|
||||||
|
static const char *def_usrtemplate = USRSKELDIR;
|
||||||
|
-static const char *def_create_mail_spool = "yes";
|
||||||
|
+static const char *def_create_mail_spool = "no";
|
||||||
|
static const char *def_log_init = "yes";
|
||||||
|
|
||||||
|
static long def_inactive = -1;
|
||||||
46
debian/patches/debian/Recommend-using-adduser-and-deluser.patch
vendored
Normal file
46
debian/patches/debian/Recommend-using-adduser-and-deluser.patch
vendored
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
From: Shadow package maintainers <pkg-shadow-devel@lists.alioth.debian.org>
|
||||||
|
Date: Sat, 22 Jun 2024 17:39:41 +0200
|
||||||
|
Subject: Recommend using adduser and deluser
|
||||||
|
|
||||||
|
Fixes: #406046
|
||||||
|
|
||||||
|
Status wrt upstream: Debian specific patch.
|
||||||
|
---
|
||||||
|
man/useradd.8.xml | 6 ++++++
|
||||||
|
man/userdel.8.xml | 6 ++++++
|
||||||
|
2 files changed, 12 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/man/useradd.8.xml b/man/useradd.8.xml
|
||||||
|
index 2e83b4f..67c469a 100644
|
||||||
|
--- a/man/useradd.8.xml
|
||||||
|
+++ b/man/useradd.8.xml
|
||||||
|
@@ -82,6 +82,12 @@
|
||||||
|
|
||||||
|
<refsect1 id='description'>
|
||||||
|
<title>DESCRIPTION</title>
|
||||||
|
+ <para>
|
||||||
|
+ <command>useradd</command> is a low level utility for adding
|
||||||
|
+ users. On Debian, administrators should usually use
|
||||||
|
+ <citerefentry><refentrytitle>adduser</refentrytitle>
|
||||||
|
+ <manvolnum>8</manvolnum></citerefentry> instead.
|
||||||
|
+ </para>
|
||||||
|
<para>
|
||||||
|
When invoked without the <option>-D</option> option, the
|
||||||
|
<command>useradd</command> command creates a new user account using
|
||||||
|
diff --git a/man/userdel.8.xml b/man/userdel.8.xml
|
||||||
|
index e10a6af..863d3f1 100644
|
||||||
|
--- a/man/userdel.8.xml
|
||||||
|
+++ b/man/userdel.8.xml
|
||||||
|
@@ -58,6 +58,12 @@
|
||||||
|
|
||||||
|
<refsect1 id='description'>
|
||||||
|
<title>DESCRIPTION</title>
|
||||||
|
+ <para>
|
||||||
|
+ <command>userdel</command> is a low level utility for removing
|
||||||
|
+ users. On Debian, administrators should usually use
|
||||||
|
+ <citerefentry><refentrytitle>deluser</refentrytitle>
|
||||||
|
+ <manvolnum>8</manvolnum></citerefentry> instead.
|
||||||
|
+ </para>
|
||||||
|
<para>
|
||||||
|
The <command>userdel</command> command modifies the system account
|
||||||
|
files, deleting all entries that refer to the user name <emphasis
|
||||||
75
debian/patches/debian/Set-group-and-mode-for-g-shadow-files.patch
vendored
Normal file
75
debian/patches/debian/Set-group-and-mode-for-g-shadow-files.patch
vendored
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
From: Shadow package maintainers <pkg-shadow-devel@lists.alioth.debian.org>
|
||||||
|
Date: Sat, 22 Jun 2024 17:39:41 +0200
|
||||||
|
Subject: Set group and mode for [g]shadow files
|
||||||
|
|
||||||
|
Set group 'shadow' and mode 0400.
|
||||||
|
|
||||||
|
Fixes: #166793
|
||||||
|
---
|
||||||
|
lib/commonio.c | 12 ++++++++++++
|
||||||
|
lib/sgroupio.c | 2 +-
|
||||||
|
lib/shadowio.c | 2 +-
|
||||||
|
3 files changed, 14 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/lib/commonio.c b/lib/commonio.c
|
||||||
|
index 2c6a1a2..860efb9 100644
|
||||||
|
--- a/lib/commonio.c
|
||||||
|
+++ b/lib/commonio.c
|
||||||
|
@@ -22,6 +22,7 @@
|
||||||
|
#include <sys/stat.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <utime.h>
|
||||||
|
+#include <grp.h>
|
||||||
|
|
||||||
|
#include "alloc/malloc.h"
|
||||||
|
#include "atoi/getnum.h"
|
||||||
|
@@ -931,12 +932,23 @@ commonio_close(struct commonio_db *db, MAYBE_UNUSED bool process_selinux)
|
||||||
|
if (errors)
|
||||||
|
goto fail;
|
||||||
|
} else {
|
||||||
|
+ struct group *grp;
|
||||||
|
/*
|
||||||
|
* Default permissions for new [g]shadow files.
|
||||||
|
*/
|
||||||
|
sb.st_mode = db->st_mode;
|
||||||
|
sb.st_uid = db->st_uid;
|
||||||
|
sb.st_gid = db->st_gid;
|
||||||
|
+
|
||||||
|
+ /*
|
||||||
|
+ * Try to retrieve the shadow's GID, and fall back to GID 0.
|
||||||
|
+ */
|
||||||
|
+ if (sb.st_gid == 0) {
|
||||||
|
+ if ((grp = getgrnam("shadow")) != NULL)
|
||||||
|
+ sb.st_gid = grp->gr_gid;
|
||||||
|
+ else
|
||||||
|
+ sb.st_gid = 0;
|
||||||
|
+ }
|
||||||
|
}
|
||||||
|
|
||||||
|
if (stprintf_a(buf, "%s+", db->filename) == -1)
|
||||||
|
diff --git a/lib/sgroupio.c b/lib/sgroupio.c
|
||||||
|
index ad3adc3..527f5be 100644
|
||||||
|
--- a/lib/sgroupio.c
|
||||||
|
+++ b/lib/sgroupio.c
|
||||||
|
@@ -213,7 +213,7 @@ static struct commonio_db gshadow_db = {
|
||||||
|
#ifdef WITH_SELINUX
|
||||||
|
NULL, /* scontext */
|
||||||
|
#endif
|
||||||
|
- 0400, /* st_mode */
|
||||||
|
+ 0440, /* st_mode */
|
||||||
|
0, /* st_uid */
|
||||||
|
0, /* st_gid */
|
||||||
|
NULL, /* head */
|
||||||
|
diff --git a/lib/shadowio.c b/lib/shadowio.c
|
||||||
|
index bf87503..be917ac 100644
|
||||||
|
--- a/lib/shadowio.c
|
||||||
|
+++ b/lib/shadowio.c
|
||||||
|
@@ -87,7 +87,7 @@ static struct commonio_db shadow_db = {
|
||||||
|
#ifdef WITH_SELINUX
|
||||||
|
NULL, /* scontext */
|
||||||
|
#endif /* WITH_SELINUX */
|
||||||
|
- 0400, /* st_mode */
|
||||||
|
+ 0440, /* st_mode */
|
||||||
|
0, /* st_uid */
|
||||||
|
0, /* st_gid */
|
||||||
|
NULL, /* head */
|
||||||
561
debian/patches/debian/Stop-building-programs-we-do-not-install.patch
vendored
Normal file
561
debian/patches/debian/Stop-building-programs-we-do-not-install.patch
vendored
Normal file
@@ -0,0 +1,561 @@
|
|||||||
|
From: Chris Hofstaedtler <zeha@debian.org>
|
||||||
|
Date: Tue, 6 Aug 2024 00:27:13 +0200
|
||||||
|
Subject: Stop building programs we do not install
|
||||||
|
|
||||||
|
---
|
||||||
|
man/Makefile.am | 15 ---------------
|
||||||
|
man/cs/Makefile.am | 9 ---------
|
||||||
|
man/da/Makefile.am | 3 ---
|
||||||
|
man/de/Makefile.am | 10 ----------
|
||||||
|
man/fr/Makefile.am | 10 ----------
|
||||||
|
man/hu/Makefile.am | 3 ---
|
||||||
|
man/id/Makefile.am | 1 -
|
||||||
|
man/it/Makefile.am | 10 ----------
|
||||||
|
man/ja/Makefile.am | 8 --------
|
||||||
|
man/ko/Makefile.am | 2 --
|
||||||
|
man/pl/Makefile.am | 6 ------
|
||||||
|
man/ru/Makefile.am | 9 ---------
|
||||||
|
man/sv/Makefile.am | 8 --------
|
||||||
|
man/tr/Makefile.am | 2 --
|
||||||
|
man/uk/Makefile.am | 9 ---------
|
||||||
|
man/zh_CN/Makefile.am | 10 ----------
|
||||||
|
man/zh_TW/Makefile.am | 2 --
|
||||||
|
src/Makefile.am | 7 +++----
|
||||||
|
18 files changed, 3 insertions(+), 121 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/man/Makefile.am b/man/Makefile.am
|
||||||
|
index 2523e84..05a0c86 100644
|
||||||
|
--- a/man/Makefile.am
|
||||||
|
+++ b/man/Makefile.am
|
||||||
|
@@ -13,8 +13,6 @@ man_MANS = \
|
||||||
|
man8/chpasswd.8 \
|
||||||
|
man1/chsh.1 \
|
||||||
|
man1/expiry.1 \
|
||||||
|
- man5/faillog.5 \
|
||||||
|
- man8/faillog.8 \
|
||||||
|
man3/getspnam.3 \
|
||||||
|
man1/gpasswd.1 \
|
||||||
|
man8/groupadd.8 \
|
||||||
|
@@ -25,19 +23,14 @@ man_MANS = \
|
||||||
|
man8/grpconv.8 \
|
||||||
|
man8/grpunconv.8 \
|
||||||
|
man5/gshadow.5 \
|
||||||
|
- man1/login.1 \
|
||||||
|
man5/login.defs.5 \
|
||||||
|
- man8/logoutd.8 \
|
||||||
|
- man1/newgrp.1 \
|
||||||
|
man8/newusers.8 \
|
||||||
|
- man8/nologin.8 \
|
||||||
|
man1/passwd.1 \
|
||||||
|
man5/passwd.5 \
|
||||||
|
man8/pwck.8 \
|
||||||
|
man8/pwconv.8 \
|
||||||
|
man8/pwunconv.8 \
|
||||||
|
man8/shadowconfig.8 \
|
||||||
|
- man1/sg.1 \
|
||||||
|
man3/shadow.3 \
|
||||||
|
man5/shadow.5 \
|
||||||
|
man8/useradd.8 \
|
||||||
|
@@ -82,8 +75,6 @@ man_XMANS = \
|
||||||
|
chpasswd.8.xml \
|
||||||
|
chsh.1.xml \
|
||||||
|
expiry.1.xml \
|
||||||
|
- faillog.5.xml \
|
||||||
|
- faillog.8.xml \
|
||||||
|
getsubids.1.xml \
|
||||||
|
gpasswd.1.xml \
|
||||||
|
groupadd.8.xml \
|
||||||
|
@@ -96,12 +87,9 @@ man_XMANS = \
|
||||||
|
login.1.xml \
|
||||||
|
login.access.5.xml \
|
||||||
|
login.defs.5.xml \
|
||||||
|
- logoutd.8.xml \
|
||||||
|
newgidmap.1.xml \
|
||||||
|
- newgrp.1.xml \
|
||||||
|
newuidmap.1.xml \
|
||||||
|
newusers.8.xml \
|
||||||
|
- nologin.8.xml \
|
||||||
|
passwd.1.xml \
|
||||||
|
passwd.5.xml \
|
||||||
|
porttime.5.xml \
|
||||||
|
@@ -109,9 +97,6 @@ man_XMANS = \
|
||||||
|
pwconv.8.xml \
|
||||||
|
shadow.3.xml \
|
||||||
|
shadow.5.xml \
|
||||||
|
- sg.1.xml \
|
||||||
|
- su.1.xml \
|
||||||
|
- suauth.5.xml \
|
||||||
|
subgid.5.xml \
|
||||||
|
subuid.5.xml \
|
||||||
|
useradd.8.xml \
|
||||||
|
diff --git a/man/cs/Makefile.am b/man/cs/Makefile.am
|
||||||
|
index 45aec38..e1f9f87 100644
|
||||||
|
--- a/man/cs/Makefile.am
|
||||||
|
+++ b/man/cs/Makefile.am
|
||||||
|
@@ -3,25 +3,16 @@ mandir = @mandir@/cs
|
||||||
|
|
||||||
|
man_MANS = \
|
||||||
|
man1/expiry.1 \
|
||||||
|
- man5/faillog.5 \
|
||||||
|
- man8/faillog.8 \
|
||||||
|
man1/gpasswd.1 \
|
||||||
|
man8/groupadd.8 \
|
||||||
|
man8/groupdel.8 \
|
||||||
|
man8/groupmod.8 \
|
||||||
|
man8/grpck.8 \
|
||||||
|
man5/gshadow.5 \
|
||||||
|
- man8/nologin.8 \
|
||||||
|
man5/passwd.5 \
|
||||||
|
man5/shadow.5 \
|
||||||
|
- man1/su.1 \
|
||||||
|
man8/vipw.8
|
||||||
|
|
||||||
|
if ENABLE_LASTLOG
|
||||||
|
man_MANS += man8/lastlog.8
|
||||||
|
endif
|
||||||
|
-
|
||||||
|
-EXTRA_DIST = $(man_MANS) \
|
||||||
|
- man8/groupmems.8 \
|
||||||
|
- man8/logoutd.8
|
||||||
|
-
|
||||||
|
diff --git a/man/da/Makefile.am b/man/da/Makefile.am
|
||||||
|
index c61b787..12234cb 100644
|
||||||
|
--- a/man/da/Makefile.am
|
||||||
|
+++ b/man/da/Makefile.am
|
||||||
|
@@ -6,10 +6,7 @@ man_MANS = \
|
||||||
|
man1/chfn.1 \
|
||||||
|
man8/groupdel.8 \
|
||||||
|
man5/gshadow.5 \
|
||||||
|
- man8/logoutd.8 \
|
||||||
|
man1/newgrp.1 \
|
||||||
|
- man8/nologin.8 \
|
||||||
|
- man1/sg.1 \
|
||||||
|
man8/vigr.8 \
|
||||||
|
man8/vipw.8
|
||||||
|
|
||||||
|
diff --git a/man/de/Makefile.am b/man/de/Makefile.am
|
||||||
|
index d3a6d6c..59602aa 100644
|
||||||
|
--- a/man/de/Makefile.am
|
||||||
|
+++ b/man/de/Makefile.am
|
||||||
|
@@ -8,34 +8,24 @@ man_MANS = \
|
||||||
|
man8/chpasswd.8 \
|
||||||
|
man1/chsh.1 \
|
||||||
|
man1/expiry.1 \
|
||||||
|
- man5/faillog.5 \
|
||||||
|
- man8/faillog.8 \
|
||||||
|
man3/getspnam.3 \
|
||||||
|
man1/gpasswd.1 \
|
||||||
|
man8/groupadd.8 \
|
||||||
|
man8/groupdel.8 \
|
||||||
|
- man8/groupmems.8 \
|
||||||
|
man8/groupmod.8 \
|
||||||
|
man8/grpck.8 \
|
||||||
|
man8/grpconv.8 \
|
||||||
|
man8/grpunconv.8 \
|
||||||
|
man5/gshadow.5 \
|
||||||
|
- man1/login.1 \
|
||||||
|
man5/login.defs.5 \
|
||||||
|
- man8/logoutd.8 \
|
||||||
|
- man1/newgrp.1 \
|
||||||
|
man8/newusers.8 \
|
||||||
|
- man8/nologin.8 \
|
||||||
|
man1/passwd.1 \
|
||||||
|
man5/passwd.5 \
|
||||||
|
man8/pwck.8 \
|
||||||
|
man8/pwconv.8 \
|
||||||
|
man8/pwunconv.8 \
|
||||||
|
- man1/sg.1 \
|
||||||
|
man3/shadow.3 \
|
||||||
|
man5/shadow.5 \
|
||||||
|
- man1/su.1 \
|
||||||
|
- man5/suauth.5 \
|
||||||
|
man8/useradd.8 \
|
||||||
|
man8/userdel.8 \
|
||||||
|
man8/usermod.8 \
|
||||||
|
diff --git a/man/fr/Makefile.am b/man/fr/Makefile.am
|
||||||
|
index 2365e23..6cbaadc 100644
|
||||||
|
--- a/man/fr/Makefile.am
|
||||||
|
+++ b/man/fr/Makefile.am
|
||||||
|
@@ -8,34 +8,24 @@ man_MANS = \
|
||||||
|
man8/chpasswd.8 \
|
||||||
|
man1/chsh.1 \
|
||||||
|
man1/expiry.1 \
|
||||||
|
- man5/faillog.5 \
|
||||||
|
- man8/faillog.8 \
|
||||||
|
man3/getspnam.3 \
|
||||||
|
man1/gpasswd.1 \
|
||||||
|
man8/groupadd.8 \
|
||||||
|
man8/groupdel.8 \
|
||||||
|
- man8/groupmems.8 \
|
||||||
|
man8/groupmod.8 \
|
||||||
|
man8/grpck.8 \
|
||||||
|
man8/grpconv.8 \
|
||||||
|
man8/grpunconv.8 \
|
||||||
|
man5/gshadow.5 \
|
||||||
|
- man1/login.1 \
|
||||||
|
man5/login.defs.5 \
|
||||||
|
- man8/logoutd.8 \
|
||||||
|
- man1/newgrp.1 \
|
||||||
|
man8/newusers.8 \
|
||||||
|
- man8/nologin.8 \
|
||||||
|
man1/passwd.1 \
|
||||||
|
man5/passwd.5 \
|
||||||
|
man8/pwck.8 \
|
||||||
|
man8/pwconv.8 \
|
||||||
|
man8/pwunconv.8 \
|
||||||
|
- man1/sg.1 \
|
||||||
|
man3/shadow.3 \
|
||||||
|
man5/shadow.5 \
|
||||||
|
- man1/su.1 \
|
||||||
|
- man5/suauth.5 \
|
||||||
|
man8/useradd.8 \
|
||||||
|
man8/userdel.8 \
|
||||||
|
man8/usermod.8 \
|
||||||
|
diff --git a/man/hu/Makefile.am b/man/hu/Makefile.am
|
||||||
|
index 6bf68e8..2930da3 100644
|
||||||
|
--- a/man/hu/Makefile.am
|
||||||
|
+++ b/man/hu/Makefile.am
|
||||||
|
@@ -4,11 +4,8 @@ mandir = @mandir@/hu
|
||||||
|
man_MANS = \
|
||||||
|
man1/chsh.1 \
|
||||||
|
man1/gpasswd.1 \
|
||||||
|
- man1/login.1 \
|
||||||
|
- man1/newgrp.1 \
|
||||||
|
man1/passwd.1 \
|
||||||
|
man5/passwd.5 \
|
||||||
|
- man1/sg.1 \
|
||||||
|
man1/su.1
|
||||||
|
|
||||||
|
if ENABLE_LASTLOG
|
||||||
|
diff --git a/man/id/Makefile.am b/man/id/Makefile.am
|
||||||
|
index 21f3dbe..566fa8b 100644
|
||||||
|
--- a/man/id/Makefile.am
|
||||||
|
+++ b/man/id/Makefile.am
|
||||||
|
@@ -3,7 +3,6 @@ mandir = @mandir@/id
|
||||||
|
|
||||||
|
man_MANS = \
|
||||||
|
man1/chsh.1 \
|
||||||
|
- man1/login.1 \
|
||||||
|
man8/useradd.8
|
||||||
|
|
||||||
|
EXTRA_DIST = $(man_MANS)
|
||||||
|
diff --git a/man/it/Makefile.am b/man/it/Makefile.am
|
||||||
|
index 736576c..3312232 100644
|
||||||
|
--- a/man/it/Makefile.am
|
||||||
|
+++ b/man/it/Makefile.am
|
||||||
|
@@ -8,34 +8,24 @@ man_MANS = \
|
||||||
|
man8/chpasswd.8 \
|
||||||
|
man1/chsh.1 \
|
||||||
|
man1/expiry.1 \
|
||||||
|
- man5/faillog.5 \
|
||||||
|
- man8/faillog.8 \
|
||||||
|
man3/getspnam.3 \
|
||||||
|
man1/gpasswd.1 \
|
||||||
|
man8/groupadd.8 \
|
||||||
|
man8/groupdel.8 \
|
||||||
|
- man8/groupmems.8 \
|
||||||
|
man8/groupmod.8 \
|
||||||
|
man8/grpck.8 \
|
||||||
|
man8/grpconv.8 \
|
||||||
|
man8/grpunconv.8 \
|
||||||
|
man5/gshadow.5 \
|
||||||
|
- man1/login.1 \
|
||||||
|
man5/login.defs.5 \
|
||||||
|
- man8/logoutd.8 \
|
||||||
|
- man1/newgrp.1 \
|
||||||
|
man8/newusers.8 \
|
||||||
|
- man8/nologin.8 \
|
||||||
|
man1/passwd.1 \
|
||||||
|
man5/passwd.5 \
|
||||||
|
man8/pwck.8 \
|
||||||
|
man8/pwconv.8 \
|
||||||
|
man8/pwunconv.8 \
|
||||||
|
- man1/sg.1 \
|
||||||
|
man3/shadow.3 \
|
||||||
|
man5/shadow.5 \
|
||||||
|
- man1/su.1 \
|
||||||
|
- man5/suauth.5 \
|
||||||
|
man8/useradd.8 \
|
||||||
|
man8/userdel.8 \
|
||||||
|
man8/usermod.8 \
|
||||||
|
diff --git a/man/ja/Makefile.am b/man/ja/Makefile.am
|
||||||
|
index b759726..1e22da2 100644
|
||||||
|
--- a/man/ja/Makefile.am
|
||||||
|
+++ b/man/ja/Makefile.am
|
||||||
|
@@ -7,8 +7,6 @@ man_MANS = \
|
||||||
|
man8/chpasswd.8 \
|
||||||
|
man1/chsh.1 \
|
||||||
|
man1/expiry.1 \
|
||||||
|
- man5/faillog.5 \
|
||||||
|
- man8/faillog.8 \
|
||||||
|
man1/gpasswd.1 \
|
||||||
|
man8/groupadd.8 \
|
||||||
|
man8/groupdel.8 \
|
||||||
|
@@ -16,20 +14,14 @@ man_MANS = \
|
||||||
|
man8/grpck.8 \
|
||||||
|
man8/grpconv.8 \
|
||||||
|
man8/grpunconv.8 \
|
||||||
|
- man1/login.1 \
|
||||||
|
man5/login.defs.5 \
|
||||||
|
- man8/logoutd.8 \
|
||||||
|
- man1/newgrp.1 \
|
||||||
|
man8/newusers.8 \
|
||||||
|
man1/passwd.1 \
|
||||||
|
man5/passwd.5 \
|
||||||
|
man8/pwck.8 \
|
||||||
|
man8/pwconv.8 \
|
||||||
|
man8/pwunconv.8 \
|
||||||
|
- man1/sg.1 \
|
||||||
|
man5/shadow.5 \
|
||||||
|
- man1/su.1 \
|
||||||
|
- man5/suauth.5 \
|
||||||
|
man8/useradd.8 \
|
||||||
|
man8/userdel.8 \
|
||||||
|
man8/usermod.8 \
|
||||||
|
diff --git a/man/ko/Makefile.am b/man/ko/Makefile.am
|
||||||
|
index 4f73651..0f17a17 100644
|
||||||
|
--- a/man/ko/Makefile.am
|
||||||
|
+++ b/man/ko/Makefile.am
|
||||||
|
@@ -4,9 +4,7 @@ mandir = @mandir@/ko
|
||||||
|
man_MANS = \
|
||||||
|
man1/chfn.1 \
|
||||||
|
man1/chsh.1 \
|
||||||
|
- man1/login.1 \
|
||||||
|
man5/passwd.5 \
|
||||||
|
- man1/su.1 \
|
||||||
|
man8/vigr.8 \
|
||||||
|
man8/vipw.8
|
||||||
|
# newgrp.1 must be updated
|
||||||
|
diff --git a/man/pl/Makefile.am b/man/pl/Makefile.am
|
||||||
|
index 2a015f3..02f4533 100644
|
||||||
|
--- a/man/pl/Makefile.am
|
||||||
|
+++ b/man/pl/Makefile.am
|
||||||
|
@@ -6,17 +6,11 @@ man_MANS = \
|
||||||
|
man1/chage.1 \
|
||||||
|
man1/chsh.1 \
|
||||||
|
man1/expiry.1 \
|
||||||
|
- man5/faillog.5 \
|
||||||
|
- man8/faillog.8 \
|
||||||
|
man3/getspnam.3 \
|
||||||
|
man8/groupadd.8 \
|
||||||
|
man8/groupdel.8 \
|
||||||
|
- man8/groupmems.8 \
|
||||||
|
man8/groupmod.8 \
|
||||||
|
man8/grpck.8 \
|
||||||
|
- man8/logoutd.8 \
|
||||||
|
- man1/newgrp.1 \
|
||||||
|
- man1/sg.1 \
|
||||||
|
man3/shadow.3 \
|
||||||
|
man8/userdel.8 \
|
||||||
|
man8/usermod.8 \
|
||||||
|
diff --git a/man/ru/Makefile.am b/man/ru/Makefile.am
|
||||||
|
index 845a603..9afcb22 100644
|
||||||
|
--- a/man/ru/Makefile.am
|
||||||
|
+++ b/man/ru/Makefile.am
|
||||||
|
@@ -8,22 +8,16 @@ man_MANS = \
|
||||||
|
man8/chpasswd.8 \
|
||||||
|
man1/chsh.1 \
|
||||||
|
man1/expiry.1 \
|
||||||
|
- man5/faillog.5 \
|
||||||
|
- man8/faillog.8 \
|
||||||
|
man3/getspnam.3 \
|
||||||
|
man1/gpasswd.1 \
|
||||||
|
man8/groupadd.8 \
|
||||||
|
man8/groupdel.8 \
|
||||||
|
- man8/groupmems.8 \
|
||||||
|
man8/groupmod.8 \
|
||||||
|
man8/grpck.8 \
|
||||||
|
man8/grpconv.8 \
|
||||||
|
man8/grpunconv.8 \
|
||||||
|
man5/gshadow.5 \
|
||||||
|
- man1/login.1 \
|
||||||
|
man5/login.defs.5 \
|
||||||
|
- man8/logoutd.8 \
|
||||||
|
- man1/newgrp.1 \
|
||||||
|
man8/newusers.8 \
|
||||||
|
man8/nologin.8 \
|
||||||
|
man1/passwd.1 \
|
||||||
|
@@ -31,11 +25,8 @@ man_MANS = \
|
||||||
|
man8/pwck.8 \
|
||||||
|
man8/pwconv.8 \
|
||||||
|
man8/pwunconv.8 \
|
||||||
|
- man1/sg.1 \
|
||||||
|
man3/shadow.3 \
|
||||||
|
man5/shadow.5 \
|
||||||
|
- man1/su.1 \
|
||||||
|
- man5/suauth.5 \
|
||||||
|
man8/useradd.8 \
|
||||||
|
man8/userdel.8 \
|
||||||
|
man8/usermod.8 \
|
||||||
|
diff --git a/man/sv/Makefile.am b/man/sv/Makefile.am
|
||||||
|
index 1918af7..d572c36 100644
|
||||||
|
--- a/man/sv/Makefile.am
|
||||||
|
+++ b/man/sv/Makefile.am
|
||||||
|
@@ -5,24 +5,16 @@ man_MANS = \
|
||||||
|
man1/chage.1 \
|
||||||
|
man1/chsh.1 \
|
||||||
|
man1/expiry.1 \
|
||||||
|
- man5/faillog.5 \
|
||||||
|
- man8/faillog.8 \
|
||||||
|
man3/getspnam.3 \
|
||||||
|
man8/groupadd.8 \
|
||||||
|
man8/groupdel.8 \
|
||||||
|
- man8/groupmems.8 \
|
||||||
|
man8/groupmod.8 \
|
||||||
|
man8/grpck.8 \
|
||||||
|
man5/gshadow.5 \
|
||||||
|
- man8/logoutd.8 \
|
||||||
|
- man1/newgrp.1 \
|
||||||
|
- man8/nologin.8 \
|
||||||
|
man1/passwd.1 \
|
||||||
|
man5/passwd.5 \
|
||||||
|
man8/pwck.8 \
|
||||||
|
- man1/sg.1 \
|
||||||
|
man3/shadow.3 \
|
||||||
|
- man5/suauth.5 \
|
||||||
|
man8/userdel.8 \
|
||||||
|
man8/vigr.8 \
|
||||||
|
man8/vipw.8
|
||||||
|
diff --git a/man/tr/Makefile.am b/man/tr/Makefile.am
|
||||||
|
index 8d8b916..8b2aa2d 100644
|
||||||
|
--- a/man/tr/Makefile.am
|
||||||
|
+++ b/man/tr/Makefile.am
|
||||||
|
@@ -6,11 +6,9 @@ man_MANS = \
|
||||||
|
man8/groupadd.8 \
|
||||||
|
man8/groupdel.8 \
|
||||||
|
man8/groupmod.8 \
|
||||||
|
- man1/login.1 \
|
||||||
|
man1/passwd.1 \
|
||||||
|
man5/passwd.5 \
|
||||||
|
man5/shadow.5 \
|
||||||
|
- man1/su.1 \
|
||||||
|
man8/useradd.8 \
|
||||||
|
man8/userdel.8 \
|
||||||
|
man8/usermod.8
|
||||||
|
diff --git a/man/uk/Makefile.am b/man/uk/Makefile.am
|
||||||
|
index a0f106d..f069eea 100644
|
||||||
|
--- a/man/uk/Makefile.am
|
||||||
|
+++ b/man/uk/Makefile.am
|
||||||
|
@@ -8,34 +8,25 @@ man_MANS = \
|
||||||
|
man8/chpasswd.8 \
|
||||||
|
man1/chsh.1 \
|
||||||
|
man1/expiry.1 \
|
||||||
|
- man5/faillog.5 \
|
||||||
|
- man8/faillog.8 \
|
||||||
|
man3/getspnam.3 \
|
||||||
|
man1/gpasswd.1 \
|
||||||
|
man8/groupadd.8 \
|
||||||
|
man8/groupdel.8 \
|
||||||
|
- man8/groupmems.8 \
|
||||||
|
man8/groupmod.8 \
|
||||||
|
man8/grpck.8 \
|
||||||
|
man8/grpconv.8 \
|
||||||
|
man8/grpunconv.8 \
|
||||||
|
man5/gshadow.5 \
|
||||||
|
- man1/login.1 \
|
||||||
|
man5/login.defs.5 \
|
||||||
|
- man8/logoutd.8 \
|
||||||
|
man1/newgrp.1 \
|
||||||
|
man8/newusers.8 \
|
||||||
|
- man8/nologin.8 \
|
||||||
|
man1/passwd.1 \
|
||||||
|
man5/passwd.5 \
|
||||||
|
man8/pwck.8 \
|
||||||
|
man8/pwconv.8 \
|
||||||
|
man8/pwunconv.8 \
|
||||||
|
- man1/sg.1 \
|
||||||
|
man3/shadow.3 \
|
||||||
|
man5/shadow.5 \
|
||||||
|
- man1/su.1 \
|
||||||
|
- man5/suauth.5 \
|
||||||
|
man8/useradd.8 \
|
||||||
|
man8/userdel.8 \
|
||||||
|
man8/usermod.8 \
|
||||||
|
diff --git a/man/zh_CN/Makefile.am b/man/zh_CN/Makefile.am
|
||||||
|
index 59d1072..9402a9e 100644
|
||||||
|
--- a/man/zh_CN/Makefile.am
|
||||||
|
+++ b/man/zh_CN/Makefile.am
|
||||||
|
@@ -8,34 +8,24 @@ man_MANS = \
|
||||||
|
man8/chpasswd.8 \
|
||||||
|
man1/chsh.1 \
|
||||||
|
man1/expiry.1 \
|
||||||
|
- man5/faillog.5 \
|
||||||
|
- man8/faillog.8 \
|
||||||
|
man3/getspnam.3 \
|
||||||
|
man1/gpasswd.1 \
|
||||||
|
man8/groupadd.8 \
|
||||||
|
man8/groupdel.8 \
|
||||||
|
- man8/groupmems.8 \
|
||||||
|
man8/groupmod.8 \
|
||||||
|
man8/grpck.8 \
|
||||||
|
man8/grpconv.8 \
|
||||||
|
man8/grpunconv.8 \
|
||||||
|
man5/gshadow.5 \
|
||||||
|
- man1/login.1 \
|
||||||
|
man5/login.defs.5 \
|
||||||
|
- man8/logoutd.8 \
|
||||||
|
- man1/newgrp.1 \
|
||||||
|
man8/newusers.8 \
|
||||||
|
- man8/nologin.8 \
|
||||||
|
man1/passwd.1 \
|
||||||
|
man5/passwd.5 \
|
||||||
|
man8/pwck.8 \
|
||||||
|
man8/pwconv.8 \
|
||||||
|
man8/pwunconv.8 \
|
||||||
|
- man1/sg.1 \
|
||||||
|
man3/shadow.3 \
|
||||||
|
man5/shadow.5 \
|
||||||
|
- man1/su.1 \
|
||||||
|
- man5/suauth.5 \
|
||||||
|
man8/useradd.8 \
|
||||||
|
man8/userdel.8 \
|
||||||
|
man8/usermod.8 \
|
||||||
|
diff --git a/man/zh_TW/Makefile.am b/man/zh_TW/Makefile.am
|
||||||
|
index c36ed2c..6fb6a15 100644
|
||||||
|
--- a/man/zh_TW/Makefile.am
|
||||||
|
+++ b/man/zh_TW/Makefile.am
|
||||||
|
@@ -5,12 +5,10 @@ man_MANS = \
|
||||||
|
man1/chfn.1 \
|
||||||
|
man1/chsh.1 \
|
||||||
|
man8/chpasswd.8 \
|
||||||
|
- man1/newgrp.1 \
|
||||||
|
man8/groupadd.8 \
|
||||||
|
man8/groupdel.8 \
|
||||||
|
man8/groupmod.8 \
|
||||||
|
man5/passwd.5 \
|
||||||
|
- man1/su.1 \
|
||||||
|
man8/useradd.8 \
|
||||||
|
man8/userdel.8 \
|
||||||
|
man8/usermod.8
|
||||||
|
diff --git a/src/Makefile.am b/src/Makefile.am
|
||||||
|
index 6981815..5ca78ed 100644
|
||||||
|
--- a/src/Makefile.am
|
||||||
|
+++ b/src/Makefile.am
|
||||||
|
@@ -26,8 +26,8 @@ AM_CFLAGS = $(LIBBSD_CFLAGS)
|
||||||
|
# and installation would be much simpler (just two directories,
|
||||||
|
# $prefix/bin and $prefix/sbin, no install-data hacks...)
|
||||||
|
|
||||||
|
-bin_PROGRAMS = login
|
||||||
|
-sbin_PROGRAMS = nologin
|
||||||
|
+bin_PROGRAMS =
|
||||||
|
+sbin_PROGRAMS =
|
||||||
|
ubin_PROGRAMS = faillog chage chfn chsh expiry gpasswd newgrp passwd
|
||||||
|
if ENABLE_SUBIDS
|
||||||
|
ubin_PROGRAMS += newgidmap newuidmap
|
||||||
|
@@ -48,7 +48,6 @@ usbin_PROGRAMS = \
|
||||||
|
grpck \
|
||||||
|
grpconv \
|
||||||
|
grpunconv \
|
||||||
|
- logoutd \
|
||||||
|
newusers \
|
||||||
|
pwck \
|
||||||
|
pwconv \
|
||||||
|
@@ -59,7 +58,7 @@ usbin_PROGRAMS = \
|
||||||
|
vipw
|
||||||
|
|
||||||
|
# sulogin from sysvinit
|
||||||
|
-noinst_PROGRAMS = sulogin
|
||||||
|
+noinst_PROGRAMS =
|
||||||
|
|
||||||
|
suidusbins =
|
||||||
|
suidbins =
|
||||||
104
debian/patches/debian/Warn-when-badname-and-variants-are-given.patch
vendored
Normal file
104
debian/patches/debian/Warn-when-badname-and-variants-are-given.patch
vendored
Normal file
@@ -0,0 +1,104 @@
|
|||||||
|
From: Chris Hofstaedtler <zeha@debian.org>
|
||||||
|
Date: Mon, 17 Feb 2025 18:17:15 +0100
|
||||||
|
Subject: Warn when --badname (and variants) are given
|
||||||
|
|
||||||
|
Upstream PR 1158 will remove them, probably in the forky timeframe.
|
||||||
|
---
|
||||||
|
src/newusers.c | 5 ++++-
|
||||||
|
src/pwck.c | 5 ++++-
|
||||||
|
src/useradd.c | 5 ++++-
|
||||||
|
src/usermod.c | 5 ++++-
|
||||||
|
4 files changed, 16 insertions(+), 4 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/newusers.c b/src/newusers.c
|
||||||
|
index e9353fd..9054373 100644
|
||||||
|
--- a/src/newusers.c
|
||||||
|
+++ b/src/newusers.c
|
||||||
|
@@ -135,7 +135,7 @@ static void usage (int status)
|
||||||
|
"\n"
|
||||||
|
"Options:\n"),
|
||||||
|
Prog);
|
||||||
|
- (void) fputs (_(" -b, --badname allow bad names\n"), usageout);
|
||||||
|
+ (void) fputs (_(" -b, --badname allow bad names (DEPRECATED)\n"), usageout);
|
||||||
|
#ifndef USE_PAM
|
||||||
|
(void) fprintf (usageout,
|
||||||
|
_(" -c, --crypt-method METHOD the crypt method (one of %s)\n"),
|
||||||
|
@@ -668,6 +668,9 @@ static void process_flags (int argc, char **argv, struct option_flags *flags)
|
||||||
|
switch (c) {
|
||||||
|
case 'b':
|
||||||
|
allow_bad_names = true;
|
||||||
|
+ fprintf (stderr,
|
||||||
|
+ _("%s: WARNING: -b and --badname are deprecated and will be removed\n"),
|
||||||
|
+ Prog);
|
||||||
|
break;
|
||||||
|
#ifndef USE_PAM
|
||||||
|
case 'c':
|
||||||
|
diff --git a/src/pwck.c b/src/pwck.c
|
||||||
|
index c35f03e..81f4ccd 100644
|
||||||
|
--- a/src/pwck.c
|
||||||
|
+++ b/src/pwck.c
|
||||||
|
@@ -139,7 +139,7 @@ usage (int status)
|
||||||
|
"Options:\n"),
|
||||||
|
Prog);
|
||||||
|
}
|
||||||
|
- (void) fputs (_(" -b, --badname allow bad names\n"), usageout);
|
||||||
|
+ (void) fputs (_(" -b, --badname allow bad names (DEPRECATED)\n"), usageout);
|
||||||
|
(void) fputs (_(" -h, --help display this help message and exit\n"), usageout);
|
||||||
|
(void) fputs (_(" -q, --quiet report errors only\n"), usageout);
|
||||||
|
(void) fputs (_(" -r, --read-only display errors and warnings\n"
|
||||||
|
@@ -181,6 +181,9 @@ static void process_flags (int argc, char **argv, struct option_flags *flags)
|
||||||
|
switch (c) {
|
||||||
|
case 'b':
|
||||||
|
allow_bad_names = true;
|
||||||
|
+ fprintf (stderr,
|
||||||
|
+ _("%s: WARNING: --badname is deprecated and will be removed\n"),
|
||||||
|
+ Prog);
|
||||||
|
break;
|
||||||
|
case 'h':
|
||||||
|
usage (E_SUCCESS);
|
||||||
|
diff --git a/src/useradd.c b/src/useradd.c
|
||||||
|
index bbc9859..5446f35 100644
|
||||||
|
--- a/src/useradd.c
|
||||||
|
+++ b/src/useradd.c
|
||||||
|
@@ -877,7 +877,7 @@ static void usage (int status)
|
||||||
|
"\n"
|
||||||
|
"Options:\n"),
|
||||||
|
Prog, Prog, Prog);
|
||||||
|
- (void) fputs (_(" --badname do not check for bad names\n"), usageout);
|
||||||
|
+ (void) fputs (_(" --badname do not check for bad names (DEPRECATED)\n"), usageout);
|
||||||
|
(void) fputs (_(" -b, --base-dir BASE_DIR base directory for the home directory of the\n"
|
||||||
|
" new account\n"), usageout);
|
||||||
|
#ifdef WITH_BTRFS
|
||||||
|
@@ -1200,6 +1200,9 @@ static void process_flags (int argc, char **argv, struct option_flags *flags)
|
||||||
|
break;
|
||||||
|
case 201:
|
||||||
|
allow_bad_names = true;
|
||||||
|
+ fprintf (stderr,
|
||||||
|
+ _("%s: WARNING: --badname is deprecated and will be removed\n"),
|
||||||
|
+ Prog);
|
||||||
|
break;
|
||||||
|
case 'c':
|
||||||
|
if (!VALID (optarg)) {
|
||||||
|
diff --git a/src/usermod.c b/src/usermod.c
|
||||||
|
index e26f011..f0f6234 100644
|
||||||
|
--- a/src/usermod.c
|
||||||
|
+++ b/src/usermod.c
|
||||||
|
@@ -396,7 +396,7 @@ usage (int status)
|
||||||
|
(void) fputs (_(" -a, --append append the user to the supplemental GROUPS\n"
|
||||||
|
" mentioned by the -G option without removing\n"
|
||||||
|
" the user from other groups\n"), usageout);
|
||||||
|
- (void) fputs (_(" -b, --badname allow bad names\n"), usageout);
|
||||||
|
+ (void) fputs (_(" -b, --badname allow bad names (DEPRECATED)\n"), usageout);
|
||||||
|
(void) fputs (_(" -c, --comment COMMENT new value of the GECOS field\n"), usageout);
|
||||||
|
(void) fputs (_(" -d, --home HOME_DIR new home directory for the user account\n"), usageout);
|
||||||
|
(void) fputs (_(" -e, --expiredate EXPIRE_DATE set account expiration date to EXPIRE_DATE\n"), usageout);
|
||||||
|
@@ -1062,6 +1062,9 @@ process_flags(int argc, char **argv, struct option_flags *flags)
|
||||||
|
break;
|
||||||
|
case 'b':
|
||||||
|
allow_bad_names = true;
|
||||||
|
+ fprintf (stderr,
|
||||||
|
+ _("%s: WARNING: -b, --badname and --badnames are deprecated and will be removed\n"),
|
||||||
|
+ Prog);
|
||||||
|
break;
|
||||||
|
case 'c':
|
||||||
|
if (!VALID (optarg)) {
|
||||||
23
debian/patches/debian/configure.ac-align-exec_prefix-with-prefix.patch
vendored
Normal file
23
debian/patches/debian/configure.ac-align-exec_prefix-with-prefix.patch
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
From: Chris Hofstaedtler <zeha@debian.org>
|
||||||
|
Date: Mon, 24 Feb 2025 23:24:41 +0100
|
||||||
|
Subject: configure.ac: align exec_prefix with prefix
|
||||||
|
|
||||||
|
Hopefully upstream will fix this one day.
|
||||||
|
Reported as https://github.com/shadow-maint/shadow/issues/1229
|
||||||
|
---
|
||||||
|
configure.ac | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/configure.ac b/configure.ac
|
||||||
|
index 7727d1c..b5114e8 100644
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -23,7 +23,7 @@ AC_SUBST([LIBSUBID_ABI], [libsubid_abi])
|
||||||
|
|
||||||
|
dnl Some hacks...
|
||||||
|
test "x$prefix" = "xNONE" && prefix="/usr"
|
||||||
|
-test "X$prefix" = "X/usr" && exec_prefix=""
|
||||||
|
+test "X$prefix" = "X/usr" && exec_prefix="/usr"
|
||||||
|
|
||||||
|
AC_USE_SYSTEM_EXTENSIONS
|
||||||
|
|
||||||
89
debian/patches/debian/tests-disable-su.patch
vendored
Normal file
89
debian/patches/debian/tests-disable-su.patch
vendored
Normal file
@@ -0,0 +1,89 @@
|
|||||||
|
From: Serge Hallyn <serge@hallyn.com>
|
||||||
|
Date: Thu, 27 Jun 2024 01:23:05 +0200
|
||||||
|
Subject: upstream testsuite: disable su tests
|
||||||
|
|
||||||
|
Debian uses su from util-linux, pointless/impossible to test shadow's su
|
||||||
|
here.
|
||||||
|
---
|
||||||
|
tests/run_some | 68 ----------------------------------------------------------
|
||||||
|
1 file changed, 68 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/tests/run_some b/tests/run_some
|
||||||
|
index c58f59b..46317eb 100755
|
||||||
|
--- a/tests/run_some
|
||||||
|
+++ b/tests/run_some
|
||||||
|
@@ -79,74 +79,6 @@ echo "-: test failed"
|
||||||
|
find "${build_path}" -name "*.gcda" -delete
|
||||||
|
# ignore the result of the first test. ~magic~
|
||||||
|
run_test ./su/01/su_user.test ignore_failure
|
||||||
|
-run_test ./su/01/su_user.test
|
||||||
|
-run_test ./su/01/su_root.test
|
||||||
|
-find "${build_path}" -name "*.gcda" -exec chmod a+rw {} \;
|
||||||
|
-run_test ./su/02/env_FOO-options_--login
|
||||||
|
-run_test ./su/02/env_FOO-options_--login_bash
|
||||||
|
-run_test ./su/02/env_FOO-options_--preserve-environment
|
||||||
|
-run_test ./su/02/env_FOO-options_--preserve-environment_bash
|
||||||
|
-run_test ./su/02/env_FOO-options_-
|
||||||
|
-run_test ./su/02/env_FOO-options_-_bash
|
||||||
|
-run_test ./su/02/env_FOO-options_-l-m
|
||||||
|
-run_test ./su/02/env_FOO-options_-l-m_bash
|
||||||
|
-run_test ./su/02/env_FOO-options_-l
|
||||||
|
-run_test ./su/02/env_FOO-options_-l_bash
|
||||||
|
-run_test ./su/02/env_FOO-options_-m_bash
|
||||||
|
-run_test ./su/02/env_FOO-options_-m
|
||||||
|
-run_test ./su/02/env_FOO-options_-p
|
||||||
|
-run_test ./su/02/env_FOO-options_-p_bash
|
||||||
|
-run_test ./su/02/env_FOO-options__bash
|
||||||
|
-run_test ./su/02/env_FOO-options_
|
||||||
|
-run_test ./su/02/env_FOO-options_-p-
|
||||||
|
-run_test ./su/02/env_FOO-options_-p-_bash
|
||||||
|
-run_test ./su/02/env_special-options_-l-p
|
||||||
|
-run_test ./su/02/env_special-options_-l
|
||||||
|
-run_test ./su/02/env_special-options_-l-p_bash
|
||||||
|
-run_test ./su/02/env_special-options_-l_bash
|
||||||
|
-run_test ./su/02/env_special-options_-p
|
||||||
|
-run_test ./su/02/env_special-options_-p_bash
|
||||||
|
-run_test ./su/02/env_special-options_
|
||||||
|
-run_test ./su/02/env_special-options__bash
|
||||||
|
-run_test ./su/02/env_special_root-options_-l-p
|
||||||
|
-run_test ./su/02/env_special_root-options_-l-p_bash
|
||||||
|
-run_test ./su/02/env_special_root-options_-l
|
||||||
|
-run_test ./su/02/env_special_root-options_-l_bash
|
||||||
|
-run_test ./su/02/env_special_root-options_-p
|
||||||
|
-run_test ./su/02/env_special_root-options_-p_bash
|
||||||
|
-run_test ./su/02/env_special_root-options_
|
||||||
|
-run_test ./su/02/env_special_root-options__bash
|
||||||
|
-run_test ./su/03/su_run_command01.test
|
||||||
|
-run_test ./su/03/su_run_command02.test
|
||||||
|
-run_test ./su/03/su_run_command03.test
|
||||||
|
-run_test ./su/03/su_run_command04.test
|
||||||
|
-run_test ./su/03/su_run_command05.test
|
||||||
|
-run_test ./su/03/su_run_command06.test
|
||||||
|
-run_test ./su/03/su_run_command07.test
|
||||||
|
-run_test ./su/03/su_run_command08.test
|
||||||
|
-run_test ./su/03/su_run_command09.test
|
||||||
|
-run_test ./su/03/su_run_command10.test
|
||||||
|
-run_test ./su/03/su_run_command11.test
|
||||||
|
-run_test ./su/03/su_run_command12.test
|
||||||
|
-run_test ./su/03/su_run_command13.test
|
||||||
|
-run_test ./su/03/su_run_command14.test
|
||||||
|
-run_test ./su/03/su_run_command15.test
|
||||||
|
-run_test ./su/03/su_run_command16.test
|
||||||
|
-run_test ./su/03/su_run_command17.test
|
||||||
|
-run_test ./su/04/su_wrong_user.test
|
||||||
|
-run_test ./su/04/su_user_wrong_passwd.test
|
||||||
|
-run_test ./su/04/su_user_wrong_passwd_syslog.test
|
||||||
|
-run_test ./su/05/su_user_wrong_passwd_syslog.test
|
||||||
|
-run_test ./su/06/su_user_syslog.test
|
||||||
|
-run_test ./su/07/su_user_syslog.test
|
||||||
|
-run_test ./su/08/env_special-options_
|
||||||
|
-run_test ./su/08/env_special_root-options_
|
||||||
|
-run_test ./su/09/env_special-options_
|
||||||
|
-run_test ./su/09/env_special_root-options_
|
||||||
|
-run_test ./su/10_su_sulog_success/su.test
|
||||||
|
-run_test ./su/11_su_sulog_failure/su.test
|
||||||
|
-run_test ./su/12_su_child_failure/su.test
|
||||||
|
-run_test ./su/13_su_child_success/su.test
|
||||||
|
run_test ./libsubid/01_list_ranges/list_ranges.test
|
||||||
|
run_test ./libsubid/02_get_subid_owners/get_subid_owners.test
|
||||||
|
run_test ./libsubid/03_add_remove/add_remove_subids.test
|
||||||
10
debian/patches/series
vendored
Normal file
10
debian/patches/series
vendored
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
debian/Set-group-and-mode-for-g-shadow-files.patch
|
||||||
|
debian/Keep-using-Debian-adduser-defaults.patch
|
||||||
|
debian/Exclude-Debian-globally-allocated-UIDs-from-sys_uid-range.patch
|
||||||
|
debian/Document-the-shadowconfig-utility.patch
|
||||||
|
debian/Recommend-using-adduser-and-deluser.patch
|
||||||
|
debian/tests-disable-su.patch
|
||||||
|
debian/Adapt-login.defs-for-Debian.patch
|
||||||
|
debian/Stop-building-programs-we-do-not-install.patch
|
||||||
|
debian/Warn-when-badname-and-variants-are-given.patch
|
||||||
|
debian/configure.ac-align-exec_prefix-with-prefix.patch
|
||||||
64
debian/rules
vendored
Executable file
64
debian/rules
vendored
Executable file
@@ -0,0 +1,64 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
# -*- mode: makefile; coding: utf-8 -*-
|
||||||
|
|
||||||
|
# Enable PIE, BINDNOW, and possible future flags.
|
||||||
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||||
|
DPKG_EXPORT_BUILDFLAGS = 1
|
||||||
|
include /usr/share/dpkg/architecture.mk
|
||||||
|
include /usr/share/dpkg/buildflags.mk
|
||||||
|
include /usr/share/debhelper/dh_package_notes/package-notes.mk
|
||||||
|
|
||||||
|
# Adds extra options when calling the configure script:
|
||||||
|
DEB_CONFIGURE_EXTRA_FLAGS := \
|
||||||
|
--bindir=/usr/bin \
|
||||||
|
--sbindir=/usr/sbin \
|
||||||
|
--mandir=/usr/share/man \
|
||||||
|
--with-libpam \
|
||||||
|
--with-yescrypt \
|
||||||
|
--enable-shadowgrp \
|
||||||
|
--enable-subordinate-ids \
|
||||||
|
--enable-lastlog=no \
|
||||||
|
--enable-man \
|
||||||
|
--disable-account-tools-setuid \
|
||||||
|
--with-group-name-max-length=32 \
|
||||||
|
--with-acl \
|
||||||
|
--with-attr \
|
||||||
|
--without-su \
|
||||||
|
--without-tcb \
|
||||||
|
|
||||||
|
|
||||||
|
ifeq ($(DEB_HOST_ARCH_OS),linux)
|
||||||
|
DEB_CONFIGURE_EXTRA_FLAGS += --with-audit
|
||||||
|
DEB_CONFIGURE_EXTRA_FLAGS += --with-btrfs
|
||||||
|
else
|
||||||
|
DEB_CONFIGURE_EXTRA_FLAGS += --disable-logind
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifneq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
|
||||||
|
DEB_CONFIGURE_EXTRA_FLAGS += --disable-man
|
||||||
|
endif
|
||||||
|
|
||||||
|
DEB_CONFIGURE_EXTRA_FLAGS += SHELL=/bin/sh
|
||||||
|
|
||||||
|
# Set the default editor for vipw/vigr
|
||||||
|
CFLAGS += -DDEFAULT_EDITOR="\"sensible-editor\""
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@
|
||||||
|
|
||||||
|
execute_after_dh_auto_clean:
|
||||||
|
# rebuild lib/getdate.c
|
||||||
|
rm -f lib/getdate.c
|
||||||
|
|
||||||
|
override_dh_auto_configure:
|
||||||
|
dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_FLAGS)
|
||||||
|
|
||||||
|
override_dh_installpam:
|
||||||
|
# Distribute the pam.d files; unless for the commands with disabled PAM
|
||||||
|
# support
|
||||||
|
dh_installpam -p passwd --name=passwd
|
||||||
|
dh_installpam -p passwd --name=chfn
|
||||||
|
dh_installpam -p passwd --name=chsh
|
||||||
|
dh_installpam -p passwd --name=chpasswd
|
||||||
|
dh_installpam -p passwd --name=newusers
|
||||||
|
|
||||||
40
debian/salsa-ci.yml
vendored
Normal file
40
debian/salsa-ci.yml
vendored
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
---
|
||||||
|
include: https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
|
||||||
|
|
||||||
|
extract-source:
|
||||||
|
extends: .provisioning-extract-source
|
||||||
|
|
||||||
|
variables:
|
||||||
|
RELEASE: 'unstable'
|
||||||
|
|
||||||
|
build:
|
||||||
|
extends: .build-package
|
||||||
|
|
||||||
|
test-build-any:
|
||||||
|
extends: .test-build-package-any
|
||||||
|
|
||||||
|
test-build-all:
|
||||||
|
extends: .test-build-package-all
|
||||||
|
|
||||||
|
lintian:
|
||||||
|
extends: .test-lintian
|
||||||
|
|
||||||
|
autopkgtest:
|
||||||
|
extends: .test-autopkgtest
|
||||||
|
|
||||||
|
blhc:
|
||||||
|
extends: .test-blhc
|
||||||
|
|
||||||
|
reprotest:
|
||||||
|
extends: .test-reprotest
|
||||||
|
|
||||||
|
variables:
|
||||||
|
SALSA_CI_ENABLE_BUILD_PACKAGE_PROFILES: 1
|
||||||
|
|
||||||
|
test-build-profiles:
|
||||||
|
extends: .test-build-package-profiles
|
||||||
|
parallel:
|
||||||
|
matrix:
|
||||||
|
- BUILD_PROFILES: nocheck
|
||||||
|
- BUILD_PROFILES: nodoc
|
||||||
|
|
||||||
56
debian/shadowconfig
vendored
Normal file
56
debian/shadowconfig
vendored
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# turn shadow passwords on on a Debian system
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
shadowon () {
|
||||||
|
set -e
|
||||||
|
|
||||||
|
if [ -n "$DPKG_ROOT" ] \
|
||||||
|
&& cmp "${DPKG_ROOT}/etc/passwd" "${DPKG_ROOT}/usr/share/base-passwd/passwd.master" 2>/dev/null \
|
||||||
|
&& cmp "${DPKG_ROOT}/etc/group" "${DPKG_ROOT}/usr/share/base-passwd/group.master" 2>/dev/null; then
|
||||||
|
# If dpkg is run with --force-script-chrootless and if /etc/passwd
|
||||||
|
# and /etc/group are unchanged, we avoid the chroot() call by manually
|
||||||
|
# processing the files. This produces bit-by-bit identical results
|
||||||
|
# compared to the normal case as shown by the CI setup at
|
||||||
|
# https://salsa.debian.org/helmutg/dpkg-root-demo/-/jobs
|
||||||
|
for f in passwd group; do
|
||||||
|
cp -a "${DPKG_ROOT}/etc/$f" "${DPKG_ROOT}/etc/$f-"
|
||||||
|
done
|
||||||
|
chmod 600 "${DPKG_ROOT}/etc/passwd-"
|
||||||
|
sed -i 's/^\([^:]\+\):\*:/\1:x:/' "${DPKG_ROOT}/etc/group" "${DPKG_ROOT}/etc/passwd"
|
||||||
|
[ -n "$SOURCE_DATE_EPOCH" ] && epoch=$SOURCE_DATE_EPOCH || epoch=$(date +%s)
|
||||||
|
sed "s/^\([^:]\+\):.*/\1:*:$((epoch/60/60/24)):0:99999:7:::/" "${DPKG_ROOT}/etc/passwd" > "${DPKG_ROOT}/etc/shadow"
|
||||||
|
sed "s/^\([^:]\+\):.*/\1:*::/" "${DPKG_ROOT}/etc/group" > "${DPKG_ROOT}/etc/gshadow"
|
||||||
|
touch "${DPKG_ROOT}/etc/.pwd.lock"
|
||||||
|
chmod 600 "${DPKG_ROOT}/etc/.pwd.lock"
|
||||||
|
else
|
||||||
|
pwck -q -r
|
||||||
|
grpck -r
|
||||||
|
pwconv
|
||||||
|
grpconv
|
||||||
|
fi
|
||||||
|
chown root:root "${DPKG_ROOT}/etc/passwd" "${DPKG_ROOT}/etc/group"
|
||||||
|
chmod 644 "${DPKG_ROOT}/etc/passwd" "${DPKG_ROOT}/etc/group"
|
||||||
|
chown root:shadow "${DPKG_ROOT}/etc/shadow" "${DPKG_ROOT}/etc/gshadow"
|
||||||
|
chmod 640 "${DPKG_ROOT}/etc/shadow" "${DPKG_ROOT}/etc/gshadow"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
"on")
|
||||||
|
if shadowon ; then
|
||||||
|
echo Shadow passwords are now on.
|
||||||
|
else
|
||||||
|
echo Please correct the error and rerun \`$0 on\'
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
"off")
|
||||||
|
echo E: Turning shadow passwords off is no longer supported.
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo Usage: $0 on
|
||||||
|
;;
|
||||||
|
esac
|
||||||
1
debian/shlibs.local
vendored
Normal file
1
debian/shlibs.local
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
deb: libsubid 5 libsubid5 (= ${binary:Version})
|
||||||
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
3.0 (quilt)
|
||||||
6
debian/source/lintian-overrides
vendored
Normal file
6
debian/source/lintian-overrides
vendored
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# debputy does not need misc:Depends
|
||||||
|
debhelper-but-no-misc-depends libsubid-dev
|
||||||
|
debhelper-but-no-misc-depends libsubid5
|
||||||
|
debhelper-but-no-misc-depends login.defs
|
||||||
|
debhelper-but-no-misc-depends passwd
|
||||||
|
debhelper-but-no-misc-depends uidmap
|
||||||
19
debian/tests/control
vendored
Normal file
19
debian/tests/control
vendored
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
Tests:
|
||||||
|
smoke,
|
||||||
|
Restrictions:
|
||||||
|
needs-root,
|
||||||
|
superficial,
|
||||||
|
|
||||||
|
Tests:
|
||||||
|
upstream,
|
||||||
|
Depends:
|
||||||
|
expect,
|
||||||
|
procps,
|
||||||
|
@,
|
||||||
|
@builddeps@,
|
||||||
|
Restrictions:
|
||||||
|
allow-stderr,
|
||||||
|
breaks-testbed,
|
||||||
|
build-needed,
|
||||||
|
isolation-machine,
|
||||||
|
needs-root,
|
||||||
24
debian/tests/smoke
vendored
Executable file
24
debian/tests/smoke
vendored
Executable file
@@ -0,0 +1,24 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
echo "Adding a user works"
|
||||||
|
useradd shadow-test-user
|
||||||
|
grep '^shadow-test-user:x:' /etc/passwd
|
||||||
|
grep '^shadow-test-user:!:' /etc/shadow
|
||||||
|
|
||||||
|
# Regression test for #1096187. adduser uses this sequence.
|
||||||
|
echo "Changing a users name and work phone number works"
|
||||||
|
chfn "-f" "foo" "-r" "" shadow-test-user
|
||||||
|
chfn -w "" shadow-test-user
|
||||||
|
|
||||||
|
# Regression test for #1095430
|
||||||
|
TZ=Asia/Tokyo usermod --expiredate 1970-01-02 shadow-test-user
|
||||||
|
TZ=Asia/Tokyo LC_ALL=C chage -l shadow-test-user | grep 'Account expires'
|
||||||
|
# We expect 1970-01-02, as passed.
|
||||||
|
TZ=Asia/Tokyo LC_ALL=C chage -l shadow-test-user | grep -P '^Account expires.*Jan 02, 1970'
|
||||||
|
|
||||||
|
echo "Removing a user works"
|
||||||
|
userdel shadow-test-user
|
||||||
|
! grep 'shadow-test-user' /etc/passwd
|
||||||
|
! grep 'shadow-test-user' /etc/shadow
|
||||||
15
debian/tests/upstream
vendored
Executable file
15
debian/tests/upstream
vendored
Executable file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
useradd ubuntu
|
||||||
|
|
||||||
|
export BUILD_BASE_DIR=$(pwd)
|
||||||
|
|
||||||
|
cd tests
|
||||||
|
|
||||||
|
cleanup() {
|
||||||
|
cp testsuite.log $AUTOPKGTEST_ARTIFACTS/
|
||||||
|
cat testsuite.log
|
||||||
|
}
|
||||||
|
|
||||||
|
trap cleanup TERM EXIT
|
||||||
|
|
||||||
|
./run_some 2>&1
|
||||||
3
debian/uidmap.install
vendored
Normal file
3
debian/uidmap.install
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
usr/bin/getsubids
|
||||||
|
usr/bin/newgidmap
|
||||||
|
usr/bin/newuidmap
|
||||||
2
debian/uidmap.lintian-overrides
vendored
Normal file
2
debian/uidmap.lintian-overrides
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
uidmap: elevated-privileges 4755 root/root [usr/bin/newgidmap]
|
||||||
|
uidmap: elevated-privileges 4755 root/root [usr/bin/newuidmap]
|
||||||
5
debian/uidmap.manpages
vendored
Normal file
5
debian/uidmap.manpages
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
usr/share/man/*/man1/newgidmap.1
|
||||||
|
usr/share/man/*/man1/newuidmap.1
|
||||||
|
usr/share/man/man1/getsubids.1
|
||||||
|
usr/share/man/man1/newgidmap.1
|
||||||
|
usr/share/man/man1/newuidmap.1
|
||||||
4
debian/upstream/metadata
vendored
Normal file
4
debian/upstream/metadata
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
Bug-Database: https://github.com/shadow-maint/shadow/issues
|
||||||
|
Bug-Submit: https://github.com/shadow-maint/shadow/issues/new
|
||||||
|
Repository-Browse: https://github.com/shadow-maint/shadow
|
||||||
2135
debian/upstream/signing-key.asc
vendored
Normal file
2135
debian/upstream/signing-key.asc
vendored
Normal file
File diff suppressed because it is too large
Load Diff
7
debian/watch
vendored
Normal file
7
debian/watch
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
version=4
|
||||||
|
opts=downloadurlmangle=s/archive\/refs\/tags\/(.*)\.tar\.gz/releases\/download\/$1\/@PACKAGE@-$1\.tar\.xz/,\
|
||||||
|
versionmangle=s/-(alpha|beta|rc)/~$1/,\
|
||||||
|
dversionmangle=s/\+dfsg1//,repacksuffix=+dfsg1,\
|
||||||
|
pgpmode=auto \
|
||||||
|
https://github.com/shadow-maint/@PACKAGE@/tags \
|
||||||
|
/shadow-maint/@PACKAGE@/archive/refs/tags/([^v].*)\.tar\.gz
|
||||||
Reference in New Issue
Block a user