Search code examples
linuxsuse

How to change user password format in suse linux?


My suse linux systems stores user password in MD5 format in /etc/shadow file. I want to change it to sha512.

Is there any command line tool available for that ?


Solution

  • I'm not sure the previous answer is actually what he's asking, it's not just that he wants to hash A password, it's changing the mechanism by default to a more secure one.

    It's pretty ugly, you'll have to parse out the relevant sections from this VMWare posting....

    http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1032666