Commit Graph

31 Commits

Author SHA1 Message Date
Xi Ruoyao
c2325070af
shadow: Allow using bcrypt and yescrypt, and use yescrypt as the default
Yescrypt is the current default password hashing algorithm of Fedora
and Debian.  See [1] for its advantage.

Now we have libxcrypt providing the implementation of bcrypt and
yescrypt, we can switch to yescrypt as well.  We also don't need to
adjust the rounds for SHA512 anymore.

[1]:https://www.fedoraproject.org/wiki/Changes/yescrypt_as_default_hashing_method_for_shadow#Detailed_Description
2023-07-03 21:28:36 +08:00
Pierre Labastie
aea16f699e Sync shadow "rounds" parameter to blfs
Otherwise, As Xi has noticed, the password set for root at the end
of lfs may use the value 5000 for rounds, and not be changed, even
if later the number of rounds is increased.
2022-11-25 09:30:45 +01:00
Xi Ruoyao
9a23a75c5d
Revert "shadow: add spaces around —"
This reverts commit 0298c764d8.

We don't use spaces around &mdash anywhere else in the book.
2022-11-23 11:18:29 +08:00
Bruce Dubbs
66d32d7e29 word choice 2022-11-22 15:19:47 -06:00
Xi Ruoyao
a66cd7f020
shadow: update desc of libsubid
I was using the transitive verb "process" here, not the noun.  Use
another word to avoid the ambiguity.  Also add "and groups" because
there is also subgid alongside subuid.
2022-11-23 01:21:39 +08:00
Xi Ruoyao
0298c764d8
shadow: add spaces around —
IMO it makes the rendering prettier.
2022-11-23 01:04:04 +08:00
Xi Ruoyao
9af3d7f77d
shadow: fix (clarify?) the consequence of missing "users" group
To me "has been created" is not correct.  Or maybe it's some advanced
usage of English I don't understand...
2022-11-23 00:59:43 +08:00
David Bryant
54948b710c Straighten out capitalization, correct a few grammatical errors,
improve English idiom, clarify a few things, remove superfluous
verbiage, etc.
2022-11-21 16:13:06 -06:00
Pierre Labastie
f2dff2db69 Shadow: /usr/include/shadow is an installed dir 2022-11-16 17:46:26 +01:00
Bruce Dubbs
7b270d9a69 Wording 2022-02-25 14:58:18 -06:00
Xi Ruoyao
52155b6c33
shadow: add --disable-static
Approved by bdubbs for 11.1.

To editors: no need to rebuild system and re-tag anything, AFAIK nothing
in BLFS uses libsubid now.  You may delete /usr/lib/libsubid.a on your
system manually.
2022-02-18 12:51:41 +08:00
Xi Ruoyao
b5e4ab72f1
shadow: add description for libsubid 2022-02-17 19:39:07 +08:00
Xi Ruoyao
cd0ca9371c
shadow: fix a typo 2022-01-16 00:42:27 +08:00
Pierre Labastie
7ad105665e Add missing installed program in shadow
getsubids has been added in shadow-4.10
2022-01-15 04:45:33 -08:00
Bruce Dubbs
ade3efafc6 Package updates.
Update to shadow-4.11.1.
Update to readline-8.1.2.
Update to meson-0.61.0.
Update to libpipeline-1.5.5.
Update to bash-5.1.16.
2022-01-14 13:43:28 -06:00
Pierre Labastie
b029aa8bfb Remove ending space in shadow 2022-01-04 19:23:38 +01:00
Bruce Dubbs
da7949dfb6 Minor reworing of reason for GID 999 2022-01-04 11:43:19 -06:00
Xi Ruoyao
e7f0fa1fa6
shadow: "users" is a groupname, not a parameter 2022-01-05 01:12:58 +08:00
Pierre Labastie
2b3f5219bc Reword explanation of GROUP parameter in /etc/default/useradd
Tell that 999 comes from the --gid parameter, and that we already have
a group "users" with this gid to prevent messages when first using useradd.
2022-01-04 17:53:09 +01:00
Pierre Labastie
7f13657de1 shadow: move /etc/default/useradd creation to "Configuration"
This is needed so that /etc/default/useradd is not removed by package
managers when rebuilding shadow in BLFS. Change the explanations in
the text accordingly.
2022-01-04 12:38:18 +01:00
Bruce Dubbs
ad89f7b0d6 Package updates.
Update to e2fsprogs-1.46.5.
Update to zstd-1.5.1.
Update to expat-2.4.2.
Update to shadow-4.10.
Update to sysvinit-3.01.
Update to linux-5.15.12.
Update to iana-etc-20211224.
Update to openssl-3.0.1.
Update to eudev-3.2.11.
Update lfs-latest-git.php currency for new eudev location.
2021-12-31 07:10:48 -06:00
Thomas Trepl (Moody)
5287d521e9 Simplify the new sed 2021-07-27 11:54:51 +02:00
Thomas Trepl (Moody)
6d6f242029 Fix a programming error in shadow-4.9 2021-07-26 22:14:09 +02:00
Bruce Dubbs
ff96923bf3 Package updates and stripping fixes
Add workaround to strip libraries correctly.
Update to shadow-4.9.
Update to util-linux 2.37.1.
2021-07-25 20:10:18 -05:00
Xi Ruoyao
f23960ab25
shadow: adjust for merged /usr 2021-06-27 16:48:48 +08:00
Xi Ruoyao
c03457342d
typos fix 2021-05-13 01:43:09 +08:00
Douglas R. Reno
d7a942197e Merge Xi's changes into trunk
Update to meson-0.58.0
Update to systemd-248
Update to gcc-11.1.0
Update to linux-5.12.1
Update to iproute2-5.12.0
Update to Python-3.9.5
Make /bin, /sbin, and /lib symlinks to their counterparts in /usr.
Thanks again for a significant portion of this work goes to Xi, I only
really merged it and made a couple of modifications for my updates. To
LFS 11.x we go!
2021-05-11 23:24:11 -05:00
Bruce Dubbs
3d92d63bde Minor updates.
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11939 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-14 15:24:09 +00:00
Bruce Dubbs
6a156bab1b Mostly text updates in Chapter 8.
There are a couple of minor command changes.



git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11924 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-12 04:40:07 +00:00
Thomas Trepl
fb386e05f1 Rename package entities to be independent of chapter numbering
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11921 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-11 12:55:28 +00:00
Bruce Dubbs
fcc027677d Initial commit of alternative cross LFS
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11897 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-07 20:16:00 +00:00