[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: Tue, 12 Mar 2002 11:45:17 -0700 (MST)
CVSROOT: /cvs
Module name: src
Changes by: millert_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2002/03/12 11:45:17
Modified files:
libexec/identd : identd.c
Log message:
1) user and group name may start with a number (though it is a bad idea).
For the -u/-g flags do passwd/group file lookups first and then try
as a numeric id.
2) Set the gid based on the uid's passwd file entry if there is one, just
like we do with names.
Partially based on a patch from Brian Poole
Visit your host, monkey.org