I guess I would have gone the other way and renamed the user rpalmer again... (The following may not be the BEST way to do it but gets the job done.)
sudo -i for x in group* gshadow* passwd* shadow* subgid* subuid* do perl -p -i -e "s/ralph/rpalmer/g;" $x done mv /home/ralph /home/rpalmer exit That finds "ralph" in all of the login-related files and changes the string to "rpalmner", then as a final step (the most critical to you) it renames your home directory back to rpalmer.