Results 1 to 2 of 2

Thread: Setting access rights for anonymous FTP user

  1. #1
    Join Date
    Apr 2004
    Location
    Netherlands
    Posts
    1,308

    Setting access rights for anonymous FTP user

    As I don't have access to a linux machine I would like to make a plea to Oleg (or anyone else who's able to create new firmware) to add an option to the webinterface where the default access rights of the anonymous user can be set.

    In \init\ftpserver the anonymous user is added to \tmp\stupid-ftp.conf like this:
    Code:
    if [ "$x_FIsAnonymous" = "1" ]; then
    		echo -e "user=anonymous * // 0 A" >> /tmp/stupid-ftpd.conf
    If the anonymous account is enabled it will be given the A (A - allows EVERYTHING(!)) access rights. In my situation I would like to have anonymous access but with limited rights. This would make it look like this:
    Code:
    if [ "$x_FIsAnonymous" = "1" ]; then
    		echo -e "user=anonymous * // 0 $x_FIsAnonymousRights" >> /tmp/stupid-ftpd.conf
    Or even better with an adjustable base path:
    Code:
    if [ "$x_FIsAnonymous" = "1" ]; then
    		echo -e "user=anonymous * $x_FIsAnonymousPath 0 $x_FIsAnonymousRights" >> /tmp/stupid-ftpd.conf
    Would you be so kind to add this feature? I would really appriciate it!

  2. #2
    Join Date
    Apr 2004
    Location
    Netherlands
    Posts
    1,308
    Oops, I just discovered that disabling anonymous access and creating a user 'anonymous' with password '*' works exacly like a real anonymous user. There's no need to do the patching of the firmware anymore.

    This doesn't mean that its weird to see that, when anonymous access is allowed, all users have the same rights as a superuser but without having to logon for that

Similar Threads

  1. Disable anonymous FTP access
    By herve81 in forum WL-HDD Q&A
    Replies: 4
    Last Post: 14-12-2007, 09:55
  2. 530 This FTP server is anonymous only.
    By wilco02 in forum Dutch Discussion - Nederlands
    Replies: 10
    Last Post: 06-10-2005, 17:29
  3. Replies: 2
    Last Post: 07-09-2005, 20:47
  4. Replies: 10
    Last Post: 11-04-2005, 22:09
  5. WL-HDD files modifications & (linux) rights?
    By Xeryus in forum WL-HDD Q&A
    Replies: 6
    Last Post: 15-12-2004, 12:43

Posting Permissions

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