On Wed, 30 Jun 2010, Ian Smith wrote:
I wondered whether this might be a Linux thing. On my 7.2 system,
% find /usr/src -name *.[ch] -exec grep -Hw getpwuid {} \; file
returns 195 lines, many in the form getpwuid(getuid()), in many base and
contrib components - including id(1), bind,
On Tue, 29 Jun 2010, Ian Smith wrote:
Not wanting to hijack this (interesting) thread, but ..
I have to concur with Rick P - that's rather a odd requirement when each
FreeBSD install since at least 2.2 has come with root and toor (in that
order) in /etc/passwd. I don't use toor, but often
On Tue, Jun 29, 2010 at 9:58 AM, Rick Macklem rmack...@uoguelph.ca wrote:
I suppose if the FreeBSD world feels that root and toor must both
exist in the password database, then nfsuserd could be hacked to handle
the case of translating uid 0 to root without calling getpwuid(). It
seems ugly,
On Tue, Jun 29, 2010 at 10:20:57AM -0500, Adam Vande More wrote:
On Tue, Jun 29, 2010 at 9:58 AM, Rick Macklem rmack...@uoguelph.ca wrote:
I suppose if the FreeBSD world feels that root and toor must both
exist in the password database, then nfsuserd could be hacked to handle
the case of
On Tue, 29 Jun 2010, Rick C. Petty wrote:
To be fair, I'm not sure this is even a problem. Rick M. only suggested it
as a possibility. I would think that getpwuid() would return the first
match which has always been root. At least that's what it does when
scanning the passwd file; I'm not
In the last episode (Jun 29), Rick C. Petty said:
On Tue, Jun 29, 2010 at 10:20:57AM -0500, Adam Vande More wrote:
On Tue, Jun 29, 2010 at 9:58 AM, Rick Macklem rmack...@uoguelph.ca wrote:
I suppose if the FreeBSD world feels that root and toor must both
exist in the password database,
On Tue, 29 Jun 2010, Dan Nelson wrote:
In the last episode (Jun 29), Rick C. Petty said:
On Tue, Jun 29, 2010 at 10:20:57AM -0500, Adam Vande More wrote:
On Tue, Jun 29, 2010 at 9:58 AM, Rick Macklem rmack...@uoguelph.ca
wrote:
I suppose if the FreeBSD world feels that root
On Mon, 28 Jun 2010, Rick Macklem wrote:
On Mon, 28 Jun 2010, Rick C. Petty wrote:
Make sure you don't have multiple entries for the same uid, such as
root
and toor both for uid 0 in your /etc/passwd. (ie. get rid of one of
them, if you have both)
Hmm, that's a