Unattended install of krb5-user on Ubuntu 16.04

自闭症网瘾萝莉.ら 提交于 2020-01-01 08:25:32

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!