On Sunday, September 1, 2002, at 01:53 , John W. Krahn wrote: [..] > The only UID that should be above 60000 is the user "nobody" whose UID > is 65534.
you know and I know - what would be 'reasonable' and what happens.... [..] > > while ( my( undef, undef, $uid ) = getpwent ) { > $highestuid = $uid if $highestuid < $uid and $uid < $skip; > } > > print 'The next available UID is ', ++$highestuid, "\n"; Stylish and elegant as ever, but doesn't using getpwent also leave open going all the way out to say NIS/NIS+ rather than localizing on the host? I present that, since a friend is in the process of decrufting a site where their NIS/NIS+ "integration strategy" has, well, "issues"... ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]