Home   Help Login Register  
Welcome, Guest. Please login or register.

Login with username, password and session length

Search
Pages: [1]
Print
Topic: Linux Upgrade Password Hashing Algorithm to SHA-512  (Read 751 times)
0 Members and 1 Guest are viewing this topic.
« on: December 10, 2009, 03:47:50 PM »
Janak
Administrator
Full Member

View Profile
*****
Posts: 119



The default algorithm for storing password hashes in /etc/shadow is MD5. You can set password hashing using the SHA-256 and SHA-512 under CentOS or Redhat Enterprise Linux 5.4 by following below steps:

You need to use authconfig command to setup 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.

Display Current Hashing Algorithm:

Type the following command:
# authconfig --test | grep hashing

Configure Linux Server To Use The SHA-512

To configure the Linux system to use the SHA-512 algorithm, enter:
# authconfig --passalgo=sha512 --update

Thanks!

Janak
Logged

Pages: [1]
Print
Jump to:  

� 2006 VPS forum, VPS hosting forums, VPS discussions, VPS web hosting solutions, issues, providers, virtual web hosting questions, VPS hosting
Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC | Forum style designed by PixelSlot
| Sitemap - XML Sitemap