mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-12 01:26:48 +08:00
updated full-test
This commit is contained in:
@@ -1,14 +1,13 @@
|
||||
FROM tianon/debian:jessie
|
||||
|
||||
RUN apt-get update;sleep 1
|
||||
RUN apt-get update;sleep 3
|
||||
RUN apt-get install -y libgnutls-deb0-28
|
||||
RUN apt-get install -y libprotobuf-c1
|
||||
RUN apt-get install -y libwrap0 libpam0g libseccomp2 libdbus-1-3 libreadline5 libnl-route-3-200
|
||||
RUN apt-get install -y libhttp-parser2.1 libpcl1 libopts25 autogen
|
||||
RUN apt-get install -y libsystemd-daemon0 valgrind nuttcp openssh-server bash
|
||||
#RUN apt-get install -y inotify-tools
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y libtalloc2
|
||||
RUN sed 's/PermitRootLogin without-password/PermitRootLogin yes/g' -i /etc/ssh/sshd_config
|
||||
|
||||
RUN echo 'root:root' |chpasswd
|
||||
RUN useradd -m -d /home/admin -s /bin/bash admin
|
||||
|
||||
@@ -5,6 +5,14 @@
|
||||
auth = "plain[/etc/ocserv/passwd]"
|
||||
#auth = "pam"
|
||||
|
||||
# Whether to enable support for the occtl tool (i.e., either through D-BUS,
|
||||
# or via a unix socket).
|
||||
use-occtl = true
|
||||
|
||||
# socket file used for IPC with occtl. You only need to set that,
|
||||
# if you use more than a single servers.
|
||||
#occtl-socket-file = /var/run/occtl.socket
|
||||
|
||||
# The plain option requires specifying a password file which contains
|
||||
# entries of the following format.
|
||||
# "username:groupname:encoded-password"
|
||||
|
||||
Reference in New Issue
Block a user