NIS Login
hi all,
I have a linux box that authenticates users from NIS server. I do not have home directories of any users on my box. I am able to achieve authentication properly, but
there is a message saying ...
No directory /home/username!
Logging in with home="/".
Now I want to create home directory as soon as a user is authenticated via NIS in the case that there is no /home/username.
I tried putting some lines of code in bashrc, but it seems, login completely ignores whatever is in bashrc. It works for root though (UID<500).
I need a solution to get around this.
All help will be highly appreciated.
Thanks in advance,
Regards,
-zapp
|