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.
|
|
04-03-2007, 06:19 AM
|
#1
|
Member
Registered: Mar 2007
Distribution: Gentoo
Posts: 49
Rep:
|
SSH-server root permitions
Hi!
I've just set up a ssh server on my computer. I didn't want to permit root login so in /etc/ssh/sshd_config I changed "PermitRootLogin" from yes to no.
I now can't log in as root. But if I log in as one of my regular users that is a member of the group wheel I can su root.
How can I get rid of this?
|
|
|
04-03-2007, 07:01 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
well this is nothing at all to do with ssh. just remove them from the wheel group and then they won't be able to do a local su... that's the point of it.
|
|
|
04-03-2007, 07:15 AM
|
#3
|
Member
Registered: Mar 2007
Distribution: Gentoo
Posts: 49
Original Poster
Rep:
|
Quote:
Originally Posted by acid_kewpie
well this is nothing at all to do with ssh. just remove them from the wheel group and then they won't be able to do a local su... that's the point of it.
|
Ok, thanks for the answer!
|
|
|
04-03-2007, 07:37 AM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
it's possible to control su's based on what terminal you're on, so you could differentiate between remote connections and local ones, but that would create a really odd behaviour as one user account would be able to different things based on which chair you sat at, which would feel very inconsistent and awkward i imagine.
|
|
|
All times are GMT -5. The time now is 04:59 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
|
|