[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.
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.
Whenver, I try to log in as a nis user, I get the following message:
Your home directory is listed as:
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.