SpiralLinux / SpiralLinux-project

SpiralLinux project
https://spirallinux.github.io/
131 stars 5 forks source link

Cannot find cracklib-check #394

Closed manujchandra closed 5 months ago

manujchandra commented 5 months ago

Hi,

I want to use the command cracklib-check. Its available in the Debian repo:

https://manpages.debian.org/bookworm/cracklib-runtime/cracklib-check.8.en.html https://www.cyberciti.biz/security/linux-password-strength-checker/ https://linuxhint.com/check-password-strength-cracklib-check-raspberry-pi/ https://command-not-found.com/cracklib-check

I have installed: cracklib-runtime libcrack2

When I run : echo "password" | cracklib-check

It says command not found : bash: cracklib-check: command not found

Thanks.

geckolinux commented 5 months ago

Hi there, it gets installed to /sbin/ which is not included in the default $PATH variable, so you need to run it as /sbin/cracklib-check .