Announcement

Collapse
No announcement yet.

How do I add/clone a user?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How do I add/clone a user?

    Hi,

    A while ago I used a script from here (SeedboxCreationScript/seedbox-setup) to install my Debian 7.8box with rutorrent 3.6, vsFTPd 2.3.5, lighttpd which works perfectly.

    Now I need to add a 2nd rutorrent user to my box but I've no clue how to.

    I could rerun SeedboxCreationScript/seedbox-setup but I don't know if it will mess up my existing user.

    lighttpd.conf has
    Code:
    server.document-root = "/var/rutorrent"
    server.port = 80
    
    $SERVER["socket"] == ":443" {
            ssl.engine = "enable"
            ssl.pemfile = "/usr/local/lighttpd/rutorrent.pem"
    }
    
    url.access-deny = (".htaccess")
    $HTTP["url"] =~ "^/rutorrent/(?:share|conf)" {
            url.access-deny = ("")
    }
    $HTTP["url"] =~ "/\.svn" {
            url.access-deny = ("")
    }
    
    auth.backend = "htpasswd"
    auth.backend.htpasswd.userfile = "/usr/local/lighttpd/rutorrent_passwd"
    auth.require = (
            "/RPC00001" => (
                    "method" => "basic",
                    "realm" => "My ruTorrent web site1",
                    "require" => "user=user1",
        ),
            "/" => (
                    "method" => "basic",
                    "realm" => "My web site",
                    "require" => "valid-user",
            ),
    )

    Can anyone tell me how to basically clone user1 to create user2 with rtorrent/vsFTPd/lighttpd etc please?
Working...
X