LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 12-12-2009, 01:29 AM   #1
srinu.gmca07
LQ Newbie
 
Registered: Dec 2009
Location: vizag , india
Posts: 7

Rep: Reputation: 0
Post unable to login root in starting gnu


hi

im very new to linux


im using RHEL5.3

after installing 3 i am unable to login in GNU at the starting screen


im using tata protan+ net on this

can u help me please how to log in
 
Old 12-12-2009, 01:32 AM   #2
srinu.gmca07
LQ Newbie
 
Registered: Dec 2009
Location: vizag , india
Posts: 7

Original Poster
Rep: Reputation: 0
hi

im very new to linux


im using RHEL5.3

after installing 3 i am unable to login in GNU at the starting screen


im using tata protan+ net on this

can u help me please how to log in
 
Old 12-12-2009, 01:23 PM   #3
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,263

Rep: Reputation: 231Reputation: 231Reputation: 231
Hello,

We need a little bit more info. Did you install RHEL 5.3 youself? If so, did you create an account during the install process? Did you also create a root password? Last, as you trying to log in on the terminal or a the GDM gui log in?
 
Old 12-12-2009, 02:04 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,666

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by srinu.gmca07 View Post
hi

im very new to linux

im using RHEL5.3
after installing 3 i am unable to login in GNU at the starting screen

im using tata protan+ net on this
can u help me please how to log in
Please spell out your words, and use capital letters and punctuation. It will make it easier for folks to read what you've posted, and understand it.

And as stormtracknole pointed out, you're not giving a lot of information. You say "unable to log in"...is it prompting you? Do you get a login screen at all, even console? Can you log in over network? What ID/password are you using?? Provide details, and we can help you.

Otherwise, you can always contact RedHat support, since you're paying for it with your subscription, right??
 
Old 12-13-2009, 07:27 AM   #5
srinu.gmca07
LQ Newbie
 
Registered: Dec 2009
Location: vizag , india
Posts: 7

Original Poster
Rep: Reputation: 0
unable to login root

hi

so sorry for my unclear data

i installed RHEL5.3 on the time of installing i create root A/c and personal A/c after instilling i didn't Chang those to password's.
after two days i am unable to log in on the Red Hat Enterprise Linux Version 5.3 log in screen on graphics mode


so please help me

why the problem is occur repetitively( i faced this problem two times )

thanking you sir

Last edited by srinu.gmca07; 12-13-2009 at 07:29 AM.
 
Old 12-13-2009, 07:44 AM   #6
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
Look for active <CAPS> keyboard key. Linux username and passwords are case sensitive. DrLove73, Drlove73 and drlove73 are ALL different users!!!! same goes with passwords. Sometimes I also have trouble loging in when I type too fast and make a mistake typing.

Also, If you are typing numbers on the numeric keypad (right side of the keyboard), make sure <Num Lock" key is active (little green light on the keyboard that says "1" or "num lock"), or use numbers above the letters instead.
 
Old 12-14-2009, 08:48 AM   #7
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,263

Rep: Reputation: 231Reputation: 231Reputation: 231
Question, is this computer connected to the internet? If you, did you set up a firewall? And, are you running the sshd daemon? If you are running the sshd service without a firewall and exposed to the internet, bots are trying to hack into your computer. If you have for some reason a weak password, then more than likely your box has already been compromised.

In order to have access to your account as root, reboot your computer and at the grub boot splash (the part were it asks you which kernel you want to use), press "e" on your keyboard, hit the down key once and press "e" one more time. You'll see a long line of arguments that are passed to the kernel, press the right arrow key until you are at the end of that line. Press the spacebar key once and then type in the "1". After you do that, hit the "b" key twice then enter.

This will allow you to boot into your machine in runlevel 1 as root without a password. Check around to see if anything looks suspicious or if any files are missing. Reset the root password by typing "passwd" on the command line.

Sorry if this was confusing. I'm typing this fast since I'm a bit short on time. Of course, your problems could be something else like DrLove already suggested like your <CAPS> key being turned on.
 
Old 12-14-2009, 07:08 PM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Just to add that you can't login at the GUI as root user. By default, that's disallowed for security reasons.
You should be able to login as a normal user though.
 
Old 12-14-2009, 08:46 PM   #9
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,263

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by chrism01 View Post
Just to add that you can't login at the GUI as root user. By default, that's disallowed for security reasons.
You should be able to login as a normal user though.
You can on RHEL 5.3 and 5.4 by default. Fedora on the other hand started blocking the root user from logging in through the GUI since Fedora 10 I believe.
 
Old 12-15-2009, 06:58 PM   #10
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Hmm, not something I ever do. I didn't realise latest RHELs don't have that...
 
Old 12-15-2009, 10:05 PM   #11
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
You can on RHEL 5.3 and 5.4 by default. Fedora on the other hand started blocking the root user from logging in through the GUI since Fedora 10 I believe.
not entirely true


centos 5.4 and i am assumming RHEL 5.4 also in Gnome and updates to 5.3 using Gnome
the Root gui login IS DISABLED for a VERY,VERY,VERY good reasion .
there is ALMOST no reason TO LOGIN as root using the gui.

as a normal user use the " su " and " su - " command in the terminal .
and if you still need a gui then start nautilus ( gnome) as root .
 
Old 12-15-2009, 10:09 PM   #12
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Now that's what I thought (Gnome wise)...
 
Old 12-16-2009, 12:23 AM   #13
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by John VV View Post
not entirely true


centos 5.4 and i am assumming RHEL 5.4 also in Gnome and updates to 5.3 using Gnome
the Root gui login IS DISABLED for a VERY,VERY,VERY good reasion .
there is ALMOST no reason TO LOGIN as root using the gui.

as a normal user use the " su " and " su - " command in the terminal .
and if you still need a gui then start nautilus ( gnome) as root .
I installed couple of CentOS 5.3, and I am still able to login as root. Can not say about clean 5.4 yet.
 
Old 12-16-2009, 01:00 PM   #14
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,263

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by DrLove73 View Post
I installed couple of CentOS 5.3, and I am still able to login as root. Can not say about clean 5.4 yet.
I use both CentOS and RHEL 5.4 and with both of those, you can still log in as root. If you are using an enterprise level Operating System, then they assume that you know what you are doing.
 
Old 12-16-2009, 04:18 PM   #15
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
I have fresh installed Centos 5.4 and yum upgraded installs, both allow root login at gui. While I would agree that 99% of the time logging in as root is an extremely bad idea, there are times when it is the best solution.
 
  


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
unable to login as user; can login as root. rksanders Debian 24 02-09-2011 08:01 AM
root unable to login??? ajeetraina Linux - General 8 11-27-2007 02:39 AM
Unable to login as a root paragkalra Linux - Security 1 10-19-2007 12:51 AM
Root Unable To Login manoj.u.kumar Red Hat 3 07-03-2007 04:32 AM
Unable to login as root. Rax42 Linux - Newbie 4 02-05-2007 08:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 01:33 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