I have 10 systems with opensuse installed in each of them.I have created 2 servers such that one is NIS and other is NFS , i have added lets say 5 users to NIS and their corresponding home directories were rsynced to second system (NFS). NOw i want to write a script that can delete the user and also delete corresponding NFS located home folder.
I tried userdel but it was unable to delete directory from NFS
Mt /etc/exports of NFS server is
homescis *(fsid=0,crossmnt,rw,root_squash,sync,no_subtree_check)