[1059] in WWW Security List Archive
netscape and /etc/passwd
daemon@ATHENA.MIT.EDU (Michael Reuschling)
Fri Oct 20 09:10:00 1995
From: Michael Reuschling <reuschli@transtec.de>
To: www-security@ns2.rutgers.edu
Date: Fri, 20 Oct 1995 10:46:03 +0100 (MET)
Errors-To: owner-www-security@ns2.rutgers.edu
I had a problem with netscape for SunOS 4.1.3 startups,
so i traced it and figured out, that netscape reads the /etc/passwd-
file.
The trace-output was the following:
[...]
open ("/etc/passwd", 0, 0666) = 4
ioctl (4, 0x40125401, 0xefffd514) = -1 ENOTTY (Inappropriate ioctl for device)
fstat (4, 0xefffd588) = 0
brk (0x349170) = 0
read (4, "root:hNJ93kdb9E3sQ:0:1:Operator:".., 8192) = 514
close (4) = 0
open ("/etc/passwd", 0, 0666) = 4
ioctl (4, 0x40125401, 0xefffd514) = -1 ENOTTY (Inappropriate ioctl for device)
fstat (4, 0xefffd588) = 0
read (4, "root:hNJ93kdb9E3sQ:0:1:Operator:".., 8192) = 514
getpid () = 6561
[...]
Does anybody know, why netscape is doing this? If it would read the
line for my uid, it would not border me, but root...
Best regards,
Michael
---------------------------------------------------------
| Michael Reuschling Phone: +49-7071-703-180 |
| transtec AG Tuebingen Fax: +49-7071-703-139 |
| Waldhoernlestr. 18 Email: reuschli@transtec.de |
| 72072 Tuebingen/Germany |
---------------------------------------------------------