From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079034715860.tru64-unix-managers.marc@archive.invalid> From: Tony Warner Date: Tue, 26 Jan 1999 19:22:44 +0000 To: tru64-unix-managers Subject: SUMMARY: /etc/passwd file not being updated X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079034715860 Solution: As usual, a ton of quick responses: Use vipw. This works, but I am unclear as to what vipw does that editing the passwd file directly with vi does not do. I am not using a hashed password file. I routinely use vi to cut and paste passwords into new users passwd file entries. This always works fine. I will use vipw from now on to eliminate problems, but if someone could shed some light as to why this should be better, I would appreciate it. Thanks, Tony Warner The problem: I manually edit the /etc/passwd file to reflect a new home directory for a user. Upon the user logging in, they are deposited into the same directory they always have been (not the new one). The /etc/passwd file still reflects the new change, but the $HOME variable is still pointing to the old home directory. Doing a 'finger' on the user, shows the correct new directory as their home. I've made manual changes to the passwd file before with immediate effect. What am I missing? ********************************************************************* Tony Warner Tony.Warner@gat.com General Atomics (619) 455-4285 *********************************************************************