tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: /etc/passwd file not being updated
@ 1999-01-26 19:22 Tony Warner
  0 siblings, 0 replies; only message in thread
From: Tony Warner @ 1999-01-26 19:22 UTC (permalink / raw)
  To: tru64-unix-managers

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

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-01-26 19:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-26 19:22 SUMMARY: /etc/passwd file not being updated Tony Warner

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