From owner-freebsd-questions Wed Feb 13 4:44:37 2002 Delivered-To: freebsd-questions@freebsd.org Received: from speechpro.com (crt-gw.infopro.spb.su [195.201.254.5]) by hub.freebsd.org (Postfix) with ESMTP id C8C5537B400 for ; Wed, 13 Feb 2002 04:44:34 -0800 (PST) Received: from igorr by sysadm.stc with local (Exim 3.33 #1) id 16ayoU-000KMI-00 for freebsd-questions@FreeBSD.ORG; Wed, 13 Feb 2002 15:47:06 +0300 Date: Wed, 13 Feb 2002 15:47:06 +0300 From: Igor Roboul To: freebsd-questions@FreeBSD.ORG Subject: Re: Help, I've broken X Message-ID: <20020213124706.GA78069@sysadm.stc> Reply-To: igorr@speechpro.com Mail-Followup-To: Igor Roboul , freebsd-questions@FreeBSD.ORG References: <20020213001051.A3572@bullwinkle.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020213001051.A3572@bullwinkle.local> User-Agent: Mutt/1.3.26i 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 On Wed, Feb 13, 2002 at 12:10:51AM -1000, Carl Tucker wrote: > Ok. I like to think I'm not totally clueless, but every once in a > while, I do something that makes me reconsider. > > I wanted to remove a user, so I did 'vipw' and deleted the line for > that user. So far so good. Then, I changed to /usr/home, and, as > root, issued: find . -delete -print -user [user] You have made 2 errors. 1) If you wish use something like "-user user" then you must not edit passwd before this command 2) "find" arguments are order-dependent, so right command be find . -user [user] -print -delete -- Igor Roboul, System administrator at Speech Technology Center http://www.speechpro.com http://www.speechpro.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message