From owner-freebsd-questions@FreeBSD.ORG Fri Jan 25 01:11:36 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3C21B43E for ; Fri, 25 Jan 2013 01:11:36 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm10-vm0.bullet.mail.ird.yahoo.com (nm10-vm0.bullet.mail.ird.yahoo.com [77.238.189.90]) by mx1.freebsd.org (Postfix) with SMTP id 6A9EC1D3 for ; Fri, 25 Jan 2013 01:11:34 +0000 (UTC) Received: from [212.82.105.224] by nm10.bullet.mail.ird.yahoo.com with NNFMP; 25 Jan 2013 01:11:28 -0000 Received: from [217.146.189.103] by tm20.bullet.mail.ird.yahoo.com with NNFMP; 25 Jan 2013 01:11:28 -0000 Received: from [127.0.0.1] by smtp119.mail.ird.yahoo.com with NNFMP; 25 Jan 2013 01:11:28 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1359076288; bh=2B1FfZQMFQx/GmzfQeQUgz3vKPnXeCj0q6QEsVPYUT4=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:In-Reply-To:References:X-Priority:Content-Type:X-Mailer:Content-Transfer-Encoding:Mime-Version; b=Uxp/AwM7RVKu2ikgOTRuBYphBdvH6L5ElELoRhDhXgw6/HoDgso4YHOg4REbu3e+/T5LY5y3ALxhOV9cSNngpPDNzuF61cDXw/h/yACI4/0j2hWmX/OkGDi+rU2GjofnNQOy9masVu0qsnUSwFRILdc3Aj4waGagN81YSFM50DA= X-Yahoo-Newman-Id: 180168.44940.bm@smtp119.mail.ird.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: bw5l7LwVM1mFPuQcF5kZliMLTP3MxMJGUsUwwmkIJ5nYMUU W.HxrVUPOvKpvU1t2tpsMmjELadyhP2qstQmBb8qVinxX8UvdNWNyQ7orOZy lI5kxOIgPeWF8g1ABTAZHqyxTbnbLQsOZMkGvCWWXq9Ho4hmxTlDMoeCDY8j uRHZAzQngd7seyym1Ic2I1k9mQYflwDb3SvGwrns1rHPkPixc.JK3NAELPlK yQcrjIOv7B6cIWNbKB.Y4ULAFadTPiNODNpgO7iZAGdLKp8wmapAAgpgU1lt vKIZf6nx8GfcREE_7hhHdbjnggjNLIJKr6LrAF7o_EarQ5DNnapKmxubLohk lvu9F6a2PACwB.uinpO7qOQsVT5N2l6Vze4ZoXkmb_qa3wzAckpHAKmMDCIi lgS.Cy7OvXME7CjSPR5IUSNh37TdYX72Gc3_I1q8s4BqtZg-- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [92.224.210.252] (ralf.mardorf@92.224.210.252 with login) by smtp119.mail.ird.yahoo.com with SMTP; 24 Jan 2013 17:11:28 -0800 PST Message-ID: <1359076287.2155.18.camel@precise> Subject: Re: Sharing a mail folder between Linux and FreeBSD From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Fri, 25 Jan 2013 02:11:27 +0100 In-Reply-To: <5101B141.2090909@gmail.com> References: <1358988080.4855.5.camel@precise> <5101B141.2090909@gmail.com> X-Priority: 1 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2013 01:11:36 -0000 Hi all, hi Joshua, On Thu, 2013-01-24 at 16:10 -0600, Joshua Isom wrote: > find / -uid 1001 -exec chown 1000 '{}' \; > find / -gid 1001 -exec chown :1000 '{}' \; I made one mistake, when I run "find / -gid 1001 -exec chown :1000 '{}' \;" for the fist time, I did it without the ":". Later I run it without the typo. There's a serious problem now, rocketmouse still is 1001. .login_conf was '1000 1001', after I "chown 1001" it, to start X as user, it became 'rocketmouse 1001', the user rocketmouse still can't run a X session anymore. After rebooting this is the output I get: # id rocketmouse uid=1001(rocketmouse) gid=1001 groups=1001,0(wheel) # ls -hAl /home/ | grep rocketmouse drwxr-xr-x 28 1000 rocketmouse 1.5k Jan 24 18:14 rocketmouse # grep 100 /etc/group rocketmouse:*:1000: musicpd:*:1002: # grep 100 /etc/passwd rocketmouse:*:1000:1000:Ralf:/home/rocketmouse:/bin/sh musicpd:*:1002:1002:Music Player Daemon:/home/musicpd:/usr/sbin/nologin # grep 100 /etc/master.passwd rocketmouse:$1$3mMkzcfl $VuryrlzFZ92LmaC6cUOa/.:1000:1000::0:0:Ralf:/home/rocketmouse:/bin/sh musicpd:*LOCKED**:1002:1002:daemon:0:0:Music Player Daemon:/home/musicpd:/usr/sbin/nologin I repeated both find-chown several times and rebooted, nothing changed, it doesn't list any files anymore. Regards, Ralf