LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 07-26-2005, 03:34 AM   #1
rcs1000
Member
 
Registered: Feb 2004
Posts: 30

Rep: Reputation: 15
Unable to login as root - system freezes


Hi,

I am attempting to login as root (using su - I'm pretty sure I blocked direct login as root). But when I enter my password, the system seems to "hang". Nothing happens. I can CTRL-c to exit su. But I can't login as root.

And this concerns me. Greatly.

I am very worried this is some kind of security issue.

Can anyone help?

Thank you,

Robert

(ps - my system is Debian Stable, old version. I've tried logging in as root over the virtual serial line - this is a virtual machine - but the same issue arises.)
 
Old 07-26-2005, 04:30 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Can you su into another user?

When you try to do something requiring root access from the gui - you get a dialog asking for the root password... does this hang as well?

Normally I would suggest booting from a CD in rescue mode and looking at the root user's configuration. I'm not sure what the virtual machine equivalent is. But I suspect you broke the root user sometime early.
 
Old 07-26-2005, 04:44 AM   #3
roopunix
Member
 
Registered: Feb 2004
Location: Kathmandu
Distribution: Redhat/fedora/Suse [Wanna Drive With Debian]
Posts: 208

Rep: Reputation: 30
# chage -l root

what is the output
 
Old 07-26-2005, 05:00 AM   #4
rcs1000
Member
 
Registered: Feb 2004
Posts: 30

Original Poster
Rep: Reputation: 15
OK - solved for now

Hi all,

Thanks for your help. I tried the nuclear option and "halted" the machine from the admin shell. When the reboot finished I was able to su from my default user.

To secure the box a little I have now prevented any user other than my own from ssh-ing in, and changed the default shells to /bin/false for all except by user.

Hopefully - if this is a security issue - this will solve it. I will look through the logs later and see if there was an attempt on my box.

Cheers,

Robert
 
Old 07-26-2005, 06:17 PM   #5
Krugger
Member
 
Registered: Oct 2004
Posts: 229

Rep: Reputation: 30
Did it work before?

If not, perhaps you need to add your user to the wheel group so he can su.

If yes, can you log as normal root?
 
  


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
unable to login as user; can login as root. rksanders Debian 24 02-09-2011 09:01 AM
Unable to login as root via telnet stevel Linux - Security 8 11-19-2008 06:09 AM
logging out as root freezes system! anton_w Debian 5 04-28-2005 05:45 AM
Unable to login using non-root account saxophobe Linux - Security 4 06-28-2004 09:58 AM
Rehat7.3...System Freezes after login!! Unimatrix69420 Linux - Newbie 10 06-01-2002 01:18 AM


All times are GMT -5. The time now is 12:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration