Date: Wed, 13 Feb 2002 15:47:06 +0300 From: Igor Roboul <igorr@sysadm.stc> To: freebsd-questions@FreeBSD.ORG Subject: Re: Help, I've broken X Message-ID: <20020213124706.GA78069@sysadm.stc> In-Reply-To: <20020213001051.A3572@bullwinkle.local> References: <20020213001051.A3572@bullwinkle.local>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020213124706.GA78069>