Jump to content

lococola

Members
  • Content Count

    8
  • Joined

  • Last visited

Community Reputation

0 Neutral

About lococola

  • Rank
    Newbie
  1. Very cool plugin! Been playing around with it. One question. When you hover a menu item there appears this little colored underline. How can you change the color of this underline? I tried to find out the object using Chrome Inspector, but I haven't been succesfull. Very strange!
  2. I want to use a script to run a rsync command, but I also want to run this from a screen, so I can check the progress at any time with screen -r. I have several backup scripts for each share that I want to backup. I'm having some issue getting screen to work. This is how the script looks now: #!/bin/bash export SCREENDIR=/root/.screen screen -dmS rsyncdms echo "Job '[job name]' started" rsync [with parameters etc] /usr/local/emhttp/webGui/scripts/notify -s "Job '[job name]' finished at $(date '+%Y-%m-%d %H:%M')" So it needs to do 3 things (echo, rsync and notify). When I run the script from the User Scripts page with the Run Script button, it works perfectly. But when I run it in the background and then try to view the status with 'screen -r' in a terminal, I just get a blank terminal with a prompt. I read it's because you need to put something immediately behind the 'screen -dmS rsyncdms' command, but then it still doesn't work. How can I get these 3 things to be executed in order, all within its own screen session? I saw another post where someone made a new user script and within it called the .sh file, but I want to integrate the screen function within the backup script itself, if possible.
  3. Yep, that was it. I ran rsync with -v and then I could see it didn't even attempt my custom named key, only the rsa_id ones. Naming the key accordingly fixed it.
  4. I've been trying to get this work but no matter what I do, every time I ssh it keeps asking for a password. Here is what I do, perhaps I'm missing something. I have an Unraid server (192.168.1.159) and a Synology DS411j (192.168.1.9). On the Unraid server, I run ssh-keygen -t rsa and give it the name "unraidkey". When it asks for a passphrase I just hit enter. It generates a private and public key file. They are in the following location on the Unraid server. ~/root/.ssh. On the Synology I created the user "fsync", made it a member of the administrators group. I also enabled the Homes service. SSH was already enabled. And I uncommented the required lines from the SSHD config file and restarted SSH. Now I copy the public key from the Unraid server to the Synology with the command: ssh-copy-id -i unraidkey fsync@192.168.1.9 Back to the Synology. I made sure the chmod permissions are set as described: chmod 700 on .ssh/ and 644 on .ssh/authorized_keys. According to the description I should be able to connect to the Synology from the Unraid without password. But when I SSH from the Unraid terminal to fsync@192.168.1.9 it keeps asking for a password. What could I be doing wrong?
  5. The easy of use combined with the many options and detailed system information make you feel like the master of your domain that you are. As for improving things I would like to see even more options for showing and hiding information on every section of the Unraid pages.
  6. Haha wow, I was so mixed up in my head with all the access rights and settings that this never occurred to me... Yeah that makes total sense. But now I at least know how to take care of this. Thanks for making sense
  7. I'm trying to configure a combination of shares and users that I think may not be possible, but I would like to double-check it here anyway. This is how I would like it to be: Share 1-5: Guests have Read-Only access; User1 account has Read/Write access; User2 account has No access. Share 6: Guests have No access; User1 account has No access; User2 account has Read/Write access. I can set it up almost 100% like above, except... I can't set the access rights for User2 on Share 1-5 to "No access". The option is simply not there, it has Read-Only access by default. I guess that is because I set up the shares with the options Export: Yes and Security: Secure? If I set the security to Private then I can set User2 to "No access", but then Guest users also have no access. Is there any workaround for this? Basically all I want to accomplish is to have 1 specific share that is only accessible for 1 specific user, but to also lock that user to that share. So it should not be able to even see the other shares.