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.
|
 |
02-14-2006, 08:47 AM
|
#1
|
Member
Registered: Dec 2004
Distribution: SuSE 9.X, SuSE 10, SLES 9,RedHat, Feodora Gentoo, Solaris, and more
Posts: 50
Rep:
|
secure root access with SUDO
Hallo all,
Is there anyone that are expert on SUDO?
I want to let a few administrators get the privilege to run ROOT command with sudo, I have added them to wheels group on my RedHat server and it works fine to run the ROOT commands.
But I want to secure it even more if possible, I want instead of they use their user-password to use sudo, want's I to use RSA key authentication.
Do anyone know if it possible to get sudo to work with key-authentication?
Thanks in advance!
Cheers
Düssel
|
|
|
02-15-2006, 04:56 AM
|
#2
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491
Rep:
|
its quite easy to set this up in sudo without keys.
why do you want to use keys? to run commands on remote hosts or something?
|
|
|
02-15-2006, 05:15 AM
|
#3
|
Senior Member
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Rep:
|
Quote:
why do you want to use keys?
|
As he mentioned, he just wants more security.
The "-a" switch in the sudo manpage states that other authentication methods may be used, but does not say if key-authentication is among them.
|
|
|
02-15-2006, 06:30 AM
|
#4
|
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491
Rep:
|
yeah i realise, that but i'm not sure how keys would be appropriate here. what are you exchanging public/private keys between?
|
|
|
02-15-2006, 08:26 AM
|
#5
|
Member
Registered: Dec 2004
Distribution: SuSE 9.X, SuSE 10, SLES 9,RedHat, Feodora Gentoo, Solaris, and more
Posts: 50
Original Poster
Rep:
|
No, I only got the idea of it when I read of a really old open-source project (ssu (secure su)), but it looks like it is not active any longer. It sounded as quite interesting idea they had, so I hoped that SUDO mabe also had implemented a little such possibilities also.
I will test with -a, it is always fun to check out new things.
Thanks for the tip with -a!
|
|
|
All times are GMT -5. The time now is 11:02 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
|
|