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 02-01-2005, 03:30 AM   #1
ringerxyz
LQ Newbie
 
Registered: Nov 2004
Location: China
Distribution: red-flag
Posts: 16

Rep: Reputation: 0
root account cann't login


hi ,everyone
my red hat 8.0 has a problem that the root account cann't login,I'm sure that the password is correct because I can use su - root,and other user can login without any problem, i remember that i had some services disabled befor this problem occured,Does anyone know how to deal with it?
thank you very much
 
Old 02-01-2005, 03:41 AM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Some distros purposely disable this ability. You may have thrown a switch that enabled this 'feature'. To 'deal' with it, I'd suggest logging in as a user, then su - 'ing' to do the required task, then exiting.

Cool
 
Old 02-01-2005, 07:20 PM   #3
ringerxyz
LQ Newbie
 
Registered: Nov 2004
Location: China
Distribution: red-flag
Posts: 16

Original Poster
Rep: Reputation: 0
hi MasterC
thank you for your reply,the problem is when a logging in as a user,and then su - root ,I found that some programs cann't run any more ,for example:setup will exit without any information
 
Old 02-01-2005, 07:32 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,131

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Check the contents of your /etc/securetty file as root is not permitted to login to any console not in that file. Also, please check your logs for any helpful information.
 
Old 02-01-2005, 08:19 PM   #5
JrLz
Member
 
Registered: Mar 2004
Location: Jakarta
Posts: 164

Rep: Reputation: 30
hm......... what's wrong???
have tried to change your root password?
you can use su and passwd for that
 
Old 02-01-2005, 09:19 PM   #6
ringerxyz
LQ Newbie
 
Registered: Nov 2004
Location: China
Distribution: red-flag
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by JrLz
hm......... what's wrong???
have tried to change your root password?
you can use su and passwd for that
yes,I tried many times to change my root password,
I'm sure it's correct because I can run su - root without any problem
 
Old 02-02-2005, 04:33 AM   #7
JrLz
Member
 
Registered: Mar 2004
Location: Jakarta
Posts: 164

Rep: Reputation: 30
what did the error report say?
just can't login? just wrong password?

I have this kind of problem too, but as other users than root.
with error report : /bin/bash denied
what's yours?
 
Old 02-02-2005, 06:53 PM   #8
ringerxyz
LQ Newbie
 
Registered: Nov 2004
Location: China
Distribution: red-flag
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by JrLz
what did the error report say?
just can't login? just wrong password?

I have this kind of problem too, but as other users than root.
with error report : /bin/bash denied
what's yours?
It only says login incorrect,other users donn't have such kinds of problem
 
  


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-login (root account) sammykrupa Linux - Newbie 3 07-30-2005 11:27 PM
lock root account after 3 login attempts - RHEL AS 3 jrparker2005 Red Hat 1 05-17-2005 12:43 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
Cann't mount root fs during installation sensor Linux - Newbie 0 07-30-2003 11:49 AM


All times are GMT -5. The time now is 04:27 PM.

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