From owner-freebsd-questions@FreeBSD.ORG Fri Jan 25 12:05:59 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 139E282F for ; Fri, 25 Jan 2013 12:05:59 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm22-vm6.bullet.mail.ird.yahoo.com (nm22-vm6.bullet.mail.ird.yahoo.com [212.82.109.225]) by mx1.freebsd.org (Postfix) with SMTP id 21780685 for ; Fri, 25 Jan 2013 12:05:57 +0000 (UTC) Received: from [77.238.189.52] by nm22.bullet.mail.ird.yahoo.com with NNFMP; 25 Jan 2013 12:05:51 -0000 Received: from [217.146.188.173] by tm5.bullet.mail.ird.yahoo.com with NNFMP; 25 Jan 2013 12:05:51 -0000 Received: from [127.0.0.1] by smtp141.mail.ird.yahoo.com with NNFMP; 25 Jan 2013 12:05:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1359115551; bh=0evqM9iTih2HvkxN5NmbK6LJUtHxo5YXV7yqgcnMU4A=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Content-Type:Date:Subject:To:MIME-Version:Content-Transfer-Encoding:From:Message-ID:User-Agent; b=L42qJfzOEaH/xcfwJ2X4LWjKMi710zetkWYxEp3/OE/lMEnwVkCyIkNV3Q+YSuk3Y3R9ojVdR1OEVk4CX6C6Ty6rZ1I/D5gbx1vHNwAUF2ONYvcwJsTClHUT/j3Vqz1j3wdMsPhs4+zZVrf8tSXmwrD8YpxHhW/sgXpgDBmVDbY= X-Yahoo-Newman-Id: 263730.26860.bm@smtp141.mail.ird.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: sOcM5MMVM1kBWfLEbD6ogm7_RkA8WcJsPNoAyDXSrRo6ygT 270QpDDCUa64Ac_O_ydv4jQbmvjCkOHphqIwqjrN2E2ERyVRAcSTE5BjrVOO 428mPUbqquF8tdBMoj1JKpFJi6l0C8UPt5Oqtg66qZMSmiGdM0TUHpMGDqd2 J3E.cAgOmgLLzqJLDgdvblLfhB7aqLreQFkTDf9Rv1yUAY1N.yjPzILT0qZI WR52of0mpCeoOThwbWmAGdS1v_Sy8mK99RMohR8P3e5z2bZ73g1OdioJr6hr UHi76y1cbxjPVhIWQtI31nrTxfTyMKJLnZXN5HLwWvl59bYWpLASwzqPus8h KKJOeKCG070yeoesDbCLkWwB09XXWTdwCeFyf_3gkEbeagg6EpJfuh_wSwZ7 dB_8200bom7GJei7xX36tO8taA7KKJbEVvpGVZ1TKp.G0 X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from freebsd (ralf.mardorf@85.182.22.147 with login) by smtp141.mail.ird.yahoo.com with SMTP; 25 Jan 2013 04:05:51 -0800 PST Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Date: Fri, 25 Jan 2013 13:05:51 +0100 Subject: Re: Sharing a mail folder between Linux and FreeBSD To: "FreeBSD quest" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ralf Mardorf" Message-ID: User-Agent: Opera Mail/12.12 (FreeBSD) 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 12:05:59 -0000 Hi :) after running '# /usr/sbin/pwd_mkdb -d /etc /etc/master.passwd' (FWIW there were no messages) I can now log in to a user X session by GDM. The user can't become root using Xfce Terminal Emulator or by ttyv1 (Ctrl + Alt + F2). This was possible before I switched the uid. Before the switch PPPoE was enabled automatically, now I have to do it manually. $ su su: not running setuid $ ls -l `which su` -r-sr-xr-x 1 rocketmouse wheel 16880 Dec 23 18:38 /usr/bin/su $ ls -l /home/ | grep rocketmouse drwxr-xr-x 28 rocketmouse rocketmouse 1536 Jan 25 12:17 rocketmouse $ ls -l /mnt | grep archlinux drwxrwx--- 21 rocketmouse rocketmouse 4096 Oct 28 19:11 archlinux $ id uid=1000(rocketmouse) gid=1000(rocketmouse) groups=1000(rocketmouse),0(wheel) Ctrl + Alt + F2 > '# ppp -ddial alice' does work '# find / -uid 1001 -exec chown 1000 '{}' \;' no messages '# find / -gid 1001 -exec chown :1000 '{}' \;' no messages > Ctrl + Alt + F9 Without success I again read some important messages of this thread in the archive and googled regarding to the suid issue. Any hints are welcome! Regards, Ralf