<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/gnu/usr.sbin, branch upstream/2.1.6_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>1997-02-05T04:29:56+00:00</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>1997-02-05T04:29:56+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=860c2cf2bc6592828a3468ab8ee661042b059ae8'/>
<id>860c2cf2bc6592828a3468ab8ee661042b059ae8</id>
<content type='text'>
'RELENG_2_1_6_RELEASE'.

This commit was manufactured to restore the state of the 2.1.6-RELEASE image.
Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'RELENG_2_1_6_RELEASE'.

This commit was manufactured to restore the state of the 2.1.6-RELEASE image.
Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bring in a bunch of man page fixes from the HEAD</title>
<updated>1996-06-27T05:33:29+00:00</updated>
<author>
<name>Gary Palmer</name>
<email>gpalmer@FreeBSD.org</email>
</author>
<published>1996-06-27T05:33:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a18f40d21f5054a5817e4fac2d4e89e4e28c8853'/>
<id>a18f40d21f5054a5817e4fac2d4e89e4e28c8853</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bring in two small fixes from the head:</title>
<updated>1996-06-25T21:17:58+00:00</updated>
<author>
<name>Bill Paul</name>
<email>wpaul@FreeBSD.org</email>
</author>
<published>1996-06-25T21:17:58+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c1f9987f709dd6d608f30c5c35415e9c4269c84c'/>
<id>c1f9987f709dd6d608f30c5c35415e9c4269c84c</id>
<content type='text'>
- Install Makefile.yp as /var/yp/Makefile.dist and only make a link
  to it from /var/yp/Makefile if /var/yp/Makefile doesn't already
  exist. This way we won't clobber an existing copy of /var/yp/Makefile
  which the user may have modified and wants to keep.

- Make the services.byname target generate proper map keys.

This will probably be my last commit to this branch unless the
freeze deadline changes for some reason.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Install Makefile.yp as /var/yp/Makefile.dist and only make a link
  to it from /var/yp/Makefile if /var/yp/Makefile doesn't already
  exist. This way we won't clobber an existing copy of /var/yp/Makefile
  which the user may have modified and wants to keep.

- Make the services.byname target generate proper map keys.

This will probably be my last commit to this branch unless the
freeze deadline changes for some reason.
</pre>
</div>
</content>
</entry>
<entry>
<title>This 3rd mega-commit should hopefully bring us back to where we were.</title>
<updated>1996-06-05T02:59:00+00:00</updated>
<author>
<name>Jordan K. Hubbard</name>
<email>jkh@FreeBSD.org</email>
</author>
<published>1996-06-05T02:59:00+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=78e55a1f29558e8be54566ead1e7be8ab9d45273'/>
<id>78e55a1f29558e8be54566ead1e7be8ab9d45273</id>
<content type='text'>
I can get it to `make world' succesfully, anyway!
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I can get it to `make world' succesfully, anyway!
</pre>
</div>
</content>
</entry>
<entry>
<title>Patch the -stable yppasswdd so that it doesn't try to call getpwnam().</title>
<updated>1996-05-31T14:47:45+00:00</updated>
<author>
<name>Bill Paul</name>
<email>wpaul@FreeBSD.org</email>
</author>
<published>1996-05-31T14:47:45+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d2862cf2f9c3ca8aed0b6901ed9a607f516b9fe5'/>
<id>d2862cf2f9c3ca8aed0b6901ed9a607f516b9fe5</id>
<content type='text'>
The problem with doing this is that getpwnam() will process all the special
inclusion and exclusion lines in /etc/master.passwd, including substitution.
So, for example, if you have a line on your NIS master server that says:

+@disallowed-users:::::::::/etc/nologin

Then yppasswdd will end up with a user record that has /etc/nologin as
a shell. This in turn will get propagated into /var/yp/master.passwd
when an update is performed, and the user's shell will be changed to
/etc/nologin, thus locking them out of the system.

