Article View: comp.admin.policy
Article #638Re: Student suspended for distributing /etc/passwd
From: Bill Smead
Date: Wed, 12 Jun 1991 23:24
Date: Wed, 12 Jun 1991 23:24
30 lines
1680 bytes
1680 bytes
[Stuff about UofGa student distributing passwd file removed.]
Stefan Linnemann writes:
> In the mean time users have to be able to read /etc/passwd in order to
> get a home directory, a login shell, etcetera.
>
> /etc/passwd is a security risk, that has not been plugged, yet.
Sorry Stefan, maybe it is not distributed in the Netherlands (see other
discussions re: crypt), but this HAS been "plugged":
Under Unix System V, there is an "/etc/shadow" feature which masks the
decrypted passwords from nosey users. In the /etc/passwd file, only
a single x is shown in the second field. The rest of the /etc/passwd is
straight from the old days (userid, UID, GID, full name, $HOME and login
shell). The /etc/shadow contains the userid, the encrypted password,
and the password aging, in days. This feature is turned on with a one-
time command ("pwconv", I believe), which creates /etc/shadow and alters
/etc/passwd. The defaulr permissions for /etc/shadow restrict access
for all but root. The concept, and proper use of shadow passwords
take some time to get used to, but after a short while, they become
second nature.
Regards,
-Bill Smead
Platform Manager
AT&T
attmail!fsmead
Technical Details
Message-ID:
<2718@lafcol.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!netnews.upenn.edu!vax1.cc.lehigh.edu!lehi3b15!lafcol!smeadfShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!netnews.upenn.edu!vax1.cc.lehigh.edu!lehi3b15!lafcol!smeadf From: smeadf@lafcol.UUCP (Bill Smead) Newsgroups: comp.admin.policy Subject: Re: Student suspended for distributing /etc/passwd Summary: /etc/shadow Message-ID: <2718@lafcol.UUCP> Date: 12 Jun 91 23:24:35 GMT Organization: Academic Computer Center, Lafayette College Lines: 30