From owner-freebsd-questions@FreeBSD.ORG Fri Sep 2 12:08:16 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19F7016A41F for ; Fri, 2 Sep 2005 12:08:16 +0000 (GMT) (envelope-from mjuszczak@dandy.net) Received: from neptune.atopia.net (neptune.atopia.net [209.128.231.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id D268C43D49 for ; Fri, 2 Sep 2005 12:08:15 +0000 (GMT) (envelope-from mjuszczak@dandy.net) Received: from [192.168.0.102] (pcp173257pcs.plsntv01.nj.comcast.net [68.46.70.16]) by neptune.atopia.net (Postfix) with ESMTP id 8C3A46187 for ; Fri, 2 Sep 2005 08:08:14 -0400 (EDT) Message-ID: <431840AD.1020001@dandy.net> Date: Fri, 02 Sep 2005 08:08:13 -0400 From: Matt Juszczak User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050701) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: overlapping UID crisis X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Sep 2005 12:08:16 -0000 hi all, we had an overlapping uid crisis at work today. I ended up writing a script to start at 30000 and increment by 1, to change all user's UID's (except system accounts) Then I wrote a script that did a recursive: chown -R $username:users /home/$username chown $username:users /var/mail/$username Is there anything i am missing? We've been up all night and I just need to make sure my tired mind isn't forgetting anything. Thanks, Matt