A/UX: How To Edit the "/etc/passwd" File (6/93)


When I try to use the vi editor to edit the "/etc/passwd" file, I get a
message that the file is in use.

If no one is currently editing the /etc/passwd file, delete the "/etc/ptmp"
file. When this file exists, the "/etc/passwd" file cannot be edited
because the "/etc/ptmp" file places a lock on the/etc/passwd" file.

If someone else is editing the /etc/passwd file, wait until they are done.
Do not remove /etc/ptmp file in this case.

Article Change History:
17 Jun 1993 - Revised add information at the end of the article.
31 Aug 1992 - Reviewed for technical accuracy.


Published Date: Feb 18, 2012