Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Mar 1999 17:14:53 -0500 (EST)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        fehr@idirect.com (Eric D. Fehr)
Cc:        cjclark@home.com, freebsd-questions@FreeBSD.ORG
Subject:   Re: NFS mounting /home
Message-ID:  <199903022214.RAA02737@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <Pine.BSI.4.00.9903021514210.10424-100000@hometown.idirect.com> from "Eric D. Fehr" at "Mar 2, 99 03:18:00 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Eric D. Fehr wrote,
> On Tue, 2 Mar 1999, Crist J. Clark wrote:
> 
> > Eric D. Fehr wrote,
> > > I am attempting to nfs mount the /home filesystem from a Network Appliance
> > > NFS server.
> > > 
> > > Here is my problem:
> > > 
> > > I can mount /home, and ssh into the box OK, but when I go to su to root, I
> > > just get the standard "Sorry" message, like it is not able to lookup the
> > > home directory for the root account. 
> > 
> > The 'Sorry' message is when you get the password wrong. Are you using
> > the right root password? Logged into the client machine, su will
> > require the password of root on the client and not the server.
> 
> I have verified that I am using the correct password - if I reboot
> single-user, and replace /home with my pre-NFS copy of /home, everything
> works fine.

I don't understand this. You say you cannot su to root in multi-user
mode (from another user I assume). But when you go into single user
mode, you can su to root... which seems obvious since you already are
root. Can you login as root from a console when you have the /home
tree NFS mounted?

I still don't understand how the home directory would enter into
this. Anyway, isn't root's home directory listed a /root in
/etc/passwd anyway (not /home/root)? Or did you change that even
though you really want it to be /root?

> > > Is their some quirk of su
> > > that does not allow home directories to be NFS mounted symlinks? (or
> > > symlinks from an NFS to local file system?)

If su cannot find a user's home directory, it does not fail. 

-- 
Crist J. Clark                           cjclark@home.com


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?199903022214.RAA02737>