getcwd and dflt_passwd stuff is done.