From owner-freebsd-questions Fri Nov 16 4:31:32 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-31-203-60.mmcable.com [65.31.203.60]) by hub.freebsd.org (Postfix) with SMTP id 4D4D237B417 for ; Fri, 16 Nov 2001 04:31:30 -0800 (PST) Received: (qmail 93934 invoked by uid 100); 16 Nov 2001 12:31:29 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15349.1825.681411.640759@guru.mired.org> Date: Fri, 16 Nov 2001 06:31:29 -0600 To: jessie@power-jessie.net Cc: questions@freebsd.org Subject: Re: help on system accounts In-Reply-To: <26109311@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jessie@power-jessie.net types: > hello everyone! > 1. is there a limit to the number of system accounts > the master.passwd/passwd can hold? i currently have > about more than 13,000 accounts and is still increasing. > is it advisable to have such number of accounts? any > suggestions? There's always a limit, thought it may vary depending on how much virtual your machine has. Back when the password file was flat ascii, that many passwords could cause problems. At that time, passwords were also signed 16 bit ints, so any uid above 32K or so would cause problems. These days the password lookup is done via dbm, and uids are unsigned 32 bit ints, so you're fine. Except - there may be programs that still think user ids are signed or sixteen bits, so I'd avoid using userid above 32,000 if you can. > 2. i've accidentally chowned some user files to root and > i want to put them back to their respective user's ownership. > how can i easily change the ownership/group of files/dirs? I like Patrick's answers to those. http://www.mired.org/home/mwm/ Q: How do you make the gods laugh? A: Tell them your plans. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message