Sharing a mail folder between Linux and FreeBSD

Ralf Mardorf ralf.mardorf at rocketmail.com
Fri Jan 25 12:05:59 UTC 2013


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


More information about the freebsd-questions mailing list