Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-17-2002, 03:29 PM
|
#1
|
Member
Registered: Jan 2002
Location: Kansas City
Distribution: RedHat 7.2 Kernel 2.4.17
Posts: 250
Rep:
|
Disable/Enable Root Login @ Console
I have a simple question in terms of how to do something. I am running Mandrake Linux 8.1, and have set my security level to paranoid. During this process, it disabled root login from the console, which I ususally don't have a problem with.
At this point, I am completely stumpted as to how it did it. I checked the securetty, access.conf and other related files in the /etc/security directory, and have found nothing relating to the restriction of root to login at the console.
Any help is appreciate!
|
|
|
01-17-2002, 03:33 PM
|
#2
|
Member
Registered: Dec 2001
Posts: 195
Rep:
|
If tty1-tty6 is commented out in securetty, i think thats your problem. Thats the file that restricts where root can log in. There might be something else, but take a look there first to make sure its not all commented out.
I hope this helps.
|
|
|
01-17-2002, 03:42 PM
|
#3
|
Member
Registered: Jan 2002
Location: Kansas City
Distribution: RedHat 7.2 Kernel 2.4.17
Posts: 250
Original Poster
Rep:
|
Well the was nothing in the securetty file, so I added in tty1 and tty2 to test your suggestion, and to no evail, it still didn't work. Each time I try to login as root it still tells me incorrect password, so something is still preventing it... ?
I thought for sure that was it, and that maybe I was thinking dislexic again.. :-)
|
|
|
01-18-2002, 10:19 AM
|
#4
|
Member
Registered: Dec 2001
Posts: 195
Rep:
|
So you can login at console as someone else and then su to root??????????
|
|
|
01-18-2002, 05:49 PM
|
#5
|
Member
Registered: Jan 2002
Location: Kansas City
Distribution: RedHat 7.2 Kernel 2.4.17
Posts: 250
Original Poster
Rep:
|
Yes.. that I was able to do.
I'm still not sure what the heck was going on. I reran the script to enable it again, and it took out whatever it had put in. I have sinced disabled root access the proper way, so at least I can enable it again if I need to.
|
|
|
All times are GMT -5. The time now is 10:41 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|