Is there a way to link the above files to a file on a shared storage device?
I have 2 servers running RHEL 5.2 (2.6.18-128.1.1.el5), and they're set up in a simple cluster to allowed for gfs volumes on a SAN.
I'd like to be able to update usernames/passwords on one and they apply to the other system as well.
I tried creating the files on the SAN and creating a symlink in /etc, and that didn't work:
[root@mgieeprodweb1 etc]# adduser foo
adduser: unable to open password file
I also tried creating a hard link, but got an error:
[root@mgieeprodweb1 etc]# ln /var/config_store/sys/passwd passwd
ln: creating hard link `passwd' to `/var/config_store/sys/passwd': Invalid cross-device link
Is there a way to do this, or will I have to go to some sort of LDAP authentication to accomplish this?
Thanks for any ideas.