Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-12-2009, 07:45 AM   #16
Senior Member
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,462
Blog Entries: 6

Original Poster
Rep: Reputation: 51

This is the first question asked in the interview and thats what I was exploring.
I answered the previous answer through sshd_config. But Do noticed somewhere it could be possible through PAM too.
Old 10-12-2009, 12:39 PM   #17
Senior Member
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
I guess I should say it now, if you give me physical access to a machine, there is no way you can stop me login in as root. If I have a machine with Linux on it (and most versions of Windows) with a CD Drive of any sort I could probably get into it as root or administrator within 15 minutes. I suspect this question refers only to SSH and even then, if a user has sudo privileages you need to be extremely careful what they are, for example. Are they able to run 'sudo /bin/bash'? 'sudo su -'? and many other commands.

I guess the best answer you can ever give is to lock the machine in a big metal box that is locked with a power lead and network lead going to it (and no this isn't a joke) and remove all Sudo privs and disable root for SSH login. And even then you still got more to worry about... rootkits... it's really a question of just how hard you can make it rather then being able to block people out of root completely.


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
Adding root privaliges to user accounts or auto login as root Val-Ent Linux - General 15 03-02-2010 05:27 PM
Gnome: Cannot login as default user, sends back to login, works as root Danny-T Linux - Newbie 2 05-27-2006 04:44 AM
How do I disallow ssh login by root? Seventh Linux - Newbie 1 03-26-2005 11:30 AM
disallow ssh root login only from internet wensveen Linux - Security 10 03-21-2005 08:34 AM
telnet: DISallow root access MacDschie Linux - Software 2 05-14-2003 01:43 PM > Forums > Linux Forums > Linux - Newbie

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