问题
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?
Thanks
回答1:
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
来源:https://stackoverflow.com/questions/39804070/unattended-install-of-krb5-user-on-ubuntu-16-04