{"action":"created","issue":{"url":"https://api.github.com/repos/rear/rear/issues/522","labels_url":"https://api.github.com/repos/rear/rear/issues/522/labels{/name}","comments_url":"https://api.github.com/repos/rear/rear/issues/522/comments","events_url":"https://api.github.com/repos/rear/rear/issues/522/events","html_url":"https://github.com/rear/rear/pull/522","id":53050101,"number":522,"title":"DRLM integration with ReaR","user":{"login":"didacog","id":5380209,"avatar_url":"https://avatars.githubusercontent.com/u/5380209?v=3","gravatar_id":"","url":"https://api.github.com/users/didacog","html_url":"https://github.com/didacog","followers_url":"https://api.github.com/users/didacog/followers","following_url":"https://api.github.com/users/didacog/following{/other_user}","gists_url":"https://api.github.com/users/didacog/gists{/gist_id}","starred_url":"https://api.github.com/users/didacog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/didacog/subscriptions","organizations_url":"https://api.github.com/users/didacog/orgs","repos_url":"https://api.github.com/users/didacog/repos","events_url":"https://api.github.com/users/didacog/events{/privacy}","received_events_url":"https://api.github.com/users/didacog/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rear/rear/labels/enhancement","name":"enhancement","color":"02e10c"}],"state":"closed","locked":false,"assignee":{"login":"schlomo","id":101384,"avatar_url":"https://avatars.githubusercontent.com/u/101384?v=3","gravatar_id":"","url":"https://api.github.com/users/schlomo","html_url":"https://github.com/schlomo","followers_url":"https://api.github.com/users/schlomo/followers","following_url":"https://api.github.com/users/schlomo/following{/other_user}","gists_url":"https://api.github.com/users/schlomo/gists{/gist_id}","starred_url":"https://api.github.com/users/schlomo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schlomo/subscriptions","organizations_url":"https://api.github.com/users/schlomo/orgs","repos_url":"https://api.github.com/users/schlomo/repos","events_url":"https://api.github.com/users/schlomo/events{/privacy}","received_events_url":"https://api.github.com/users/schlomo/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/rear/rear/milestones/4","labels_url":"https://api.github.com/repos/rear/rear/milestones/4/labels","id":101653,"number":4,"title":"Rear v1.17","description":"Updates which missed the v1.16 release. Bug fixes and some minor new features...","creator":{"login":"dagwieers","id":388198,"avatar_url":"https://avatars.githubusercontent.com/u/388198?v=3","gravatar_id":"","url":"https://api.github.com/users/dagwieers","html_url":"https://github.com/dagwieers","followers_url":"https://api.github.com/users/dagwieers/followers","following_url":"https://api.github.com/users/dagwieers/following{/other_user}","gists_url":"https://api.github.com/users/dagwieers/gists{/gist_id}","starred_url":"https://api.github.com/users/dagwieers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dagwieers/subscriptions","organizations_url":"https://api.github.com/users/dagwieers/orgs","repos_url":"https://api.github.com/users/dagwieers/repos","events_url":"https://api.github.com/users/dagwieers/events{/privacy}","received_events_url":"https://api.github.com/users/dagwieers/received_events","type":"User","site_admin":false},"open_issues":37,"closed_issues":46,"state":"open","created_at":"2012-03-29T13:41:45Z","updated_at":"2015-01-30T08:31:20Z","due_on":"2015-02-27T23:00:00Z","closed_at":null},"comments":18,"created_at":"2014-12-29T15:57:47Z","updated_at":"2015-01-30T14:45:20Z","closed_at":"2015-01-30T08:31:20Z","pull_request":{"url":"https://api.github.com/repos/rear/rear/pulls/522","html_url":"https://github.com/rear/rear/pull/522","diff_url":"https://github.com/rear/rear/pull/522.diff","patch_url":"https://github.com/rear/rear/pull/522.patch"},"body":"DRLM (Disaster Recovery Linux Manager) integration with ReaR\r\n=====================================================\r\n\r\nThese are the required configurations in order to configure ReaR to work properly with DRLM:\r\n\r\nReaR client required configurations for DRLM:\r\n======================================\r\n\r\n- Create DRLM user on the client side:\r\n\r\nuseradd -d /home/drlm -c \"DRLM User\" -m -s /bin/bash drlm\r\npasswd drlm\r\n\r\n**NOTE: password will be blocked, the connection is only allowed using ssh keys. \r\n\r\n- Disable password aging for drlm user:\r\n\r\nchage -I -1 -m 0 -M 99999 -E -1 drlm\r\n\r\n\r\n- Copy ssh key from DRLM Server to the new client (login as root on DRLM server):\r\n\r\nssh-copy-id drlm@client_name\r\n\r\nSUDO DRLM user configuration:\r\n===========================\r\n- On the client side (if not present):\r\n\r\nmkdir /etc/sudoers.d\r\nchmod 750 /etc/sudoers.d\r\necho \"#includedir /etc/sudoers.d\" >> /etc/sudoers\r\n\r\n- Create SUDOERS DRLM user rules (in old SUDO versions you may need to configure DRLM rule directly in /etc/sudoers):\r\n\r\nvi /etc/sudoers.d/drlm\r\n\r\n         Cmnd_Alias DRLM = /usr/sbin/rear -dDv mkrescue, \\ \r\n\t /usr/sbin/rear -dDv mkbackup, \\ \r\n\t /usr/sbin/rear -d mkrescue, \\ \r\n\t /usr/sbin/rear -d mkbackup, \\ \r\n         /usr/sbin/rear -D mkrescue, \\ \r\n         /usr/sbin/rear -D mkbackup, \\ \r\n         /usr/sbin/rear -v mkrescue, \\ \r\n         /usr/sbin/rear -v mkbackup, \\ \r\n         /usr/sbin/rear mkrescue, \\ \r\n         /usr/sbin/rear mkbackup, \\ \r\n\t /usr/sbin/rear dump \r\n\r\n         drlm    ALL=(root)      NOPASSWD: DRLM \r\n\r\nchmod 440 /etc/sudoers.d/drlm\r\n\r\n\r\n- Disable password login:\r\n\r\n passwd -l drlm\r\n\r\nDRLM Required /etc/rear/site.conf settings:\r\n============================================\r\nDRLM_MANAGED=y                      \r\n\r\n- (is set to (n) by default on /usr/share/rear/conf/default.conf)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rear/rear/issues/comments/72211284","html_url":"https://github.com/rear/rear/pull/522#issuecomment-72211284","issue_url":"https://api.github.com/repos/rear/rear/issues/522","id":72211284,"user":{"login":"schlomo","id":101384,"avatar_url":"https://avatars.githubusercontent.com/u/101384?v=3","gravatar_id":"","url":"https://api.github.com/users/schlomo","html_url":"https://github.com/schlomo","followers_url":"https://api.github.com/users/schlomo/followers","following_url":"https://api.github.com/users/schlomo/following{/other_user}","gists_url":"https://api.github.com/users/schlomo/gists{/gist_id}","starred_url":"https://api.github.com/users/schlomo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schlomo/subscriptions","organizations_url":"https://api.github.com/users/schlomo/orgs","repos_url":"https://api.github.com/users/schlomo/repos","events_url":"https://api.github.com/users/schlomo/events{/privacy}","received_events_url":"https://api.github.com/users/schlomo/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T14:45:20Z","updated_at":"2015-01-30T14:45:20Z","body":"No worries. Thats why we work together.\r\n\r\nAnother question: Is the DRLM code on GitHub the \"latest\" and matches the\r\ncode now in ReaR? I ask because the last DRLM release is 1.0 and from\r\nOctober and you mentioned that the HTTPS feature is more recent. I wanted\r\nto take a look at the server side of DRLM.\r\n\r\nOn 30 January 2015 at 15:08, Didac Oliveira <notifications@github.com>\r\nwrote:\r\n\r\n> Yes yes, understood. I added it there, just for my local tests and forgot\r\n> to see where to put it on a correct site. On tests I only wanted that it\r\n> works on recovery in a fast way, and I forgot. :P\r\n>\r\n> —\r\n> Reply to this email directly or view it on GitHub\r\n> <https://github.com/rear/rear/pull/522#issuecomment-72206091>.\r\n>"}}