AFP548 Changing the world one server at a time.

Enable AFP file sharing using terminal

Home › Forums › OS X Server and Client Discussion › File Serving › Enable AFP file sharing using terminal

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #379114
    boneh300
    Participant

    I am currently in the process of building a modular disk image based on 10.6 with combo updates but I have run into a small problem how to turn on afp file sharing using terminal I have looked on line books forums without any luck.

    #381450
    kyleoit
    Participant

    I’ve just run in to the same problem as you. I was just wondering if/how you were able to resolve this.

    For anyone else, basically what I need to do is replicate the GUI funcitonality of going to System Preferences -> Sharing, enableing “File Sharing” and sharing /Volumes/Scratch.

    #381451
    kyleoit
    Participant

    It turns out it was as easy as enabling the LaunchDaemon for AFP. I just created a payload free package containing

    sudo launchctl load -w /System/Library/LaunchDaemons/com.apple/AppleFileServer.plist
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.