在 Ubuntu 16.04 上无人值守安装 krb5-user [英] Unattended install of krb5-user on Ubuntu 16.04

查看:51
本文介绍了在 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:

导出 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