DevHeads.net

Postings by Aero Maxx D

Custom Local DNS with Ubuntu Clients

Hi Everyone,

I have a single linux desktop client running Ubuntu, and have 2 physical
servers that are on my network that providing DNS resolution.

I want the linux desktop to use the local servers for DNS resolution only,
but Ubuntu somehow keeps finding the DNS server that is in the router/modem
that my ISP has provided me with.

Is there a way I can stop the IP address of my router from being added to
the /etc/resolv.conf file?

I tried removing the resolvconf package, but this broke things as for some
reason I wasn't able to then create my own resolv.conf file.

Thanks for any help you a

Password Mismatch when using mod_authnz_pam

Hello,

I am trying to add authentication to a folder, and have the
authentication be against system user accounts.

I've tried using mod_authnz_pam, and have it partly working in that I
get prompted for a user/pass, but authentication fails, with the errors
below.

mod_authnz_pam: PAM authentication failed for user <username>: System error
user <username>: authentication failure for "/": Password Mismatch

I'm using the below lines in /etc/pam.d/

auth required pam_unix.so
account required pam_unix.so

Thanks,