azar

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by azar

  1. strongergravity

    I think it is AN EXTREMELY BAD IDEA not advisable to use password generator as the one you have mentioned.

     

    Connection to the site is insecure (no SSL), so anyone monitoring connections can snatch up your password as easy as a snap and gain access to your files. Okay, apparently it only works if JS is enabled, and seemingly everything happens on the client side.

     

    And what about how it generates random numbers? How big is the entropy pool?

     

    Personally, on all OS'es I use KeePass to generate and to store my keys, and always check an option to "Collect additional entropy" when generating a key.

  2. Hello,

     

    My OS is Ubuntu 12.04.3 (i386) and my BTSync config in /etc/btsync/my.conf is as follows (also, I'm using server variant of BTSync, that is, not "btsync-user" one):

    //!/usr/lib/btsync/btsync-daemon --config//// DAEMON_UID=MYUSERNAME//{	"device_name": "MY DEVICE",	"storage_path" : "/home/MYUSERNAME/.btsync-MYUSERNAME",	"pid_file" : "/home/MYUSERNAME/.btsync.MYUSERNAME.pid",	"listening_port" : 0,	"check_for_updates" : false,	"use_upnp" : true,	"download_limit" : 0,	"upload_limit" : 0,	"disk_low_priority" : true,	"lan_encrypt_data" : true,	"lan_use_tcp" : false,	"rate_limit_local_peers" : false,	"folder_rescan_interval" : 600,	"webui" :	{		"listen" : "0.0.0.0:8888",		"login" : "admin",		"password" : "MYPASSWORD"	}} 

    The issue is -  when I run (without sudo, as I dont want to run it as root):

    service btsync start

    I get the error:

     

     

    start-stop-daemon: unable to open pidfile '/var/run/btsync.MYUSERNAME.pid' for writing (Permission denied)

     

     

    Well, sure permission denied, there is no sudo!

     

    But how come my "pid_file" setting is ignored?

     

    I have found something here:

     

     

     

    In any case, the service (/usr/lib/systemd/system/btsync@.service) assumes that the PID file is at ~/.config/btsync/sync.pid. Unless you explicitly set the "pid_file" setting in your config file, the sync.pid file is created in the "storage_path" directory. If you've changed either of those settings, you'll need to update the PIDFile setting in the service accordingly.

     

     

    If so, and I need to edit "btsync@.service", where can I find it on my system? These instruction are for Arch, and I also ran (from root location) "sudo find -maxdepth 9999 -name *btsync*" and this did not return "btsync@.service".

     

    Any ideas?