Welcome to FreeBSDFreaks.net!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

NFS(d)

 
   FreeBSD Hosting (Home) -> FreeBSD Handbook RSS
Next:  Help me please: I'm confused about remote log-in.  
Author Message
michaela

External


Since: Oct 10, 2004
Posts: 2



(Msg. 1) Posted: Sun Oct 10, 2004 2:42 am
Post subject: NFS(d)
Archived from groups: mailing>freebsd>questions (more info?)

I was attempting to setup NFS between my usermachine (nfs-client) and
emailserver (nfs-server) using the instructions from the FreeBSD Handbook
(section 19.5). Both machines are on my LAN.

I wanted to have my users be able to get their email straight from
the /var/mail directory via NFS, as opposed to having it fetched remotely via
PINE.

Everything runs great, EXCEPT... When I goto look at the /var/mail directory
on the usermachine I get this listing.....

(michaela@bsd)-># ls -l /var/mail
total 584
-rw-rw---- 1 apticle mail 0 Oct 9 01:33 .apticle.pop
-rw-rw---- 1 1003 mail 0 Oct 9 12:25 .cyberjedi.pop
-rw-rw---- 1 stunnel mail 0 Oct 8 17:21 .jisaac.pop
-rw-rw---- 1 cyberjedi mail 0 Oct 9 14:24 .michaela.pop
-rw-rw---- 1 michaela mail 0 Oct 8 07:42 .sysadmin.pop
-rw-rw---- 1 apticle mail 0 Oct 9 01:33 apticle
-rw-rw---- 1 astronut mail 0 Sep 4 14:34 astronut
-rw-rw---- 1 mtanaki mail 3256 Sep 16 11:02 babyboy
-rw------- 1 106 106 0 Sep 5 01:07 clamav
-rw-rw---- 1 babyboy mail 0 Sep 4 14:35 cpu
-rw-rw---- 1 1003 mail 0 Oct 9 12:37 cyberjedi
-rw-rw---- 1 sysadmin mail 0 Sep 4 22:26 donations
-rw-rw---- 1 stunnel mail 0 Oct 8 17:21 jisaac
-rw-rw---- 1 cyberjedi mail 0 Oct 9 14:24 michaela
-rw-rw---- 1 clamav mail 380174 Oct 5 11:19 michaeljr
-rw-rw---- 1 goose mail 0 Sep 4 14:36 mtanaki
-rw------- 1 70 70 0 Sep 12 14:03 pgsql
-rw------- 1 root wheel 162836 Oct 9 04:19 root
-rw------- 1 cpu stunnel 0 Sep 8 16:21 stunnel
-rw-rw---- 1 michaela wheel 18523 Oct 9 06:00 sysadmin
-rw-rw---- 1 trivash mail 0 Sep 4 14:38 trivash
(michaela@bsd)->#


Notice how the OWNERS and GROUPS of certain users (entries) don't belong to
the proper "owners". This causes, "PERMISSION DENIED" errors while trying to
read email in PINE because the mailbox isn't 'owned' by the specific user.

The /var/mail directory on my usermachine (nfs-client) is the same as on the
emailserver (nfs-server). However, when running NFS the filepermissions
change the /var/mail directory on the userserver (nfs-client).

I have the option -maproot=root in my /etc/exports file on the emailserver
(nfs-server).

Any idea to what might be causing this, and how I would resolve it??? I was
thinking that even though I have the SAME users on each box, the UIDs are
DIFFERENT on the two machines. Could that be it?????


Thanks in advance....

>> Michael
_______________________________________________
freebsd-questions RemoveThis @freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

 >> Stay informed about: NFS(d) 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Installation & fdisk partitioning (slices) - I picked up a copy of the "FreeBSD Handbook 2nd Ed" the other day, it came with a installation disk for version 5.1 Current and that is what I am trying to install. This is my first attempt to do anything with FreeBSD. First let me describe my...

CVSup vs. portupgrade - Reading from the FreeBSD handbook on "Using the Ports Collection" leaves me a bit confused wrt CVSup and portupgrade... do these utilities accomplish the same thing? Thanks, Jay _______________________________________________..

configuring freebsd dhcp server/router to listen on device - Hello, Im trying to move away from my linksys wireless router and move onto an old Pentium 200 Mhz I have. It will be the gateway between my modem and my network. I installed isc-dhcp3 on the box and took the sample dhcp.conf file in the freebsd..

PPP - Hi! I'm french and don't understand the chapter 18.2.1.2 (Creating PPP device Nodes) in the freeBSD handbook. Precicely I don't understand what is N in the first paragraph. Is it necessary to change the tun0? I have an other question.(I'm sorry if it..

PPP - Hi!! In the FreeBSD handbook, the chapter 18.3.3 talk about the file /etc/ppp/options. I think I must create it and copy that it's written in the handbook concerning this file but I'm not sure. Xavier --------------------------------- Yahoo! Mail...
   FreeBSD Hosting (Home) -> FreeBSD Handbook All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]