mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 16:57:00 +08:00
tests: don't use ssh to obtain user information
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user