[SOLVED] Not able to log in as nis user from client side.
Linux - ServerThis 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.
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.
Whenver, I try to log in as a nis user, I get the following message:
Code:
Your home directory is listed as:
'/rhome'
but it does not appear to exist. Do you want to log in with the /(root) as your home directory?
It is unlikely anything will work unless you use a failsafe session.
/rhome is the home directory for nis1 user. On client side it should be logged in to /data/nis directory. I have already configured auto.master and auto.misc files. After logging as root, I can log in as nis1 (nis user). But, I need to change directory manually. After changing directory to /data/nis, everything works fine.
if that's the users home directory then it should exist. if it should be somewhere else, then you should change it... am I missing something? if you want the directory to be automatically created, then you can use pam_mkhomedir but that's not apparently what you're asking.
Thanks for the prompt reply. I think you did not get me. I have made some changes also. Let me explain in detail:
*I have created a nis1 user with directory /rhome/nis1 on nis server.
* I have created a permanent mount point for nfs at /rhome/nis1 on client side. Nfs mount is working perfect. But, nis1 user is not able to log in to GUI interface also not in runlevel 3.
*When I log in as root on client side, then I can log in as nis1 user. But, I get bash$ instead of user's name. Also directory does not change to /rhome/nis1.
so... have you changed their home directory yet???
is it worth backing up here and asking why you're bothering with NIS anyway? NIS is pretty much obsolete, and you'll be thanked by just about no one if you were to use it in a production environment. It's a useful teaching tool these days, but very rarely anything more.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.