auto mount from network works but cant login as user
Hi all,
I recently changed my OS from Red Hat to Debian and I need to mount my home directory from the network automatically on reboot. The following commands work perfectly on command prompt, mount -t nfs 192.168.9.15:/home /home and I have even made the required changes /etc/fstab and /etc/exports to automate the mount. Now comes the weird part: After reboot , I am only able to to login as root . After logging into root though , I can browse to home/emma directory on the network. I am unable to login using my username emma and access the files and shared softwares on the network. Any help on this is highly appreciated. Thanks, Emma |
You should check that emma's UID and GID are the same on both PC's
You can do this by looking at emma's entry in the file /etc/passwd on both computers, and comparing the numbers in the third and fourth fields. |
To tredegar,
I have a similar situation with my network drives. I shall check out the /etc/passwd per your suggestion. If the numbers in the third and/or fourth column are different, can the files simply be edited? What are the consequences of editing the values in the client machine while leaving the server alone, and what are the consequences of editing the file on the server machine while leaving the client alone? Thank you for your input. Quote:
|
I checked /etc/passwd but thr were no problems.
I solved this problem by updating the configuration for nis. |
All times are GMT -5. The time now is 11:39 AM. |