Re: etc/passwd file

From: Bill Unruh (unruh@string.physics.ubc.ca)
Date: 10/28/02


From: unruh@string.physics.ubc.ca (Bill Unruh)
Date: 28 Oct 2002 17:47:07 GMT

david20@alpha1.mdx.ac.uk (David Webb) writes:

]In article <apcro9$pjo$1@spacebar.ucc.usyd.edu.au>, "tina" <comp5019@hotmail.com> writes:
]>why is the /etc/passwd file not hidden
]>to make the system more secure?
]>
]>

]/etc/passwd is world readable because when they developed Unix no one
]thought about the security implications of anyone being able to read
]the encrypted passwords. It really was another world when Unix was being
]developed.

Untrue. It was made open to ensure that the system designers designed
the password storage system so that even if the password database was
known to all, it would still be secure. Password hiding is not a very
effective form of security.

]When they were forced to think about it too many applications depended upon
]other information in /etc/passwd being world readable.

?? They? They designed it that way on purpose.

]Hence the development of the shadow password cludge - leaving all the other
]information in the world readable /etc/passwd file and putting the sensitive
]password information in another more secure file.

Kludge? Well, yes, if you continue to use the crypt(3) passwords then it
is a kludge.

]
]David Webb
]VMS and Unix team leader
]CCSS
]Middlesex University



Relevant Pages

  • Re: Protecting Source code of a perl script
    ... it will be more secure only if there are crackers. ... > are no bugs or holes that can be found by white-hats. ... > hundred other unix networking and administration tools. ...
    (comp.lang.perl.misc)
  • Re: Free Commodities Are Abused
    ... >>It's just as hard to secure a UNIX box as it is a Windows box, ... ALL software sucks. ... I use Linux for all the reasons you listed above, ...
    (sci.crypt)
  • Re: Unix vs. Windows Security
    ... and b) security will mean Internet security. ... There are some core issues at the heart of the UNIX vs. Windows security ... Neither were ever designed to be secure. ...
    (comp.security.misc)
  • Re: Unix vs. Windows for Security
    ... maintain in a secure environment. ... security problems. ... > Unix is a multiuser operating system, so out of the box it is far from ... > don't have that multiuser shell ability on Windows you have on Unix. ...
    (comp.security.unix)
  • Re: Unix/Linux/BSD security vs. Windoze security (was Re: 30 Miles of Bad Code (FORTRAN->C))
    ... about as secure as Windows, that is: ... none intend Unix compatibility. ... from Jonathan S. Shapiro, Johns Hopkins University Information ...
    (comp.lang.fortran)