Home Forums OS X Server and Client Discussion File Serving Connect to an Xserve AFP Share As Root?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #356440
    tim914
    Participant

    Title says it all – can this be done? If I use AFP to connect to our Xserve, the shared volume is mounted as my administrative user. Because of this, even if I am root on my G4, there are files on the Xserve that I can’t access (they belong to other users or root on the Xserve).

    Of course, I can mount as root using NFS, but then we get into the resource fork loss arena and that’s a whole new set of headaches.

    Anybody figured this one out? Or, is it a lost cause?

    #356451
    tim914
    Participant

    Thanks, Joel,

    [EDIT] Spoke too soon, the remote system is still telling me that I have an Unknown user, invalid password, or log on is disabled.

    If I issue:

    [code:1:18e1fe38b6]niutil -readprop . /config/AppleFileServer allow_root_login[/code:1:18e1fe38b6]

    it returns a 1. Does this one need to restart the AFP server?

    I can connect to it using any other user name on that system.

    Tim

    #356453
    tim914
    Participant

    Rerstarted and can now connect, but no volumes (there are 2) are displayed to pick from.

    Tim

    #356460
    Cabbage
    Participant

    This definitely used to work, have you tried with 10.2.8.

    #356461
    tim914
    Participant

    I’ve tried with 10.2.6 and 10.2.8. Same result.

    The connection is allowed, but none of the shared volumes are listed.

    Thanks for the persistence on this.

    Tim

    #356462
    tim914
    Participant

    I’ve now gone into Workgroup Manager’s Sharing tab and made sure that my volumes are shared properly. I even took this so far as to make the root volume shared. No filesystems are listed on the client system when I connect as root.

    Tim

    #358889
    Anonymous
    Guest

    Hmm. Same problem here. I have two xservers one replicates shared data to the other (or is supposed to). The problem is that the best software around to do this doesn’t copy 100% due to file permissions even though the remote mounted the afp shares with an admin account (not root). I wrote a simple script intended to chown and chmod both the local and remote shares before backup thus ensuring all files are copied. As I can only do this as root, I cannot access the files on the remote share.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.

Comments are closed