Results 1 to 5 of 5
  1. #1

    How would I do the following?

    Im hosting a bunch of sites for friends of friends etc and I was wondering how I could put a readme.txt file into everyones FTP account, without having to manualy login to each.

  2. #2
    Join Date
    Dec 2002
    Access the file system and copy the file to the directory?
    I wish all my traffic went through AS174.

  3. #3
    Join Date
    May 2002
    if you have cpanel installed you may use for this reseller "skeletin" folder. all c ontent holded here will be copied to new account. similar function have Directadmin.
    Rustelekom LLC Dedicated server since 2002, RIPE NCC member, LIR, AS51168

  4. #4
    Join Date
    Sep 2004
    Flint, Michigan
    The skeleton folder would work on all new accounts, but it would not work on existing accounts.

    I would just manually copy it into the folders for now, and then do it as mentioned above.

    This also should be able to be done through a shell script, but I am not quite good enough at shell scripting yet to write you one =/
    Mike from
    Professional web design and development services.
    In need of a fresh hosting design? See what premade designs we have in stock!
    Web design tips, tricks, and more at

  5. #5
    Join Date
    Apr 2002
    I will assume you are wanting the readme file in the user's home directory and you are referring to a Linux system. You can login via SSH and create the readme.txt file in your current directory. Make sure you are logged in as root and then type:

    find /home -maxdepth 1 -exec cp readme.txt {} \;
    This will copy the readme.txt file in your current directory to all of the directories directly underneath /home (note the -maxdepth 1).

    This will copy the file over with root ownership. This means that those users will not be able to delete or modify the readme.txt document. If you need the file to be owned by the respective user name, that would require an additional script which would be more complex. But I'm not sure if this is exactly what you are looking for or not.

Posting Permissions

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