I'm trying to use hashcat to validate a hashing algorithm but keeping this error when using authconfig command.
error: authconfig: command not found ubuntu
Am I missing something? I haven't installed ldap but the server is configured as LAMP.
I'm trying to use hashcat to validate a hashing algorithm but keeping this error when using authconfig command.
error: authconfig: command not found ubuntu
Am I missing something? I haven't installed ldap but the server is configured as LAMP.
authconfig is not packaged with Ubuntu 14.04. You can use SSSD (System Security Services Daemon (SSSD) instead. I found this useful.
apt install ldap-auth-config
will generate a user-interactive prompt that will ask for your LDAP server name or IP and port number as well as the CN, OU and DC information.
I can only speak to Bionic Beaver as that's what I currently work with.
You need to use authconfig command to set up SHA-256/512 hashing. This command provides a simple method of configuring /etc/sysconfig/network to handle NIS, as well as /etc/passwd and /etc/shadow, the files used for shadow password support. Basic LDAP, Kerberos 5, and SMB (authentication) client configuration is also provided.
Type the following command:
authconfig --test | grep hashing
Configure Linux Server To Use The SHA-512 algorithm
To configure the Linux system to use the SHA-512 algorithm, enter:
authconfig --passalgo=sha512 --update
Note: users need to change their passwords in order to generate hashes using SHA-512. You can force users to change their password on next login:
change -d 0 userName