Or is it just silly of me to expect something like this to work?
All I want is this: (assuming it's possible)
- I'd share /etc/passwd file of the serverX at serverY:/etc/passwd
- I'd share serverX:/home to serverY:/home
Son anyone can login to serverY and their files will always be there. Then I can have many serverY's to distribute the resource needs.
Is this possible at all?
Thanks, D
ps: serverX is Plesk. NIS,LDAP requires Plesk to change how it operates, so it's not very handy. I don't know if it's ok to mention here but I'd be happy to turn this into a professional assignment if anyone can take this pain away from me.
For
/etc/passwd
I wouldn't do it. Easier and less prone to fail would be to cron a job that distributes your new users every few minutes if there's been changes (make sure to send/etc/shadow
and/etc/groups
and potentially a few more along too). That's easily implementable in a short bash script.As an alternative to doing that, there are alternate authentication schemes for Linux like OpenLDAP, but it sounds like you've already researched these and have discarded using one of them.
/home
being shared would be best accomplished with NFS.