Date: Fri, 25 Jan 2013 13:05:51 +0100 From: "Ralf Mardorf" <ralf.mardorf@rocketmail.com> To: "FreeBSD quest" <freebsd-questions@freebsd.org> Subject: Re: Sharing a mail folder between Linux and FreeBSD Message-ID: <op.wrguj103uwjkcr@freebsd>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.wrguj103uwjkcr>