LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-10-2004, 09:37 PM   #1
zapperabhi
LQ Newbie
 
Registered: Jan 2004
Posts: 24

Rep: Reputation: 16
Question NIS authentication & /home directories


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 locally 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 tried the profile file too but it gave permission denied error.

I want to only authenticate using NIS and create home directories locally using (maybe) a local script which runs after authentication ... checks if home directory exists, if not, creates one using the username it just authenticated for.

I need a solution to get around this.
All help will be highly appreciated.
Thanks in advance,
Regards,
-zapp
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NIS and home directories (Suse 10) linuxmfx Linux - Networking 3 10-19-2005 11:28 AM
Trouble Accessing NIS Home Directories MarvinWatkins Red Hat 2 06-02-2005 05:23 AM
Home directories and AD authentication Kerry Davis Linux - Networking 5 07-14-2004 11:26 AM
getting home directories to automount with NIS schurt Linux - Networking 3 04-23-2004 01:55 PM
NIS/NFS and sharing home directories grebo Linux - Networking 1 09-22-2001 12:21 AM


All times are GMT -5. The time now is 08:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration