test: don't install /etc/securetty

Having /etc/securetty in test containers prevents root from logging into
them:

```
Jan 31 10:15:11 systemd-testsuite login[69]: pam_securetty(login:auth): access denied: tty 'pts/0' is not secure !
Jan 31 10:15:11 systemd-testsuite login[69]: FAILED LOGIN 1 FROM pts/0 FOR root, Authentication failure
```
This commit is contained in:
Frantisek Sumsal 2020-01-31 11:51:05 +01:00 committed by Lennart Poettering
parent 5ee69e144e
commit 2273ecfeda
1 changed files with 0 additions and 1 deletions

View File

@ -737,7 +737,6 @@ install_config_files() {
inst /etc/shells
inst /etc/nsswitch.conf
inst /etc/pam.conf || :
inst /etc/securetty || :
inst /etc/os-release
inst /etc/localtime
# we want an empty environment