LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 02-24-2005, 02:47 AM   #1
alex r
LQ Newbie
 
Registered: Feb 2005
Posts: 26

Rep: Reputation: 15
automount home directories


Hi!
I'm trying to automount users home directories when they log on. The information about where to find the directory should come from NIS. On the central server I have a file to which the auto.master points to. This file contains entries like these:


john -rw,hard,intr host1:/home/john
bill -rw,hard,intr host3:/home/bill
sally -rw,hard,intr host5:/home/sally
fred -rw,hard,intr host9:/home/fred
jane -rw,hard,intr host1:/home/jane


Now this is really stupid in my opinion because I need to make an entry for every user. Isn't there a possibility to use variables or something like that so one line will be enough?

Or is it actually like this that I have to mount the path containing the home directories at starting time? I don't like that cause if the directory at the server will change I need to update every single workstation with the new path.

Best Regards,
Alex
 
Old 02-24-2005, 07:38 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
If your using NIS, it should actually handle this. I don't understand why you would be using NIS along with automount?
 
Old 02-24-2005, 10:02 PM   #3
alex r
LQ Newbie
 
Registered: Feb 2005
Posts: 26

Original Poster
Rep: Reputation: 15
Sorry but I don't understand what you mean.

When a user logs on, the home directory from a distant server needs to get mounted. So the system takes a look into the auto.master which points to NIS. At NIS the corresponding map, let's call it auto.map, is provided. And this map has the entries I mentioned before. Now this is my point of understanding. Am I wrong? Please tell me what you exactely mean. Maybe you can also provide some configuration files?

Many thanks!
 
  


Reply



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
automount home directories with information from Active Directory (or NIS) alex r Linux - Software 5 08-30-2006 10:05 AM
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 02:37 PM
Automount home directories??? BeauSanders Linux - Networking 2 09-15-2005 04:16 PM
automount Solaris home directories onto RedHat ghouliajoolia Linux - General 3 09-07-2004 06:20 AM
getting home directories to automount with NIS schurt Linux - Networking 3 04-23-2004 12:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05: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
Open Source Consulting | Domain Registration