Xref: utzoo comp.unix.questions:9497 comp.bugs.sys5:594
Path: utzoo!utgpu!attcan!uunet!ispi!jbayer
From: jbayer@ispi.UUCP (id for use with uunet/usenet)
Newsgroups: comp.unix.questions,comp.bugs.sys5
Subject: Re: SVR3 passwd changes mode of passwd file
Summary: Not on  Xenix
Message-ID: <197@ispi.UUCP>
Date: 27 Sep 88 15:54:44 GMT
References: <3394@dunkshot.mips.COM> <7@marvin.UUCP> <3699@dunkshot.mips.COM> <131@cetia.UUCP>
Organization: Intelligent Software Products, Inc.
Lines: 17

In article <131@cetia.UUCP>, chris@cetia.UUCP (Chris Bertin) writes:
. 
. To change the mode of a file without being requested to is one thing, but
. SYSV does much better when it comes to the 'utmp' handling. For fun, do
. 
. $ cp /etc/passwd /tmp
. $ ls -l /tmp/passwd
. $ who /tmp/passwd
. $ ls -l /tmp/passwd
. 
. If the utmp code finds that the file you are doing 'who' on is not in 'utmp'
. format, it ZEROES the file!!! Thank you AT&T.

who is non-destructive on SCO Xenix.  I just tried it.

Jonathan Bayer
Intelligent Software Products, Inc.