Xref: utzoo comp.unix.questions:9452 comp.bugs.sys5:587 Path: utzoo!attcan!uunet!fciva!dag From: dag@fciva.FRANKLIN.COM (Daniel A. Graifer) Newsgroups: comp.unix.questions,comp.bugs.sys5 Subject: Dangers of vi & passwd (Was Re: SVR3 passwd changes mode of passwd file) Summary: vi is not a multiuser Database Manager Keywords: passwd vi vipw Message-ID: <426@fciva.FRANKLIN.COM> Date: 27 Sep 88 16:35:53 GMT References: <3394@dunkshot.mips.COM> <1235@cbnews.ATT.COM> <423@fciva.FRANKLIN.COM> <444@stiatl.UUCP> Reply-To: dag@fciva.UUCP (Daniel A. Graifer) Organization: Franklin Capital Investments, Inc. McLean, Va. Lines: 14 This is a summary of the responses I received when I asked "why shouldn't I use vi to edit /etc/passwd?" The reason is simple: I load up the file with vi. Someone else issues a passwd command to change their passwd. I save my changes. Poor someone else looses out. I guess I should have thought of that! :-) Thanks much to all of you who mailed or posted responses. -Dan -- Daniel A. Graifer Franklin Capital Investments uunet!fciva!dag 7900 Westpark Drive, Suite A130 (703)821-3244 McLean, VA 22102