|
|
@ -117,7 +117,7 @@ motd_ssh() {
|
|
|
|
|
|
|
|
|
|
|
|
customize() {
|
|
|
|
customize() {
|
|
|
|
msg_info "Customizing Container"
|
|
|
|
msg_info "Customizing Container"
|
|
|
|
bash -c "/etc/init.d/syslog stop;rc-update del syslog boot;passwd -d root" >/dev/null 2>&1
|
|
|
|
bash -c "passwd -d root" >/dev/null 2>&1
|
|
|
|
msg_ok "Customized Container"
|
|
|
|
msg_ok "Customized Container"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -125,4 +125,4 @@ root() {
|
|
|
|
if ! getent shadow root | grep -q '^root:[^:]*:\?\$'; then
|
|
|
|
if ! getent shadow root | grep -q '^root:[^:]*:\?\$'; then
|
|
|
|
customize
|
|
|
|
customize
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
}
|
|
|
|