I'm looking for a ksh script that will insert an encrpyted password into the /etc/shadow on a new server.
I can extract the encrypted password from the /etc/shadow on another server, but I'm having problems inserting it between the first and second colon ":".
But even before I do that, I need to remove what is already beween the first and second colon (
.
(colon).
I can't be the first person to do this. thx.