tests: don't use ssh to obtain user information

This commit is contained in:
Nikos Mavrogiannopoulos
2015-05-20 11:34:08 +02:00
parent 7b786ed486
commit 5c146055fe
11 changed files with 43 additions and 129 deletions

View File

@@ -7,7 +7,7 @@ RUN yum install -y lz4
RUN yum install -y pam
RUN yum install -y freeradius-client
RUN yum install -y krb5-libs
RUN yum install -y pam_oath oathtool
RUN yum install -y pam_oath oathtool less
RUN systemctl enable sshd
RUN sed 's/PermitRootLogin without-password/PermitRootLogin yes/g' -i /etc/ssh/sshd_config

View File

@@ -6,7 +6,7 @@ RUN yum install -y libnl3 libtalloc
RUN yum install -y lz4
RUN yum install -y freeradius-client
RUN yum install -y freeradius
RUN yum install -y krb5-libs
RUN yum install -y krb5-libs less
RUN systemctl enable sshd
RUN sed 's/PermitRootLogin without-password/PermitRootLogin yes/g' -i /etc/ssh/sshd_config

View File

@@ -5,7 +5,7 @@ RUN yum install -y bash openssh-server nuttcp
RUN yum install -y libnl3 libtalloc
RUN yum install -y lz4
RUN yum install -y freeradius-client
RUN yum install -y freeradius
RUN yum install -y freeradius less
RUN systemctl enable sshd
RUN sed 's/PermitRootLogin without-password/PermitRootLogin yes/g' -i /etc/ssh/sshd_config

View File

@@ -5,7 +5,7 @@ RUN yum install -y bash openssh-server nuttcp
RUN yum install -y libnl3 libtalloc
RUN yum install -y freeradius-client
RUN yum install -y lz4
RUN yum install -y krb5-libs
RUN yum install -y krb5-libs less
RUN systemctl enable sshd
RUN sed 's/PermitRootLogin without-password/PermitRootLogin yes/g' -i /etc/ssh/sshd_config

View File

@@ -6,7 +6,7 @@ RUN systemctl enable sshd
RUN yum install -y libnl3 libtalloc haproxy
RUN yum install -y freeradius-client
RUN yum install -y lz4
RUN yum install -y krb5-libs
RUN yum install -y krb5-libs less
RUN sed 's/PermitRootLogin without-password/PermitRootLogin yes/g' -i /etc/ssh/sshd_config
RUN echo 'root:root' |chpasswd