From owner-freebsd-questions Wed Apr 28 3:44:27 1999 Delivered-To: freebsd-questions@freebsd.org Received: from names.phile.com.au (philli.lnk.telstra.net [139.130.44.202]) by hub.freebsd.org (Postfix) with SMTP id E755314FFB for ; Wed, 28 Apr 1999 03:44:21 -0700 (PDT) (envelope-from lore@phile.com.au) Received: from ibmmx200.phile.com.au (ibmmx200.phile.com.au [203.35.202.130] ) by names.phile.com.au (Hethmon Brothers Smtpd) ; Wed, 28 Apr 1999 20:43:24 +1000 Message-Id: <199904282043.2431962.6@names.phile.com.au> From: "loren" To: "freebsd-questions@freebsd.org" Date: Wed, 28 Apr 1999 20:44:23 +1100 (EDT) Reply-To: "loren" X-Mailer: PMMail 2.00.1500 for OS/2 Warp 4.00 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Changing a user's UID Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi. This question may not be particularly unique to FreeBSD, but I'm running Version 3.1 and am trying to find a way to change a user's UID. The scenario is as follows: I'm using quotas and have prototyped various ranges of UID's to have different quotas for disk space. If I can avoid it, I'd prefer to not create a new user and a new password, and get the user to change the password to their own preference. I've (probably naivley) tried changing the UID's in the /etc/passwd and the /etc/master.passwd files, but the "quota" command doesn't seem to recognise the new quotas as they've been prototyped. I intend to write scripts to regularly check the permitted amount of background processes being run at the various UID levels, so for my own sanity, I'd prefer not to just change the quotas for a particular user within a previously assigned UID range. (Of course, if someone has already got a suitable script already done to permit a certain number of user background processes, I'd appreciate a copy :) Any suggestions as to how I might be able to acheive this or am I approaching it in the wrong way? Any tips/suggestions/assistance will be very much appreciated. Cheers Phillip To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message