Date: Tue, 4 Aug 1998 08:24:01 -0700 (PDT) From: David Wolfskill <dhw@whistle.com> To: freebsd-questions@FreeBSD.ORG, svrmsn@email.msn.com Subject: Re: Automount Fails with Permission denied Message-ID: <199808041524.IAA08279@pau-amma.whistle.com> In-Reply-To: <000401bdbf5d$1778d320$f6852599@win95>
next in thread | previous in thread | raw e-mail | index | archive | help
>From: "Salvatore Riccio" <svrmsn@email.msn.com> >Date: Tue, 4 Aug 1998 00:04:29 -0400 >I enabled the amd daemon in my rc.conf file. I entered the directory that I >wanted to mount (/home) with the associated nis map (amd.home). I verified >that the amd daemon was running with "ps" which yielded: >amd -p -a /net -c 1800 -k i386 -d [my-domain] -l syslog /home amd.home You have a "ps" command that creates output that looks like that? >I also verified that I can access the map by issuing the command, >ypcat -k amd.home Which returned what? >I then logged in as root and issued a mount command which yielded >amd:[PID] on /home Surely it yielded a bit more than that? >I then tried to change directory to /home/[user] which gave me a permission >denied. An ls -alF also yields permission denied. I then tried to cd from >the >mount point down to the key which still yielded permission denied At this point, I am (and, as far as I can tell, everyone else but you are) "flying blind" -- I don't know what your maps or the /etc/exports file look like. >cd /net >cd [MachineName] >cd home >cd svr >svr: Permission denied. Well, that sequence indicates that in addition to a "home" map, you may be trying to use a "/net" map, as well. Would you please share some of the actual configuration information? >I then used amq -sm which indicated that everything had mounted >successfully. "Successfully" is a somewhat subjective term. I can't tell *where* things were mounted from your description. >As an aside, if I mount manually every works fine. >Does any one have any suggestions ? As before & above: please share the actual information, both what you've specified & the results of the commands, rather than merely descriptions of them. Feel free to hide information such as user's passwords, certainly, and possibly logins & hostnames... but the more information is hidden, the harder you make it on folks who are trying to help you. david -- David Wolfskill UNIX System Administrator dhw@whistle.com voice: (650) 577-7158 pager: (650) 371-4621 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808041524.IAA08279>