Radius login with Ubuntu

sudo apt-get install libpam-radius-auth


$ sudo vim /etc/pam_radius_auth.conf


other-server    other-secret       3

change to

192.168.x.x secretkey 3

Edit your /etc/pam.d/sshd file and add the line:

auth       sufficient  pam_radius_auth.so

Just above:

# Standard Un*x authentication.
@include common-auth

had to update firewall config and configure radius to accept auths from this IP

using this to upload screenshots for evernote skitch

also installed nginx

modified default

        root /home;

        server_name vpls.in;

location ~ ^/(.+?)(/.*)?$ {
alias /home/$1/$2;
index index.html index.htm;
autoindex off;
expires 365d;

location ~* \.(jpg|jpeg|gif|png|css|js|ico|xml)$ {
access_log off;
log_not_found off;
expires 30d;

also configured gzip in nginx.conf

useradd -m zeki893

Leave a Reply