To fix this, yppasswdd now retrieves the user's master.passwd record
directly from ypserv using a call to yp_match(). This bypasses all
the inclusion/exclusion/substitution processing in getpwent(3).

Note that rpc.yppasswdd in FreeBSD-current does not suffer from this
problem: it digs directly into the map database files when searching
for user records, which means it not only bypasses getpwent(3), it
will also work even if your NIS master server isn't set up as an NIS
client. I could have done something similar here, but that would have
meant adding DB interface code which would have been much more complicated.

Bug pointed out by: Tom Samplonius
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The problem with doing this is that getpwnam() will process all the special
inclusion and exclusion lines in /etc/master.passwd, including substitution.
So, for example, if you have a line on your NIS master server that says:

+@disallowed-users:::::::::/etc/nologin

Then yppasswdd will end up with a user record that has /etc/nologin as
a shell. This in turn will get propagated into /var/yp/master.passwd
when an update is performed, and the user's shell will be changed to
/etc/nologin, thus locking them out of the system.

To fix this, yppasswdd now retrieves the user's master.passwd record
directly from ypserv using a call to yp_match(). This bypasses all
the inclusion/exclusion/substitution processing in getpwent(3).

Note that rpc.yppasswdd in FreeBSD-current does not suffer from this
problem: it digs directly into the map database files when searching
for user records, which means it not only bypasses getpwent(3), it
will also work even if your NIS master server isn't set up as an NIS
client. I could have done something similar here, but that would have
meant adding DB interface code which would have been much more complicated.

Bug pointed out by: Tom Samplonius
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge from HEAD, except:</title>
<updated>1996-05-29T22:38:37+00:00</updated>
<author>
<name>Jordan K. Hubbard</name>
<email>jkh@FreeBSD.org</email>
</author>
<published>1996-05-29T22:38:37+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5c6b0b391751cf944e107a5ddab480f5b3d82f51'/>
<id>5c6b0b391751cf944e107a5ddab480f5b3d82f51</id>
<content type='text'>
	Clients that used gnumalloc still do, despite the merge.  We're not
	bringing phkmalloc over.

	Thread stuff left out.

	PCCARD support left out.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Clients that used gnumalloc still do, despite the merge.  We're not
	bringing phkmalloc over.

	Thread stuff left out.

	PCCARD support left out.
</pre>
</div>
</content>
</entry>
<entry>
<title>Sync with main branch.</title>
<updated>1995-10-05T20:02:57+00:00</updated>
<author>
<name>David Greenman</name>
<email>dg@FreeBSD.org</email>
</author>
<published>1995-10-05T20:02:57+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=934486c8eb6a96d10b38c0383955114f9752f2e9'/>
<id>934486c8eb6a96d10b38c0383955114f9752f2e9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'.</title>
<updated>1995-08-30T17:42:29+00:00</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>1995-08-30T17:42:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=09adf59b71be5536e90072a21ff0a298de13b31e'/>
<id>09adf59b71be5536e90072a21ff0a298de13b31e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Brought in change from rev 1.2: "-c" isn't optional for installation of</title>
<updated>1995-08-30T07:19:46+00:00</updated>
<author>
<name>David Greenman</name>
<email>dg@FreeBSD.org</email>
</author>
<published>1995-08-30T07:19:46+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9f3da246ba78a127e2da30cea2b07fd276beb952'/>
<id>9f3da246ba78a127e2da30cea2b07fd276beb952</id>
<content type='text'>
source files.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
source files.
</pre>
</div>
</content>
</entry>
<entry>
<title>Brought in changes from main branch.</title>
<updated>1995-08-25T11:18:41+00:00</updated>
<author>
<name>David Greenman</name>
<email>dg@FreeBSD.org</email>
</author>
<published>1995-08-25T11:18:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=eceba2a18b5b0bdc815e059ba8f08a913ae9cb2c'/>
<id>eceba2a18b5b0bdc815e059ba8f08a913ae9cb2c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
