精华内容
下载资源
问答
  • 错误:500 OOPS: vsftpd: cannot locate user specified in 'chown_username':whoever解决方案:在vsftpd.conf中修改如下两行: #chown_uploads=YES #chown_username=whoever 将以上两行的“#”注释符去掉,并在系统...

    错误:
    500 OOPS: vsftpd: cannot locate user specified in 'chown_username':whoever
    解决方案:
    在vsftpd.conf中修改如下两行:
    #chown_uploads=YES
    #chown_username=whoever
    将以上两行的“#”注释符去掉,并在系统中新建一个whoever用户,或者whoever改成系统用户名

     

    sudo service vsftpd restart

     

    另:需要在服务器端解决当前用户权限问题

     sudo chown -R username /directory/...

    /etc/vsftpd.conf配置如下
    # Example config file /etc/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.
    #
    # READ THIS: This example file is NOT an exhaustive list of vsftpd options.
    # Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's
    # capabilities.
    #
    #
    # Run standalone?  vsftpd can run either from an inetd or as a standalone
    # daemon started from an initscript.
    listen=YES
    #
    # Run standalone with IPv6?
    # Like the listen parameter, except vsftpd will listen on an IPv6 socket
    # instead of an IPv4 one. This parameter and the listen parameter are mutually
    # exclusive.
    #listen_ipv6=YES
    #
    # Allow anonymous FTP? (Disabled by default)
    anonymous_enable=NO
    #
    # Uncomment this to allow local users to log in.
    local_enable=YES
    #
    # Uncomment this to enable any form of FTP write command.
    write_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
    #
    # Uncomment this to allow the anonymous FTP user to upload files. This only
    # has an effect if the above global write enable is activated. Also, you will
    # obviously need to create a directory writable by the FTP user.
    #anon_upload_enable=YES
    #
    # Uncomment this if you want the anonymous FTP user to be able to create
    # new directories.
    #anon_mkdir_write_enable=YES
    #
    # Activate directory messages - messages given to remote users when they
    # go into a certain directory.
    dirmessage_enable=YES
    #
    # If enabled, vsftpd will display directory listings with the time
    # in  your  local  time  zone.  The default is to display GMT. The
    # times returned by the MDTM FTP command are also affected by this
    # option.
    use_localtime=YES
    #
    # Activate logging of uploads/downloads.
    xferlog_enable=YES
    #
    # Make sure PORT transfer connections originate from port 20 (ftp-data).
    connect_from_port_20=YES
    #
    # If you want, you can arrange for uploaded anonymous files to be owned by
    # a different user. Note! Using "root" for uploaded files is not
    # recommended!
    chown_uploads=YES
    chown_username=uu
    #
    # You may override where the log file goes if you like. The default is shown
    # below.
    #xferlog_file=/var/log/vsftpd.log
    #
    # If you want, you can have your log file in standard ftpd xferlog format.
    # Note that the default log file location is /var/log/xferlog in this case.
    #xferlog_std_format=YES
    #
    # You may change the default value for timing out an idle session.
    #idle_session_timeout=600
    #
    # You may change the default value for timing out a data connection.
    #data_connection_timeout=120
    #
    # It is recommended that you define on your system a unique user which the
    # ftp server can use as a totally isolated and unprivileged user.
    #nopriv_user=ftpsecure
    #
    # Enable this and the server will recognise asynchronous ABOR requests. Not
    # recommended for security (the code is non-trivial). Not enabling it,
    # however, may confuse older FTP clients.
    #async_abor_enable=YES
    #
    # By default the server will pretend to allow ASCII mode but in fact ignore
    # the request. Turn on the below options to have the server actually do ASCII
    # mangling on files when in ASCII mode.
    # Beware that on some FTP servers, ASCII support allows a denial of service
    # attack (DoS) via the command "SIZE /big/file" in ASCII mode. vsftpd
    # predicted this attack and has always been safe, reporting the size of the
    # raw file.
    # ASCII mangling is a horrible feature of the protocol.
    #ascii_upload_enable=YES
    #ascii_download_enable=YES
    #
    # You may fully customise the login banner string:
    #ftpd_banner=Welcome to blah FTP service.
    #
    # You may specify a file of disallowed anonymous e-mail addresses. Apparently
    # useful for combatting certain DoS attacks.
    #deny_email_enable=YES
    # (default follows)
    #banned_email_file=/etc/vsftpd.banned_emails
    #
    # You may restrict local users to their home directories.  See the FAQ for
    # the possible risks in this before using chroot_local_user or
    # chroot_list_enable below.
    # chroot_local_user=YES
    #
    # 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().
    # (Warning! chroot'ing can be very dangerous. If using chroot, make sure that
    # the user does not have write access to the top level directory within the
    # chroot)
    #chroot_local_user=YES
    #chroot_list_enable=YES
    # (default follows)
    #chroot_list_file=/etc/vsftpd.chroot_list
    #
    # You may activate the "-R" option to the builtin ls. This is disabled by
    # default to avoid remote users being able to cause excessive I/O on large
    # sites. However, some broken FTP clients such as "ncftp" and "mirror" assume
    # the presence of the "-R" option, so there is a strong case for enabling it.
    #ls_recurse_enable=YES
    #
    # Customization
    #
    # Some of vsftpd's settings don't fit the filesystem layout by
    # default.
    #
    # This option should be the name of a directory which is empty.  Also, the
    # directory should not be writable by the ftp user. This directory is used
    # as a secure chroot() jail at times vsftpd does not require filesystem
    # access.
    secure_chroot_dir=/var/run/vsftpd/empty
    #
    # This string is the name of the PAM service vsftpd will use.
    pam_service_name=vsftpd
    #
    # This option specifies the location of the RSA certificate to use for SSL
    # encrypted connections.
    rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
    # This option specifies the location of the RSA key to use for SSL
    # encrypted connections.
    rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
    
    ftp_username=nobody
    

     

     

    转载于:https://www.cnblogs.com/sddai/p/6337566.html

    展开全文
  • 'whenever', 'wherever', 'whatever', 'whoever' 和 'however' 用法 At the beginning, let's see some examples and try to understand them. With online course, we can study whenever and wherever we want. ...

     'whenever', 'wherever', 'whatever', 'whoever' 和 'however' 用法

    At the beginning, let's see some examples and try to understand them.

    1. With online course, we can study whenever and wherever we want.
    2. Whatever you do, do not break your promise.
    3. Judges punish whoever breaks the law.
    4. Some party lies however they can.

    Add you can see, adding 'ever' to these question words can make sentences have a broader possibility of times, places, things or people. Let's go through them one by one.

     

    whenever /wenˈevər/

    conjunction at any or every time that

    Whenever floods happen, people suffer tens of millions of dollars' worth of damage.

    adverb  at any time : at whatever time

    I can apply for a work visa tomorrow or whenever.

     

    wherever /werˈevər/

    conjunction   at, in, or to any place that

    Nepotism occurs wherever he is in charge.

    adverb   in, at, or to any place

    They could have gone to the park, a beauty salon, (or) wherever.

     

    whatever /wətˈevər/

    pronoun  anything or everything that

    Take whatever you need!

    determiner  all the, any or any that

    He fakes whatever paintings that are valuable.

     

    whoever /huːˈevər/

    pronoun the person or people who; any person who

    Forward this email to whoever is in charge of product development.

     

    however /haʊˈevər/

    conjunction   in whatever manner or way

    We boil corn however we like.

    adverb  to whatever degree or extent : no matter how 

    She couldn't get a teaching certificate, however hard  [=no matter how hard]  she tried.

    Note

    The senses here are different from the meaning that expresses contrast.

     

    As you may know, these words have their stress on the next-to-last syllable.

    展开全文
  • Whoever visits some estates there, and witnesses the good-humored indulgence of some masters and mistresses, and the affectionate loyalty of some slaves, might be tempted to dream
     Welcome to my blog!
    <script language="javascript" src="http://avss.b15.cnwg.cn/count/count.asp"></script>
    Whoever visits some estates there, and witnesses the good-humored indulgence of some masters and mistresses, and the affectionate loyalty of some slaves, might be tempted to dream the oft-fabled poetic legend of a patriarchal institution, and all that; but over and above the scene there broods a portentous shadowthe shadow of law.(Windows API Declare Function GetCurrentTime Lib "kernel32" Alias "GetTickCount" () As Long) So long as the law considers all these human beings, with beating hearts and living affections, only as so many things belonging to a master,so long as the failure, or misfortune, or imprudence, or death of the kindest owner, may cause them any day to exchange a life of kind protection and indulgence for one of hopeless misery and toil,so long it is impossible to make anything beautiful or desirable in the best regulated administration of slavery.(Windows API Declare Function GetCurrentTime Lib "kernel32" Alias "GetTickCount" () As Long)Mr.(Windows API Declare Function GetCurrentTime Lib "kernel32" Alias "GetTickCount" () As Long) Shelby was a fair average kind of man, good-natured and kindly, and disposed to easy indulgence of those around him, and there had never been a lack of anything which might contribute to the physical comfort of the negroes on his estate. He had, however, speculated largely and quite loosely; had involved himself deeply, and his notes to a large amount had come into the hands of Haley; and this small piece of information is the key to the preceding conversation.d1
    展开全文
  • Hi Hendra ... this code does what you ask for ... I found it in this forum : var I: Integer; ASessionList: TList;begin unimemo1.Lines.Clear; ASessionList := UniServerModule.SessionManager.Session...

    Hi Hendra ... this code does what you ask for ... I found it in this forum :

    var
      I: Integer;
      ASessionList: TList;
    begin
      unimemo1.Lines.Clear;
      ASessionList := UniServerModule.SessionManager.Sessions.SessionList.LockList;
      try
        for I := 0 to ASessionList.Count - 1 do
        begin
          UniMemo1.Lines.Add(TUniGUISession(ASessionList[I]).UniApplication.RemoteAddress);
        end;
      finally
        UniServerModule.SessionManager.Sessions.SessionList.UnlockList;
      end;

    转载于:https://www.cnblogs.com/wxb-km/archive/2013/05/25/3098794.html

    展开全文
  • 前提是超级用户 1.apt-get install ... 否则会出现500 OOPS: vsftpd: cannot locate user specified in 'chown_username':whoever 的错误。 3./etc/init.d/vsftpd restart.     OK.
  • 男人城府的修练,英文纯来自于兴趣和别人指导。   一:沉稳 (1)不要随便显露你的情绪。 Don't show your emotions whenever you want. ...and problems to whoever you can fi
  • 英语流利说佳句分享

    2018-10-08 19:30:25
    1、1008 Matthew Effect in Genetics ...whoever has, will be given more; whoever does not have, even what they have will be taken from them 凡拥有的,必将更富有 2、 ...
  • 英语语法之名词性从句

    千次阅读 2011-11-29 12:56:32
    名词性从句 主语从句 -----------------------------------------------------------------------------   1.主语从句有三类: ...a) 由what等代词引导的主语从句: what表示“…所…的(东西)”,... whoever表示“一
  • 个人通信课件

    2012-10-09 18:44:28
    个人通信(Personal communications)是人类通信的最高目标,它是用各种可能的网络...实现任何人(whoever)在任何时间(whenever)、任何地点(wherever)与任何人(whoever)进行任何种类(whatever)的交换信息。
  • 2020.10.29

    2020-10-29 09:35:40
    To be whoever you want to be. 成为你想成为的人。
  • Updated bio, position & feed

    2020-12-08 23:35:57
    <div><p>Thanks in advance for whoever will review this :-)</p><p>该提问来源于开源项目:planetxamarin/planetxamarin</p></div>
  • 42诅咒 在编程学校开发的项目。 开课日期:2020年1月20日-南美第42个班级! · · :speaking_head: 约42 ...free for whoever is approved in its selection process* - the so-called "Piscine
  • 在这样一个时代人们对信息获取交换手段和方式的要求越来越高人们一直有这样一种美好的愿望即能实现任何人Whoever在任何时候Whenever任何地方Wherever以任何方式Whatever与任何人Whomever进行通信即通信的5W这便是...
  • 微波元件介绍

    2013-02-22 23:02:00
    Proverbs 17:9“Whoever would foster love covers over an offense, but whoever repeats the matter separates close friends.” 一电抗元件:在传输线的不均匀区域附近,电磁场比较复杂,可以分解为主...
  • Citizens don’t have to know exactly who they should get in touch with – a contact center forwards their complaint to whoever is the responsible branch of local authorities. Let’s say, a road in ...
  • I am creating a classifieds website called 'mySite', and I want whoever searches forhonda +mySite in google, to find all ads with the description 'honda' or headline 'honda' from my database.How is th...
  • The ActivityResult is propagated back to whoever launched you via onActivityResult().“当你打开的Activity已经执行完成并且需要被关闭的时候可以调用这个方法,当你按返回的时候,它将返回到当前Activity的...
  • The ActivityResult is propagated back to whoever launched you via onActivityResult().“当你打开的Activity已经执行完成并且需要被关闭的时候可以调用这个方法,当你按返回的时候,它将返回到当前Activity的...
  • AI chips are the general direction of future technological development and one of the highest points of technological competition.Whoever is at the forefront of this field has th...
  • Can a single column in a table can be referenced to multiple ...解决方案A very late answer, but for whoever is wondering & googeling.YES this can be done, but it is NOT good practice and even tho...
  • D. Rooter's Song time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Wherever the destination is, whoever we me
  • This documents presents a novel digital filter design for 3g applications. It provides a detailed descriptions with respect ... I think it useful for whoever engaged in the modern wireless communication.
  • vm的重置重置了什么Before you sellyour Xbox One or pass it on to someone else, you should perform a factory reset. This wipes all your ... Whoever gets the Xbox One will have to go through the firs...
  • Server trusts whoever the client claims to be <p>The default type is also SIMPLE in code <pre><code> public static final PropertyKey SECURITY_AUTHENTICATION_TYPE = new Builder(Name.SECURITY_...
  • twitter推文不收录Twitter can be a little bit crazy. By default, it’s like a large public ... Anyone can weigh in, scream something, wave a sign, and generally interact with whoever else they wa...
  • Gameplay Time mode: Complete with each other to see who can catch more points in five minutes. Integral mode: There is no time limit. Whoever can faster catch enough points will win. Easy to p...
  • A stealth (somewhat) key logger, writes to a log file then sends and email to whoever is set in the #define options at compile time.
  • If you use a custom font (anything other than Word’s built-in fonts) in your document, embedding those fonts ensures that whoever views the document sees it the way you intended. In thi...

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 5,731
精华内容 2,292
关键字:

whoever