home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!chinacat!rpp386!jfh
- From: jfh@rpp386.lonestar.org (John F. Haugh II)
- Newsgroups: comp.unix.admin
- Subject: Re: Prevent user from editing /etc/passwd
- Message-ID: <21393@rpp386.lonestar.org>
- Date: 21 Aug 92 12:33:10 GMT
- References: <1992Aug17.131329.22491@cpp.ob.open.de> <21390@rpp386.lonestar.org> <170j07INNoj3@early-bird.think.com>
- Reply-To: jfh@rpp386.cactus.org (John F. Haugh II)
- Organization: River Parishes Programming, Austin, Republic of Texas
- Lines: 23
-
- In article <170j07INNoj3@early-bird.think.com> barmar@think.com (Barry Margolin) writes:
- >I interpreted the "and must know" to mean that this user is authorized to
- >know the root password. If the user is authorized to use the root
- >password, that implies that he's supposed to have an account. Disabling
- >his account it probably not an option.
-
- Sorry about the confusion - I interpreted it as "and I've tried every
- other way of preventing him from becoming root, so he must be using the
- root password to become root".
-
- >>chmod a-w /etc/passwd
- >
- >That won't work. Write access isn't checked when you're the superuser.
-
- Once you get rid of all the unauthorized root users it sure does ;-)
-
- [ Assuming you get rid of a few other things at the same time - like all
- of the set-UID shells ... ]
- --
- John F. Haugh II | Life's Little Instruction Book:
- Ma Bell: (512) 251-2151 | "#138. Learn Spanish. In a few years,
- UUCP: ...!cs.utexas.edu!rpp386!jfh | more than 35% of all Americans will speak
- Domain: jfh@rpp386.cactus.org | it as their first language."
-