LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-09-2010, 03:24 PM   #1
neilymack
LQ Newbie
 
Registered: Aug 2010
Posts: 6

Rep: Reputation: 0
user login not working


Hello
Talk about being thrown in at the deep end! I am not used to linux systems but I have inherited a linux based internet setup that I need to take care of.
Two machines (both have centOS 5) are networked and one is accessing the /home directory so people can log onto their personal home folder.
The log in screen on the second machine usually just requires the individual to input their username and password and it automatically accesses their folder on the other machine.
At the moment it doesnt and comes back with an error saying that the session lasted less than 10 seconds. Looking at the error message it is saying that the profile was not found and couldnt create per-user gnome configuration directory.
I am able to log in to the local root user on the machine and I can see the networked drive and even access the home directory.
looking thru the network setting I see that the other machine seems to be acting as a samba server?? and is connected with SFTP??
Any idea how to fix this problem as I have a load of guys sharing 1 PC for internet access in the middle of the atlantic Ocean on a ship!
Thanks in advance
 
Old 08-10-2010, 08:22 AM   #2
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Rep: Reputation: 79
This sounds like a slightly too complex configuration to pull to pieces over the Internet like this, however we can try and see if it's anything simple...! SFTP is usually a service of SSHD as long as SSH is running that section should be fine. I suspect the problem will be with Samba as this sounds like the likely agent in this. It could be the Samba service is not running or the port is closed in IPtables.

could you do the following command(s) as root (or if you have sudo add the parts in the brackets)

(sudo) /etc/init.d/smb status

and if that is started/working can you do the following command and copy/paste the results into code tags.

(sudo /sbin/)iptables -nvL

Last edited by r3sistance; 08-10-2010 at 08:27 AM. Reason: correction on checking samba is live
 
Old 08-11-2010, 09:24 AM   #3
neilymack
LQ Newbie
 
Registered: Aug 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Well........Its fixed. Just mentioning the iptables made me dig a bit deeper on that side and it turns out that the IP config had somehow got changed?
It had been set with a static IP in the past was now getting an IP automatically. This was obviously affecting its connection with the server as it was expecting the static IP. Set the address again and in it came.
Its amazing how sometimes we over complicate matters and it turns out to be the simplest problems. I was being blinded by the fact that it was still being connected over the network and thinking all was good with that side of things.
Thanks for everyones imput and just the fact that someone mentioned the IP tables helped sort this.

Thanks again
 
Old 08-11-2010, 01:05 PM   #4
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Rep: Reputation: 79
Sounds like it was set-up to be a specific IP on the network and somebody set it to use DHCP down the line. It's likely the firewalling had been set-up in a very specific method to meet some kind of security protocol/procedure/document. I would try and hunt down any such documentation, find out if any of your predecessors left any documentation of how the network works/is set-up. If it exists it will better prepare you for any future issues you may experience.

I do try to eliminate simple things first because people can go and look at things at a too complex level and ignore the more basic level issues that might be occurring... where I work I have seen it a lot.

Last edited by r3sistance; 08-11-2010 at 01:07 PM.
 
  


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
New user failed to login using GUI, But for root it is working kcarun Solaris / OpenSolaris 8 07-29-2007 04:07 AM
Gnome: Cannot login as default user, sends back to login, works as root Danny-T Linux - Newbie 2 05-27-2006 04:44 AM
KDE login for user not working powadha Linux - Software 3 09-18-2005 06:27 AM
Crazy blank dialog boxes and windows at login. Can't login as user soren625 Linux - General 2 08-11-2004 07:30 AM
can only login as root? user login doesnt work..? anyone? hacking_4_b33r Linux - General 1 02-06-2004 12:40 AM


All times are GMT -5. The time now is 12:29 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration