Skip to content
Học Công nghệ Thông tin thực chiếnHọc Công nghệ Thông tin thực chiến
  • KHÓA HỌC
  • KIẾN THỨC
  • KÊNH YOUTUBE
  • NGƯỜI SÁNG LẬP
Học Công nghệ Thông tin thực chiếnHọc Công nghệ Thông tin thực chiến
  • KHÓA HỌC
  • KIẾN THỨC
  • KÊNH YOUTUBE
  • NGƯỜI SÁNG LẬP
An toàn thông tin thực chiến

Fedora CoreOS xài thuật toán băm mật khẩu là yescrypt chứ không phải là SHA512

  • 30 Dec, 2024
  • Com 0

Trong khi dòng Red Hat Enterprise Linux 6 7 8 9 vẫn tiếp tục xài thuật toán băm mật khẩu SHA512 theo mặc định thì Fedora CoreOS đã xài thuật toán yescrypt để băm mật khẩu.

# cat /etc/pam.d/password-auth
# Generated by authselect
# Do not modify this file manually, use authselect instead. Any user changes will be overwritten.
# You can stop authselect from managing your configuration by calling 'authselect opt-out'.
# See authselect(8) for more details.

auth        required                                     pam_env.so
auth        required                                     pam_faildelay.so delay=2000000
auth        sufficient                                   pam_unix.so nullok
auth        required                                     pam_deny.so

account     required                                     pam_unix.so

password    requisite                                    pam_pwquality.so
password    sufficient                                   pam_unix.so yescrypt shadow nullok use_authtok
password    required                                     pam_deny.so

session     optional                                     pam_keyinit.so revoke
session     required                                     pam_limits.so
-session    optional                                     pam_systemd.so
session     [success=1 default=ignore]                   pam_succeed_if.so service in crond quiet use_uid
session     required                                     pam_unix.so

# cat /etc/shadow
adm:*::0:99999:7:::
avahi-autoipd:*::0:99999:7:::
bin:*::0:99999:7:::
ceph:*::0:99999:7:::
chrony:*::0:99999:7:::
cockpit-ws:*::0:99999:7:::
daemon:*::0:99999:7:::
dbus:*::0:99999:7:::
dockerroot:*::0:99999:7:::
etcd:*::0:99999:7:::
ftp:*::0:99999:7:::
games:*::0:99999:7:::
halt:*::0:99999:7:::
kube:*::0:99999:7:::
lp:*::0:99999:7:::
mail:*::0:99999:7:::
nfsnobody:*::0:99999:7:::
nobody:*::0:99999:7:::
operator:*::0:99999:7:::
polkitd:*::0:99999:7:::
root:$y$j9T$pAiojzwDcEmej6eZVujRM1$CskDDiYuBMS9ihS4o0fNuPmLfxy/EVegVAJkCGyMkt2:20087:0:99999:7:::
rpc:*::0:99999:7:::
rpcuser:*::0:99999:7:::
shutdown:*::0:99999:7:::
sshd:*::0:99999:7:::
sssd:*::0:99999:7:::
sync:*::0:99999:7:::
systemd-bus-proxy:*::0:99999:7:::
systemd-network:*::0:99999:7:::
systemd-resolve:*::0:99999:7:::
systemd-timesync:*::0:99999:7:::
tcpdump:*::0:99999:7:::
tss:!:::::::
clevis:!:::::::
dnsmasq:!:::::::
zincati:!*:::::::
systemd-coredump:!*:::::::
systemd-oom:!*:::::::
core:$y$j9T$LFt5N0x6RLOUTwbQ0BW7A/$vHe1j.78cBUl6FN2tKkmAI0HK/6t3Rh8X8EBgnSfVE9:20081:0:99999:7:::

Mình chưa thử nhưng theo thông tin trên mạng thì từ Fedora 35 đã xài yescrypt.

yescrypt là thuật toán băm mật khẩu tốt hơn SHA512 do CPU và GPU giờ đã rất mạnh so với ngày xưa nên đập bể mật khẩu SHA512 rất nhanh.

Các hệ điều hành Linux xài thuật toán yescrypt có thể kể tên ra là Debian 11, Ubuntu 20.04 LTS.

Tags:
Fedora CoreOSLinux PAMLinux securityPassword hashing algorithmThuật toán băm mật khẩuThuật toán SHA512Thuật toán yescrypt
Share on:
Fedora CoreOS và Container-Optimized OS đều không xài /etc/fstab
Xài dnf yum để cài phần mềm trên Fedora CoreOS có được không?

Search

Categories

  • An toàn thông tin thực chiến (15)
  • Cơ sở dữ liệu thực chiến (6)
  • Computer security (1)
  • Công nghệ ảo hóa máy chủ (1)
  • Công nghệ lõi Công nghệ Thông tin (1)
  • Công nghệ lõi Linux (8)
  • Công nghệ phần mềm thực chiến (7)
  • Công nghệ Thông tin thực chiến (1)
  • Cybersecurity (1)
  • Đại số tổ hợp (1)
  • DevOps thực chiến (2)
  • Điện toán đám mây thực chiến (3)
  • Docker container (3)
  • Giải tích tổ hợp (1)
  • Hệ điều hành Linux thực chiến (6)
  • Học an toàn thông tin (1)
  • Học công nghệ thông tin thực chiến (1)
  • Information security (1)
  • Lập trình an toàn thông tin (2)
  • Lập trình thực chiến (1)
  • Linux hacking (1)
  • Linux thực chiến (2)
  • Olympic Toán 30 tháng 4 (1)
  • Oracle DBA (11)
  • Podman container (3)
  • Tích hợp hệ thống công nghệ thông tin thực chiến (1)

Tags

AlmaLinux 8 (2) Anaconda installer (3) Biên dịch Linux kernel (4) Biên dịch nhân Linux (4) Container-Optimized OS (2) Container Operating System (4) Container OS (4) Cài Oracle 21c (3) Công nghệ lõi Linux (3) Công nghệ phần mềm thực chiến (3) Fedora CoreOS (3) Hệ điều hành Linux thực chiến (4) Học an toàn thông tin (4) initramfs (2) Linux hugepages (3) Linux kernel (3) Linux kernel module (2) Linux PAM (5) Linux security (8) Lập trình MySQL (2) MySQL database developer (3) MySQL DBA (3) netplan (3) OpenSSH server (2) Oracle database 12c (2) Oracle OUI (5) Oracle Universal Installer (5) Password hashing algorithm (3) Quản trị MySQL (3) Samba Active Directory Domain Controller (4) Samba AD DC (5) Samba AD Domain Controller (5) SMB protocol (3) Thuật toán băm mật khẩu (6) Thuật toán SHA512 (3) Thuật toán yescrypt (4) Tối ưu cơ sở dữ liệu MySQL (4) Tối ưu Linux server (2) Tối ưu MySQL (4) Ubuntu netplan (3) Ubuntu netplan yaml (2) vmlinux (2) vmlinuz (3) VMware Workstation (2) Điện toán đám mây (3)

Học Công nghệ Thông tin chuyên sâu
Tiết kiệm tiền bạc, thời gian, công sức cho người học
© Copyright 2024 CâyTreOS – Học IT thế kỉ 21

Học Công nghệ Thông tin thực chiếnHọc Công nghệ Thông tin thực chiến