Find the answer to your Linux question:
Results 1 to 7 of 7
Hi I have changed the ownership of my ftp directory (I use vsftp) and I want to now to change ownership to the first one, but I don't know who ...
  1. #1
    Just Joined!
    Join Date
    Nov 2006
    Posts
    39

    log file for ownership

    Hi

    I have changed the ownership of my ftp directory (I use vsftp) and I want to now to change ownership to the first one, but I don't know who was the owner.

    Is there any log file that keeps the changes of ownership for folders?

    Or do you know who is the owner for vsftp?

    What exactly I care is not the owner but group that foldr ftp belongs ( the owner is root I thing so)

    The problem on connecting to my ftp is the following message:
    500 OOPS: cannot locate user entry:nobody



    Thanks a lot

  2. #2
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    give the ownership to the nobody user ,its a special system user without
    home directory

  3. #3
    Just Joined!
    Join Date
    Nov 2006
    Posts
    39
    Well I deleted by fault the account nobody!

    I found your post about it.
    this

    http://209.85.135.104/search?q=cache...3&client=opera

    But I don't understand what I have to do to bring back the nobody account

    thanks for your help

  4. #4
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    in a terminal as root
    #>useradd -c nobody -d /nonexistent -g nogroup -s /bin/false -u 65534 nobody

  5. #5
    Just Joined!
    Join Date
    Nov 2006
    Posts
    39
    this is the result

    useradd: unknown group nogroup


    Probably I have also deleted the group no group.

    Is there any special parameters to use in order to create the group nogroup?

  6. #6
    Just Joined!
    Join Date
    Nov 2006
    Posts
    39
    I'm still searching but nothing yet. If you know something please help me

  7. #7
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    try recreate the group nogroup with gid 65534

    as root
    #>addgroup nogroup 65534

    and recreate the nobody account
    #>useradd -c nobody -d /nonexistent -g nogroup -s /bin/false -u 65534 nobody

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •