Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am running NFS on a Mac OS X Server 10.4. I had originally set up the NFS exports in the GUI, and restricted the IP addresses in the GUI to which it can export.

Right now, I only have command-line (ssh) access to the Mac. When I run showmount -e, it returns

/Volumes/Data/myshare             172.18.150.138 172.18.150.130

which is correct. However, I want to change the IP addresses to which it is exported to 172.18.150.134 and 172.18.150.132.

When I run nicl . -list /exports, it prints

116        /Volumes/Data/myshare

but I do not know how to change any information in nicl.

There is no /etc/exports file, and when I run find / -exec grep -H "172.18.150" {} \; nothing comes up. nfsd is running.

How can I change the allowed IP addresses in the command-line on Mac OS X Server 10.4?

share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

Mac OS X 10.4 Tiger uses NetInfo database, which was discontinued in 10.5 Leopard. For 10.4:

nicl . -delete 116 clients 172.18.150.130
nicl . -delete 116 clients 172.18.150.138
nicl . -append 116 clients 172.18.150.132
nicl . -append 116 clients 172.18.150.134

Then restart the NFS server.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.