Revision tags: release/4.6.0_cvs |
|
#
ba1556b5 |
| 08-May-2002 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Use libutil instead of pw_{copy,util}.c. Clean up a little. Warnsify.
Sponsored by: DARPA, NAI Labs
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs |
|
#
90e655ea |
| 20-Jul-2001 |
David E. O'Brien <obrien@FreeBSD.org> |
Perform a major cleanup of the usr.sbin Makefiles. These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
|
Revision tags: release/4.3.0_cvs, release/4.3.0 |
|
#
345e52e7 |
| 26-Mar-2001 |
Ruslan Ermilov <ru@FreeBSD.org> |
- Backout botched attempt to introduce MANSECT feature. - MAN[1-9] -> MAN.
|
#
c73e22c3 |
| 20-Mar-2001 |
Ruslan Ermilov <ru@FreeBSD.org> |
Set the default manual section for usr.sbin/ to 8.
|
Revision tags: release/4.2.0, release/4.1.1_cvs, release/4.1.0, release/3.5.0_cvs, release/4.0.0_cvs, release/3.4.0_cvs |
|
#
6e2578e4 |
| 18-Dec-1999 |
Peter Wemm <peter@FreeBSD.org> |
Revert the libcrypt/libmd stuff back to how it was. This should not have happened as it was working around problems elsewhere (ie: binutils/ld not doing the right thing according to the ELF design).
Revert the libcrypt/libmd stuff back to how it was. This should not have happened as it was working around problems elsewhere (ie: binutils/ld not doing the right thing according to the ELF design). libcrypt has been adjusted to not need the runtime -lmd. It's still not quite right (ld is supposed to work damnit) but at least it doesn't impact all the users of libcrypt in Marcel's cross-build model.
show more ...
|
#
7c99ddf2 |
| 16-Dec-1999 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Add libmd (or move it after libcrypt). We don't want the linker to be smart because it will definitely get it wrong. This popped up during cross-linking.
|
Revision tags: release/3.3.0_cvs |
|
#
97d92980 |
| 28-Aug-1999 |
Peter Wemm <peter@FreeBSD.org> |
$Id$ -> $FreeBSD$
|
Revision tags: release/3.2.0, release/3.1.0, release/3.0.0, release/2.2.8, release/2.2.7 |
|
#
930ef4e2 |
| 10-May-1998 |
Bruce Evans <bde@FreeBSD.org> |
Removed bogus dependencies of generated .c files on generated headers.
|
#
22450dd8 |
| 26-Apr-1998 |
Bruce Evans <bde@FreeBSD.org> |
Fixed `make -j9' by putting generated headers in ${SRCS}. Removed bogus dependencies of generated .c files on generated headers (these made `make -JN' work provided `depend' was made first). Sorted
Fixed `make -j9' by putting generated headers in ${SRCS}. Removed bogus dependencies of generated .c files on generated headers (these made `make -JN' work provided `depend' was made first). Sorted sources lists.
show more ...
|
Revision tags: release/2.2.6, release/2.2.5_cvs |
|
#
1f922405 |
| 29-Jul-1997 |
Bill Paul <wpaul@FreeBSD.org> |
Modify rpc.yppasswdd to use the new AF_LOCAL transport in the RPC library instead of its own kludged up version. This makes the special 'superuser-only' update procedure work just like a real RPC ser
Modify rpc.yppasswdd to use the new AF_LOCAL transport in the RPC library instead of its own kludged up version. This makes the special 'superuser-only' update procedure work just like a real RPC service.
show more ...
|
Revision tags: release/2.2.2_cvs, release/2.2.1_cvs, release/2.2.0, release/2.1.7_cvs |
|
#
476602a9 |
| 22-Feb-1997 |
Peter Wemm <peter@FreeBSD.org> |
Revert $FreeBSD$ to $Id$
|
Revision tags: release/2.1.6_cvs, release/2.1.6.1 |
|
#
1130b656 |
| 14-Jan-1997 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
show more ...
|
Revision tags: release/2.1.5_cvs |
|
#
5b963fa1 |
| 05-Sep-1996 |
Bruce Evans <bde@FreeBSD.org> |
Fixed DPADD.
|
#
4eaf2ef2 |
| 06-Jun-1996 |
Bill Paul <wpaul@FreeBSD.org> |
Somehow, I truncated yp_dbwrite.c in the SRCS line to yp_dbwrite. Curiously, this did not stop 'make' from working, but it did break 'make depend.'
|
#
8b6a78c2 |
| 05-Jun-1996 |
Bill Paul <wpaul@FreeBSD.org> |
Added support for in-place updates:
If rpc.yppasswdd is invoked with the -i flag, password changes will be made to the master.passwd template file and the hash map files in-place, which means it won
Added support for in-place updates:
If rpc.yppasswdd is invoked with the -i flag, password changes will be made to the master.passwd template file and the hash map files in-place, which means it won't have to run a complete map update. Instead, it calls /var/yp/Makefile with the 'pushpw' target, which just pushes the maps to the slaves and runs yp_mkdb -c to tell the local ypserv to flush its database cache.
The server will check the passwd.byname and passwd.byuid maps to see if they were built in 'insecure' or 'secure' mode (i.e. with real encrypted passwords in them or without) and update them accordingly.
This combined with rpc.ypxfrd greatly reduces the amount of time it takes to complete an NIS password change, especially with very large passwd databases.
show more ...
|
#
589b8bfc |
| 24-Feb-1996 |
Bill Paul <wpaul@FreeBSD.org> |
Add securenets support (uses same access control mechanism as ypserv, also controlled by /var/yp/securenets).
Add -u flag to turn off the privileged port check done by yp_access(); some commercial s
Add securenets support (uses same access control mechanism as ypserv, also controlled by /var/yp/securenets).
Add -u flag to turn off the privileged port check done by yp_access(); some commercial systems (IRIX, Solaris 2.x, HP-UX, and probably others) don't use a reserved port for submitting yppasswd updates. If we always enforce the check, these client systems will be unable to submit updates to us.
Document securenets support and -u flag in man page.
Like ypserv, you can compile rpc.yppasswdd to use the tcpwrapper package instead of securenets if you want to.
show more ...
|
#
8256fad9 |
| 12-Feb-1996 |
Bill Paul <wpaul@FreeBSD.org> |
Import new rpc.yppasswdd. (Note: accompanying changes to passwd(1) and chpass(1) are on the way too.) This version supports all the features of the old one and adds several new ones:
- Supports real
Import new rpc.yppasswdd. (Note: accompanying changes to passwd(1) and chpass(1) are on the way too.) This version supports all the features of the old one and adds several new ones:
- Supports real multi-domain operation (optional, can be turned on with a command-line flag). This means you can actually have several different domains all served from one NIS server and allow users in any of the supported domains to change their passwords. The old yppasswdd only allowed changing passwords in the domain that was set as the system default domain name on the NIS master server. The new one can change passwords in any domain by trying to match the user information passed to it against all the passwd maps it can find. This is something of a hack, but the yppasswd.x protocol definiton does not allow for a domain to be passwd as an argument to rpc.yppasswdd, so the server has no choice but to grope around for a likely match. Since this method can fail if the same user exists in two domains, this feature is off by default. If the feature is turned on and the server becomes confused by duplicate entries, it will abort the update.
- Does not require NIS client services to be available. NIS servers do _NOT_ necessarily have to be configured as NIS clients in order to function: the ypserv, ypxfr and yppush programs I've written recently will operate fine even if the system domain name isn't set, ypbind isn't running and there are no magic '+' entries in any of the /etc files. Now rpc.yppasswdd is the same way. The old yppasswdd would not work like this because it depended on getpwent(3) and friends to look up users: this will obviously only work if the system where yppasswdd is running is configured as an NIS client. The new rpc.yppasswdd doesn't use getpwent(3) at all: instead it searches through the master.passwd map databases directly. This also makes it easier for it to handle multiple domains.
- Allows the superuser on the NIS master server to change any user's password without requiring password authentication. rpc.yppasswdd creates a UNIX domain socket (/var/run/ypsock) which it monitors using the same svc_run() loop used to handle incoming RPC requests. It also clears all the permission bits for /var/run/ypsock; since this socket is owned by root, this prevents anyone except root from successfully connect()ing to it. (Using a UNIX domain socket also prevents IP spoofing attacks.) By building code into passwd(1) and chpass(1) to take advantage of this 'trusted' channel, the superuser can use them to send private requests to rpc.yppasswdd.
- Allows the superuser on the NIS master to use chpass(1) to update _all_ of a user's master.passwd information. The UNIX domain access point accepts a full master.passwd style structure (along with a domain name and other information), which allows the superuser to update all of a user's master.passwd information in the NIS master.passwd maps. Normal users on NIS clients are still only allowed to change their full name and shell information with chpass.
- Allows the superuser on the NIS master to _add_ records to the NIS master.passwd maps using chpass(1). This feature is also switchable with a command-line flag and is off by default.
show more ...
|