LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-09-2011, 01:53 AM   #1
sunyc
LQ Newbie
 
Registered: Aug 2011
Posts: 2

Rep: Reputation: Disabled
login time out issue just happen with non-root account


Hi,

I have ubuntu 10.10 server.
Now when I login with non-root account,there always "login time out after 60 sec" error. But it will be ok when login use root account.
It left me upset for weeks. I'm open to any suggestions.
Thanks in advance!

Sun
 
Old 08-09-2011, 02:38 AM   #2
p_s_shah
Member
 
Registered: Mar 2005
Location: India
Distribution: RHEL 3/4, Solaris 8/9/10, Fedora 4/8, Redhat Linux 9
Posts: 237
Blog Entries: 1

Rep: Reputation: 34
Input Required

Please check if below helps:
Link:
http://www.novell.com/support/search...eID=DT_TID_1_1
Quote:
The Bource Again Shell (/bin/bash) and Korn shell (/bin/ksh) provide an environment variable called TMOUT to specify an amount of seconds after which the connection is closed automatically due to inactivity:
Else provide below inputs:

When do you get error message?
Which Shell you are using?
Can you copy /etc/profile file?
 
Old 08-09-2011, 04:42 AM   #3
sunyc
LQ Newbie
 
Registered: Aug 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
many thanks for reply.
I got error message when login locally.
The Shell is bash and it's blank now.

Here's the /etc/profile file:
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).

if [ -d /etc/profile.d ]; then
for i in /etc/profile.d/*.sh; do
if [ -r $i ]; then
. $i
fi
done
unset i
fi

if [ "$PS1" ]; then
if [ "$BASH" ]; then
PS1='\u@\h:\w\$ '
if [ -f /etc/bash.bashrc ]; then
. /etc/bash.bashrc
fi
else
if [ "`id -u`" -eq 0 ]; then
PS1='# '
else
PS1='$ '
fi
fi
fi

umask 022
 
  


Reply



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
Root account login oluwasijibomi Fedora 9 08-31-2009 07:02 AM
Root Account Disabled (not smart) Can not root LOGIN mitchellray Slackware 12 06-30-2009 12:52 PM
Auto-login (root account) sammykrupa Linux - Newbie 3 07-30-2005 11:27 PM
Unable to login using non-root account saxophobe Linux - Security 4 06-28-2004 08:58 AM
can't login into root account eye Red Hat 5 11-21-2003 08:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:09 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
Open Source Consulting | Domain Registration