auto mount home from network and login as user on Debian OS - tried /etc/fstab
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 |
As the user when you mount automatically using /etc/fstab is root, could be the case where the directory mounted have root:root as owner. This could be the cause of your problems.
HTH |
Quote:
given the first sentence it looks like the /home directory is actually mounted. So your problem is that you cannot log in as a regular user. Could you look into /var/log/syslog or auth.log and check for some error messages regarding the failed login? Are you trying to log in on a console? Or via ssh? Robert |
I checked both /etc/fstab and /var/log/syslog again and it appeared that NIS client was not able to identify the NIS server through ypbind.
By adding the server IP address to YPconfig file I was able to solve this error. Thanks for your help, Emma |
All times are GMT -5. The time now is 03:32 AM. |