Strona główna / Społeczność / Blog / BackupPC on ReadyNAS

BackupPC on ReadyNAS

After installation (as you can see it is based on Debian)

I have to modify attributes:

Because of error:

I had to install manually missing Perl module:

To login without password I've generated keys (as root):

and copy id_rsa.pub to .ssh/authorized_keys on host I would like to backup.

Now I can ssh to that host without password (on Windows machine You have to allow Public Key exchange).

It's time to do the same for backuppc user. By default it has bash set to /bin/false so I done it manually:

Komentarze

Copy keys

You can copy keys using:

sudo -u backuppc /usr/bin/ssh-copy-id user@host

Copping known_hosts

There is another way:
https://www.jaqb.gda.pl/eng/Community/Blog/Run-command-as-user-who-cannot-login

Log in or create a user account to comment.

Ten kto umie pisze kod, ten kto nie umie pisze książki..., albo blog.

Pon Wt Śr Czw Pt So N
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30