Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* very strange NIS problem
@ 2004-07-13  6:52 Erkki Aalto
  2004-07-14 10:32 ` Erkki Aalto
  2004-07-16  0:31 ` Mario Stargard
  0 siblings, 2 replies; 5+ messages in thread
From: Erkki Aalto @ 2004-07-13  6:52 UTC (permalink / raw)


We have a system with Tru64 5.1a, C2 and NIS. The NIS master server
uses btree format (this seems to be necessary for performance reasons
in 5.x even with modest user databases).

Recently we changed the uid numbers to be equal to those of another unix
system. Now the uids are not in increasing order in the passwd file
and they are larger than 10000, but there should be no other
differences.

The problem: sometimes, when a user is modified with usermod (in
practice, shell is changed), the user database is broken
and part of users are lost. To be more precise, the passwd.byname
map OK, but passwd.byuid is truncated. Touching the passwd file
and doing make passwd corrects the maps.

Does anyone have any idea about what is going on?




-- 
Erkki '�rkki' Aalto                          "Life is divided up into
Internet: Erkki.Aalto@Helsinki.FI             the horrible and the miserable"
Snail: P.O. Box 64
       FI-00014 University of Helsinki, Finland


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: very strange NIS problem
  2004-07-13  6:52 very strange NIS problem Erkki Aalto
@ 2004-07-14 10:32 ` Erkki Aalto
  2004-07-16  0:31 ` Mario Stargard
  1 sibling, 0 replies; 5+ messages in thread
From: Erkki Aalto @ 2004-07-14 10:32 UTC (permalink / raw)


Erkki Aalto <aalto@pcu.nospam.helsinki.fi.invalid> wrote:
: To be more precise, the passwd.byname
: map OK, but passwd.byuid is truncated. Touching the passwd file
: and doing make passwd corrects the maps.

To be even more precise passwd.byname is not OK. It is not truncated,
but neither is it correctly sorted. Passwd.byuid is both truncated
and unsorted.

-- 
Erkki '�rkki' Aalto                          "Life is divided up into
Internet: Erkki.Aalto@Helsinki.FI             the horrible and the miserable"
Snail: P.O. Box 64
       FI-00014 University of Helsinki, Finland


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: very strange NIS problem
  2004-07-13  6:52 very strange NIS problem Erkki Aalto
  2004-07-14 10:32 ` Erkki Aalto
@ 2004-07-16  0:31 ` Mario Stargard
  2004-07-16  5:30   ` Erkki Aalto
  1 sibling, 1 reply; 5+ messages in thread
From: Mario Stargard @ 2004-07-16  0:31 UTC (permalink / raw)


Erkki Aalto wrote:
> We have a system with Tru64 5.1a, C2 and NIS. The NIS master server
> uses btree format (this seems to be necessary for performance reasons
> in 5.x even with modest user databases).
> 
> Recently we changed the uid numbers to be equal to those of another unix
> system. Now the uids are not in increasing order in the passwd file
> and they are larger than 10000, but there should be no other
> differences.
> 
> The problem: sometimes, when a user is modified with usermod (in
> practice, shell is changed), the user database is broken
> and part of users are lost. To be more precise, the passwd.byname
> map OK, but passwd.byuid is truncated. Touching the passwd file
> and doing make passwd corrects the maps.
> 
> Does anyone have any idea about what is going on?
> 
> 
> 
> 
Have you run authck?

Mario



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: very strange NIS problem
  2004-07-16  0:31 ` Mario Stargard
@ 2004-07-16  5:30   ` Erkki Aalto
  2004-07-16 18:13     ` Mario Stargard
  0 siblings, 1 reply; 5+ messages in thread
From: Erkki Aalto @ 2004-07-16  5:30 UTC (permalink / raw)


Mario Stargard <mstargard@myprivacy.ca> wrote:
: Have you run authck?

Now I have, and it did not find anything. As it was to be expected, the
problem is with the passwd maps, prpasswd map is OK.

-- 
Erkki '�rkki' Aalto                          "Life is divided up into
Internet: Erkki.Aalto@Helsinki.FI             the horrible and the miserable"
Snail: P.O. Box 64
       FI-00014 University of Helsinki, Finland


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: very strange NIS problem
  2004-07-16  5:30   ` Erkki Aalto
@ 2004-07-16 18:13     ` Mario Stargard
  0 siblings, 0 replies; 5+ messages in thread
From: Mario Stargard @ 2004-07-16 18:13 UTC (permalink / raw)


Erkki Aalto wrote:
> Mario Stargard <mstargard@myprivacy.ca> wrote:
> : Have you run authck?
> 
> Now I have, and it did not find anything. As it was to be expected, the
> problem is with the passwd maps, prpasswd map is OK.
> 
chfn, passwd, and chsh also change information in the passwd map.  Do 
using these utilities also produce the same behaviour?

Mario



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-07-16 18:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-13  6:52 very strange NIS problem Erkki Aalto
2004-07-14 10:32 ` Erkki Aalto
2004-07-16  0:31 ` Mario Stargard
2004-07-16  5:30   ` Erkki Aalto
2004-07-16 18:13     ` Mario Stargard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox