06-08-05 10:58 PM
ctippur@gmail.com wrote:
>From what I know, SUDO uses password based authentication method. Is
> there anyway we can make SUDO work with SSH keybased authentication
> method.
I don't think so, at least not without changing the sudo source
code. What you could do is set up /etc/sudoers so that users don't have
to type in their password at all, if that's acceptable to you. I also
see that sudo (at least on my systems) is linked against PAM, so maybe
you could do something with that...
I'm curious, though: what exactly do you mean when you say you want
sudo to "work with SSH keybased authentication method"? How exactly do
you picture this working? Under what circumstances would the sudo
attempt be allowed or disallowed?
> Note: As this is a secure environment, we have made the login as "NP"
> indicating that this ID is locked.
Is there some particular reason you don't use passwords at all? You
could always give the users passwords, but set up SSH so that it won't
allow passwords for login purposes (look for "PasswordAuthentication" in
the sshd_config man page).
JDW
[ Post a follow-up to this message ]
|