|
Home > Archive > Red Hat Topics > August 2005 > NFS Newbie - group id
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
NFS Newbie - group id
|
|
| Jason Williard 2005-08-05, 8:45 pm |
| I just got NFS setup to share the users home directories amongst our
servers. I have come up with a couple issues that I have been unable to
resolve. I'm hoping someone has some ideas for me.
For starters, when a user logs in, they get the following error:
"Could not chdir to home directory /users/USERNAME: Permission denied"
However, the user is placed in that directory and is able to read/write to
that folder. Does anyone know why that error is occurring when they login?
Also, when a user creates a new file, the owner permission is set properly,
but it is given the GID of nfsnobody. Does anyone know why this is
happening?
Thank You,
Jason Williard
| |
| Jason Williard 2005-08-05, 8:45 pm |
| Okay, more info on this... may be an NIS thing.
I, apparently, did not remove the default group from /etc/groups. After I
did, I noticed that I was left with just the GID when listing the contents
of a directory. If I run "ypcat group" or "ypcat group.bygid" I get
nothing. However, the group.bygid exists in /var/yp/DOMAIN of the master
server. Any idea why this info isn't being propagated?
Thank You,
Jason Williard
"Jason Williard" <jwilliard@pcsafe.com> wrote in message
news:yOmdnTL9IqRxYm7fRVn-2A@comcast.com...
>I just got NFS setup to share the users home directories amongst our
>servers. I have come up with a couple issues that I have been unable to
>resolve. I'm hoping someone has some ideas for me.
>
> For starters, when a user logs in, they get the following error:
> "Could not chdir to home directory /users/USERNAME: Permission denied"
>
> However, the user is placed in that directory and is able to read/write to
> that folder. Does anyone know why that error is occurring when they
> login?
>
> Also, when a user creates a new file, the owner permission is set
> properly, but it is given the GID of nfsnobody. Does anyone know why this
> is happening?
>
>
> Thank You,
> Jason Williard
>
| |
| Jason Williard 2005-08-05, 8:45 pm |
| Um... nevermind I must not have run a make after I added the group.
Whoops. I'm still getting the original issues. (New files get GID of
nfsnobody and the permission denied error when logging in)
"Jason Williard" <jwilliard@pcsafe.com> wrote in message
news:fYWdnZ2dnZ0EP0LHnZ2dncSfad-dnZ2dRVn-z52dnZ0@comcast.com...
> Okay, more info on this... may be an NIS thing.
>
> I, apparently, did not remove the default group from /etc/groups. After I
> did, I noticed that I was left with just the GID when listing the contents
> of a directory. If I run "ypcat group" or "ypcat group.bygid" I get
> nothing. However, the group.bygid exists in /var/yp/DOMAIN of the master
> server. Any idea why this info isn't being propagated?
>
> Thank You,
> Jason Williard
>
>
> "Jason Williard" <jwilliard@pcsafe.com> wrote in message
> news:yOmdnTL9IqRxYm7fRVn-2A@comcast.com...
>
>
| |
| Mark Eackloff 2005-08-07, 2:46 am |
| I suspect you have not run authconfig on the client. Set up the client
to use NIS by running authconfig. Select "Use NIS" under User
Information. Select the apprpriate types of authentications you are
using under "Authentication." My guess is you will select "Use MD5
Passwords" and "Use Shadow Passwords." Tab down to the bottom of the
first display and click the "Next" button. On the next display enter
the NIS domain you set on the server. Click OK.
This will make the appropriate changes in the following files:
/etc/sysconfig/network
/etc/yp.conf
/etc/nsswitch.conf
/etc/pamd.system-auth
/etc/sysconfig/authconfig
You may want to first make copies of the above files and diff the new
against the saved copies to see what happened (and to recover if
something went wrong).
Jason Williard wrote:
> Um... nevermind I must not have run a make after I added the group.
> Whoops. I'm still getting the original issues. (New files get GID of
> nfsnobody and the permission denied error when logging in)
>
>
> "Jason Williard" <jwilliard@pcsafe.com> wrote in message
> news:fYWdnZ2dnZ0EP0LHnZ2dncSfad-dnZ2dRVn-z52dnZ0@comcast.com...
>
>
>
|
|
|
|
|