本文介绍了在Ubuntu 16.04上无人值守安装krb5-user的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
因此,在运行时:
sudo apt-get install krb5-user
要求您输入AD/LDAP域.问题是我希望它能够作为我的计算机的启动脚本运行.有什么方法可以将域作为参数传递或禁用交互并在之后设置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?
谢谢
推荐答案
对于无人参与的安装,请尝试将DEBIAN_FRONTEND变量设置为非交互式,方法是:
For an unattended installation try setting DEBIAN_FRONTEND variable to noninteractive with:
export DEBIAN_FRONTEND=noninteractive
并将-y标志传递给apt-get:
And pass the -y flag to apt-get:
apt-get install -y krb5-user
这篇关于在Ubuntu 16.04上无人值守安装krb5-user的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!