tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Tony Warner <Tony.Warner () gat ! com>
To: tru64-unix-managers
Subject: SUMMARY: /etc/passwd file not being updated
Date: Tue, 26 Jan 1999 19:22:44 +0000	[thread overview]
Message-ID: <96079034715860.tru64-unix-managers.marc@archive.invalid> (raw)

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

*********************************************************************

                 reply	other threads:[~1999-01-26 19:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox