Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
I use linux on my computer and experienced some strangeness when trying to get the built in samba working on my NAS box.
First off all, I created the same user with the same password on the NAS box that I have on my main box. My expectations were that having the same user in the same group would be sufficient to log in.
The symptoms were that I would upload files to a share and the when I checked the permissions on the file the user.group names would be their ID numbers instead of their names. Another was that I was getting a strange error (rsync: mktmps: name.of.file.2346 blah).
Changing the ID numbers of my user / primary group on my computer seems to have resolved the issues, but I had to delete my whole home directory and recreate it to be able to startx again.
So my question is this: How do linux permissions across multiple machines work? How can I make it so user/group information between the two devices is transparent?
Offline
One technique to manage linux permission across multiple machine is called NIS, (Network Information Services)
http://www.yolinux.com/TUTORIALS/NIS.html If you have very few systems, this can also be done by hand synchronizing
the user/group IDs between each machine.
This is how I have integrated the DNS-323 into my linux machine environment. Similar to your solution, excpet I
choose to force the DNS-323 to match the existing user/group IDs on my network.
Using ffp, I created a script which would copy a modified hosts and group files (which match my network's IDs)
to the /etc directory each reboot. I also share the DSN-323 file system with [user space] NFS, using ffp, to my other Linux machines.
Last edited by mig (2008-06-11 21:45:35)
Offline
If you have many users and systems in your network NIS is not the way to go.....
ypcat passwd>>file.name can be a lethal injection to your Systems security.
I would suggest LDAP & Kerberos....
But if you want simplicity NIS is the way to go! Is very simple to setup as well to hack ![]()
Offline
Thanks for the quick responses! I'm reading up on NIS right now.
Using ffp, I created a script which would copy a modified hosts and group files (which match my network's IDs)
to the /etc directory each reboot.
If the system is already running how do you instruct the machine to re-read the /etc/group?
edit: And another good one. Why doesn't the dns-323 give any output for "echo $UID" but "whoami" works fine?
Last edited by bomaroast (2008-06-12 06:02:37)
Offline
bomaroast wrote:
If the system is already running how do you instruct the machine to re-read the /etc/group?
I don't believe /etc/group is "read" only at system startup. In my experience, any changes to /etc/group are immediately
available.
Last edited by mig (2008-06-12 16:57:17)
Offline