LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 07-14-2009, 09:29 PM   #1
emma_m
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 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
 
Old 07-15-2009, 02:19 PM   #2
vazio
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.

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

Rep: Reputation: 50
Quote:
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?

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

Original Poster
Rep: Reputation: 0
Smile

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
 
  


Reply


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-25-2009 11:38 PM
auto mount problem and fstab Mogli Linux - Hardware 3 09-19-2008 04:13 AM
trying to auto mount xp share in fstab babag Linux - Networking 3 07-12-2008 04:48 AM
debian gnome login fail with a FC7 /home user philou Linux - Distributions 2 12-03-2007 05:56 PM
Auto login normal user debian a10392 Debian 3 01-14-2005 06:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:54 AM.

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