SVR3 passwd changes mode of passwd file

id for use with uunet/usenet jbayer at ispi.UUCP
Wed Sep 28 01:54:44 AEST 1988


In article <131 at cetia.UUCP>, chris at 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.



More information about the Comp.bugs.sys5 mailing list