Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-14-2009, 10:29 PM   #1
LQ Newbie
Registered: Jun 2009
Posts: 7

Rep: Reputation: 0
Unhappy 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 /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.

Old 07-15-2009, 03:19 PM   #2
LQ Newbie
Registered: Oct 2006
Distribution: debian
Posts: 3

Rep: Reputation: 1
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.

Old 07-16-2009, 08:58 AM   #3
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
Originally Posted by emma_m View Post
After logging into root though , I can browse to home/emma directory on the network.
I am unable to login using my username emma
Hi emma,

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?

Old 07-16-2009, 10:38 AM   #4
LQ Newbie
Registered: Jun 2009
Posts: 7

Original Poster
Rep: Reputation: 0

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,


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
auto mount to nfs home dir when user login to nis client lijianatusa Linux - Newbie 4 02-26-2009 12:38 AM
auto mount problem and fstab Mogli Linux - Hardware 3 09-19-2008 05:13 AM
trying to auto mount xp share in fstab babag Linux - Networking 3 07-12-2008 05:48 AM
debian gnome login fail with a FC7 /home user philou Linux - Distributions 2 12-03-2007 06:56 PM
Auto login normal user debian a10392 Debian 3 01-14-2005 07:30 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:48 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration