Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jan 2000 14:41:52 -0500 (EST)
From:      "Daniel T. Hagan" <dhagan@cslab.vt.edu>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        admins@cslab.vt.edu
Subject:   bin/16272: passwd(1) w/ NIS broken
Message-ID:  <200001211941.OAA49593@snowcow.cslab.vt.edu>

next in thread | raw e-mail | index | archive | help

>Number:         16272
>Category:       bin
>Synopsis:       passwd(1) w/ NIS broken
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 21 12:00:03 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Daniel T. Hagan
>Release:        FreeBSD 3.2-STABLE
>Organization:
Virginia Tech
>Environment:

client:
FreeBSD cantaloupe.cslab.vt.edu 3.2-STABLE FreeBSD 3.2-STABLE #2: \
Wed Jun 23 13:41:26 EDT 1999     \
root@snowcow.cslab.vt.edu:/usr/source/src/sys/compile/PIZZA_BOX  i386
$Id: passwd.c,v 1.15 1998/10/09 06:38:33 markm Exp $

server:
FreeBSD snowcow.cslab.vt.edu 3.4-RELEASE FreeBSD 3.4-RELEASE #5: \
Fri Jan 14 14:30:06 EST 2000     \
root@snowcow.cslab.vt.edu:/usr/source/src/sys/compile/SNOWCOW  i386

>Description:

NIS user imported to client from server via '+:::::::::' in /etc/master.passwd

User runs passwd(1) and instead of changing NIS password, user info gets
pasted into local /etc/master.passwd.

There are some clients which report as 3.2-STABLE #1 (compiled Jun 6th) and 
they don't exhibit this behavior.  I'm not sure if this is a configuration 
problem or what.  I've browsed passwd.c very briefly, but I don't have time 
to sit down and get real familiar with it right now.

>How-To-Repeat:

setup as above, login as NIS user:
% passwd
Changing local password for dhagan.
Old password:
New password:
Retype new password:
passwd: updating the database...
passwd: done

/etc/master.passwd now contains the following:
-----
[snip]
+:::::::::
dhagan:[new passwd]:8232:200::0:0:Daniel T. Hagan:/home/major/dhagan:/bin/tcsh
-----


>Fix:

	I'd be willing to try any suggestions or look at some code
	if someone comes up with a hunch as to what is wrong.

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001211941.OAA49593>