Server IP : 127.0.0.2 / Your IP : 18.220.9.180 Web Server : Apache/2.4.18 (Ubuntu) System : User : www-data ( ) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/augeas/lenses/dist/tests/ |
Upload File : |
module Test_vsftpd = test Vsftpd.lns get "listen=YES\nmdtm_write=false\n" = { "listen" = "YES" } { "mdtm_write" = "false" } test Vsftpd.lns get "listen=on\n" = * test Vsftpd.lns get "local_umask=0777\n" = { "local_umask" = "0777" } test Vsftpd.lns get "listen_port=ftp\n" = * test Vsftpd.lns get "ftp_username=ftp_user\n" = { "ftp_username" = "ftp_user" } (* There must not be spaces around the '=' *) test Vsftpd.lns get "anon_root = /var/lib/vsftpd/anon" = * let conf = "# Example config file /etc/vsftpd/vsftpd.conf # # The default compiled in settings are fairly paranoid. This sample file # loosens things up a bit, to make the ftp daemon more usable. # Please see vsftpd.conf.5 for all compiled in defaults. # # Allow anonymous FTP? (Beware - allowed by default if you comment this out). anonymous_enable=YES # # Default umask for local users is 077. You may wish to change this to 022, # if your users expect that (022 is used by most other ftpd's) local_umask=022 # # You may specify an explicit list of local users to chroot() to their home # directory. If chroot_local_user is YES, then this list becomes a list of # users to NOT chroot(). chroot_list_enable=YES # (default follows) chroot_list_file=/etc/vsftpd/chroot_list # pam_service_name=vsftpd userlist_enable=YES tcp_wrappers=YES " test Vsftpd.lns get conf = { "#comment" = "Example config file /etc/vsftpd/vsftpd.conf" } {} { "#comment" = "The default compiled in settings are fairly paranoid. This sample file" } { "#comment" = "loosens things up a bit, to make the ftp daemon more usable." } { "#comment" = "Please see vsftpd.conf.5 for all compiled in defaults." } {} { "#comment" = "Allow anonymous FTP? (Beware - allowed by default if you comment this out)." } { "anonymous_enable" = "YES" } {} { "#comment" = "Default umask for local users is 077. You may wish to change this to 022," } { "#comment" = "if your users expect that (022 is used by most other ftpd's)" } { "local_umask" = "022" } {} { "#comment" = "You may specify an explicit list of local users to chroot() to their home" } { "#comment" = "directory. If chroot_local_user is YES, then this list becomes a list of" } { "#comment" = "users to NOT chroot()." } { "chroot_list_enable" = "YES" } { "#comment" = "(default follows)" } { "chroot_list_file" = "/etc/vsftpd/chroot_list" } {} {} { "pam_service_name" = "vsftpd" } { "userlist_enable" = "YES" } { "tcp_wrappers" = "YES" } {}