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
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
sudo DEBIAN_FRONTEND=noninteractive apt-get -yq install [packagename]为我工作,而无需在 Ubuntu 18.04 上更新 /etc/krb5.conf
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.