LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-05-2001, 12:02 AM   #1
newguy2001
LQ Newbie
 
Registered: May 2001
Posts: 6

Rep: Reputation: 0


I`ve some how changed Root Permissions to not allow Root to login to into Mandrake. I get a an invalid login prompt after attemping to login at the prompt. I know the password is ok, because I login as a regular user and launch linuxconf, and the root password works and lets me into Linux Configuration. I can also setup X-windows to start up on automatically and I can login as root from X-windows login prompt, but not from the regular terminal login.

I was changing permissions in X-windows on some folders (don`t remember which ones?) for security reasons (they were
public folders).

My only alternitive is to re-install Mandrake Linux since I
can`t fix this problem. Any help will be appreciated.

Thanks!
 
Old 06-05-2001, 12:42 AM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Do you mean root login from remote or from the local tty? Most good distros will disable 'root login from remote' and for good reason.
 
Old 06-06-2001, 12:39 PM   #3
mongrel
LQ Newbie
 
Registered: May 2001
Location: North Carolina
Distribution: SuSE 7.1
Posts: 15

Rep: Reputation: 0
What is your security setting at? Mine is set so that user: "root" cannot login, however I can su to root at anytime. Try this, open a terminal window, give the su command and enter the root password. If it allows you to login this way, your root password is ok. Logging in as root this way, puts an entry in your logs each time it occurs, this allows you to see who is logging in as root, from where it took place and at what time and date.
 
Old 06-06-2001, 06:56 PM   #4
newguy2001
LQ Newbie
 
Registered: May 2001
Posts: 6

Original Poster
Rep: Reputation: 0
Local TTY

I know the password still works, but at the local TTY login I can't login as root, only as a user.

But if set x-windows to start-up automatically, I can login as root from its login prompt. But I don't want x-windows to startup automatically
 
Old 06-07-2001, 06:24 AM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529
look at the file /etc/securetty, if its empty add a line with the contents "tty1" (w/o quotes).
"man securetty" for more.
 
  


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
wrong login shell prevent root login cefs99 Linux - Security 4 05-31-2006 09:28 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
root login incorrect ,then passwd root,but error sunnycn Linux - Security 6 05-20-2002 11:54 AM


All times are GMT -5. The time now is 10:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration