Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 07-31-2003, 11:41 AM   #1
LQ Newbie
Registered: Jul 2003
Distribution: SuSE
Posts: 13

Rep: Reputation: 0
Angry Can't Login Locally As Root

I'm fairly new to Linux/UNIX boxes in general. Right now I'm running a SuSe 7.3 box, and I can't login as root locally. The password is correct, I'm sure of it. And whenever I attempt to login, I get the message 'Root Login is Not Allowed'. I can still su, however, it would come in handy to be able to login remotely every once in a while. Any ideas?
Old 07-31-2003, 11:57 AM   #2
Senior Member
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
Your post says you're having problems logging in as root "locally", but your last comment sounds as though you are trying to login as root over a network (remotely). Some software (like telnet, rsh, ssh, and others) have configuration files to prevent root from logging in remotely. Allowing it poses a large security risk. If you can run su, then I'm not sure I see why you need to log in as root entirely anyway. If you do want to enable root to login remotely, you'll need to read your software's documentation to know which config file to edit.
Old 07-31-2003, 12:00 PM   #3
LQ Newbie
Registered: Jul 2003
Distribution: SuSE
Posts: 13

Original Poster
Rep: Reputation: 0
My mistake, on that last sentence, when I said it would come it handy to login remotely, I meant locally. Thanks for the help though, I'll go over the docs again.
Old 08-01-2003, 05:02 AM   #4
Registered: Jul 2003
Location: VA Tech
Distribution: Mandrake 9.1
Posts: 73

Rep: Reputation: 15
I don't think you really want to log in as root, as running any desktop as root is dangerous and not advisable and in fact KDE turns your screen red when you try it.
Old 08-01-2003, 05:19 AM   #5
Registered: Jul 2003
Location: Slovenia
Distribution: Slackware & FreeBSD
Posts: 209

Rep: Reputation: 30

check your /etc/securetty file. Uncomment anny tty you wan't to use to login as root.
But, as haobaba1 said, it's better to use su than to login as root.
Read this:
Old 08-01-2003, 04:25 PM   #6
LQ Newbie
Registered: Jul 2003
Distribution: SuSE
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks to everyone for their replies. And thanks a ton for the site Ifur.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
wrong login shell prevent root login cefs99 Linux - Security 4 05-31-2006 09:28 AM
Hacking root locally aznluvsmc Linux - Security 4 02-13-2005 12:29 AM
I have re-installed MK 9.2 but cannot login as user, login as root works. bobinglis Mandriva 2 02-22-2004 12:39 PM
can only login as root? user login doesnt work..? anyone? hacking_4_b33r Linux - General 1 02-06-2004 12:40 AM
PAM and LDAP, can't login locally Staceman Linux - Networking 0 07-02-2003 12:25 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:45 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration