On Mon, 11 Nov 2002, Sanjai Varma wrote:

> I wish to keep  backup on a remote Linux PC  from local Linux PC. Both
> has same  usernames ( same user  and group IDs also)  and passwords. I
> installed "mirrordir" on  local PC. At first attempt it  fail to write
> any  thing as  "/home" was  not  allowing others  to write. I  changed
> permission, so that it succeeded to backup.
> 
> But, it changed used IDs, thus when I login on remote machine, I can't
> go to user's home directory.
> 
I donot know anything about this program "mirrordir" and how it is
working. Otherwise it seems funny. 
> How to solve this problem? Is it possible what I am thinking?
> 
> ---------------------------
> Command used from local PC
> ---------------------------
> mount  /mnt/md
> mirrordir  /home   /mnt/md  --no-chmod  --no-chown  -i
>          --exclude-from /root/exclude.md --strict-locking
> 
> ---------------------------
> fstab entry on local PC
> ---------------------------
> 192.168.106.170:/home /mnt/md nfs noauto,exec,user,rw 0 0
> 
This will work provided you have exported /home in the remote
machine with the following line in the /etc/exports file restart 
nfs out there.

/home                your.local.machine.com(rw,no_root_squash)

Insted of your.local.machine.com you can use wild charectors 
like *.local.machine.com
> 
With no_root_squash, when root mounts the remote /home he will
get the root privilages at the mounted directory.


 Vasudevan.K.S

   /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
  < ***Vasudevan.K.S Beeta Computers mail: [EMAIL PROTECTED] Ph: 778171*** >
   \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to