cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1236
Views
0
Helpful
7
Replies

Installing duo package 404

woodamsc
Level 1
Level 1

From here: Duo Unix - 2FA for SSH with PAM Support (pam_duo) | Duo Security

[duosecurity]
name=Duo Security Repository
baseurl=https://pkg.duosecurity.com/CentOS/$releasever/$basearch
enabled=1
gpgcheck=1

rpm --import https://duo.com/DUO-GPG-PUBLIC-KEY.asc

yum install duo_unix

For RHEL gives me a 404.
Do I need to replace $releasever and $basearch with system details manually? What’s the recommended way to do that if so?

7 Replies 7

DO you have for RHEL 9?  I am getting failure also, I see it is last tested on 8 but were up to 9.3 now so i would expect a release by now.

rcane_0-1710948201421.png

 

It appears you have a typo in the URL. It should be 

https://pkg.duosecurity.com/RedHat/$releasever/$basearch

as specified in https://duo.com/docs/duounix#install-from-linux-packages but your screenshot shows

$releaserver

.

DuoKristina_0-1711128348138.png

 

Duo, not DUO.

DuoKristina
Cisco Employee
Cisco Employee

Click the RHEL tab in that doc you linked:

Duo, not DUO.

Right right, I open that tab, create the file and run the commands from that tab and yum returns with a 404.

I’m not familiar with RHEL or yum so forgive me if this is basic.
I see now that it’s filling in those variables. Does this release just not exist for my arch?

Edited because I didn’t read the screenshot right.

What version of Red Hat are you using? Is it really 2? The oldest version for which we ever had packages was 5, and that’s not supported today.

Duo, not DUO.

woodamsc
Level 1
Level 1

Yeah sorry Im getting up to speed here too
This is an EC2 instance, Amazon Linux v2. It goofed me because /etc/os-release shows “like: RHEL, CentOS fedora”

I just tried swapping the directory structure between RHEL and centOS and neither worked. So where does that leave me?

We don’t have packages for Amazon Linux. You’ll need to build from source.

ETA In addition to our docs, some sweet soul has published an Amazon Linux specific post about MFA, including Duo. You might want to take a look at that too.

Duo, not DUO.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links