Todd

You can use autofs. When a user logoff his mounting point is dropped.

Stop NFS

/etc/exports
/home *(rw)

No blanks between * and (

exportfs -a  or exportfs -r

restart portmap
restart NFS

In my net is OK.


in my clients I´m usind autofs. Edit auto.home and auto.master

------- My auto.home - Change Server IP address --------
*  -fstype=nfs,soft,intr,rsize=8192,wsize=8192,nosuid  10.12.116.10:/home/&
------- My auto.master ---------
/home /etc/auto.home --timeout=60

Start autofs in yours clients

Good luck

Flávio Brito

-----Mensagem original-----
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Em
nome de Todd E. Siuta
Enviada em: segunda-feira, 12 de agosto de 2002 20:35
Para: [EMAIL PROTECTED]
Assunto: NIS NFS Question


I am looking for a little help.  I am relatively new to the world of Linux
and I have not been able to find an answer to a problem I am having.
I have setup NIS and NFS on a small network.  The users are able to log in
fine and their home directory and share directory are mounting as expected.
The problem I am seeing is that if user Mary logs in her home directory
/home/mary is exported and mounted with no problem, but when she logs out
and user Bob logs in and does a df,
he sees mount points /home/bob and home/mary.  Now /home/mary is not
accessible by bob, but I would prefer /home/mary umount when she logs out.

What am I missing that would umount her /home/mary exported directory?

Thanks in advance for your assistance.

The Linux Rookie



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 02/08/02



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to