Keith Miller Keith Miller - 21 days ago 4x
Linux Question

Unattended install of krb5-user on Ubuntu 16.04

So, when running:

sudo apt-get install krb5-user

You are asked to enter the AD/LDAP domain. The problem is that I want this to be able to be run as a startup script for my machines. Is there any way to either pass the domain in as a parameter or disable the interaction and set up krb5-user after?



For an unattended installation try setting DEBIAN_FRONTEND variable to noninteractive with:

export DEBIAN_FRONTEND=noninteractive

And pass the -y flag to apt-get:

apt-get install -y krb5-user