Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-06-2010, 12:51 PM
|
#1
|
Member
Registered: Mar 2005
Location: Dayton, Ohio
Distribution: CentOS
Posts: 49
Rep:
|
alternate home directory on NIS client.
Folks,
I have an NFS mount on the NIS client that I want to use as the home directory for all NIS users logging in, but I also want to retain the original /home directory for system users and root on the same client.
The NFS mount is /nishome, and when I defined the NIS user on the the NIS server, I identified this mountpoint as the NIS users' home directory. This same NFS mount is mounted on the NIS server as well.
Any ideas?
Cerephim
|
|
|
12-06-2010, 12:58 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
Any ideas about what? As I read it you sound like you're doing fine...? All that matters is the relevant users posix account data contains the home dir you want, there's nothing special about the home filesystem itself.
|
|
|
12-06-2010, 08:11 PM
|
#3
|
Member
Registered: Mar 2005
Location: Dayton, Ohio
Distribution: CentOS
Posts: 49
Original Poster
Rep:
|
When I login to the nisuser account from the client, it's telling me that the /home/nisuser directory doesn't exist on that server. Which is true. I don't *want* it to exist on that server. I want it to mount on /nishome/nisuser. I want to reserve /home for system admins.
When I create /home/nisuser, the login on the client goes without a hitch.
|
|
|
12-07-2010, 02:27 AM
|
#4
|
Senior Member
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 15.2
Posts: 1,339
|
What does show on the client? Maybe you have to rebuilt the tables on the nis-server with It should show the path to the /nishome/<user> you want to use.
|
|
|
12-07-2010, 03:26 AM
|
#5
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
Quote:
Originally Posted by Cerephim
When I login to the nisuser account from the client, it's telling me that the /home/nisuser directory doesn't exist on that server. Which is true. I don't *want* it to exist on that server. I want it to mount on /nishome/nisuser. I want to reserve /home for system admins.
When I create /home/nisuser, the login on the client goes without a hitch.
|
well then as above, the posix details aren't valid. it will take that from the passwd entry for the user, so the nis server is giving out the wrong data.
|
|
|
All times are GMT -5. The time now is 01:15 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|