[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: "Todd C. Miller" <millert_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Thu, 14 Dec 2000 21:01:40 -0700 (MST)
- Reply-to: "Todd C. Miller" <millert_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
CVSROOT: /cvs
Module name: src
Changes by: millert_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2000/12/14 21:01:40
Modified files:
usr.bin/sudo : visudo.c
Log message:
When opening /etc/sudoers for writing, use SUDOERS_MODE for the mode.
Otherwise if the user creates a new sudoers file, makes a syntax error,
and quits, sudoers will have a random file mode. However, since it
is also zero-length, there is no information exposed. Closes PR 1559.
Visit your host, monkey.org