Hi Bob,

Thanks for the feedback!

The symptoms you are getting are due to how I designed the script with backuppc being a system user without shell etc. As such, it is not related to BackupPC version - you can make BackupPC 4 work the way you are used to.

There are many options for you to support your routines, here are a few:

- You can do 'sudo -u backuppc ssh-copy-id user@targethost' as it is with the current setup

- You can change the shell for backuppc with 'sudo chsh backuppc'

- You can reinstall fresh and choose another style for the backuppc user (change the adduser command by removing --shell /bin/false and --system)

If you have a lot of hosts, it may make sense to use orchestration tools that manage ssh keys instead.

Hope this helps,

Johan


On 1/21/19 6:49 PM, Robert Wooden wrote:
Just rebuilt an Ubuntu 18.04 with the "Installing-BackupPC-4-from-tarball-or-git-on-Ubuntu" script that Mr. Ehnberg recently updated.

When I try to ssh-copy-id "su - backuppc" does not work. When I "su - backuppc -s /bin/bash:" I get a "backuppc@[myhostname]:~$" command prompt. That is I am getting a username@hostname command prompt rather than just a "$".

In the days of version 3 I always used "su - backuppc" from root and it always gave me a "$" prompt and then I got use to the manner "ssh-copy-id" worked.

Now, with version 4, this required activity is different and troublesome.

What is the proper ssh-copy-id command process used by other people who have used the Ehnberg script to setup BackupPC to copy the ssh keys to the clients?

--
Thank you.
Bob Wooden//


_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
--
Signature
*Johan Ehnberg*

Founder, CEO

Molnix Oy


jo...@molnix.com <mailto:jo...@molnix.com>

+358 50 320 96 88

molnix.com <https://molnix.com>


/The contents of this e-mail and its attachments are for the use of the intended recipient only, and are confidential and may contain legally privileged information. If you are not the intended recipient or have otherwise received the e-mail in error, please notify the sender by replying to this e-mail immediately and then delete it immediately from your system. Any dissemination, distribution, copying or use of this communication without prior and explicit permission of the sender is strictly prohibited./

/*Please consider the environment - do not print this e-mail unless you really need to.*/

_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to