On Sun, Mar 26, 2017 at 8:57 AM, Bob of Donelson Trophy
<[email protected]> wrote:
> I have been experimenting with the script originally submitted by Johan
> Ehnberg (thank you, BTW) to build on a VM (Virtualbox).
>
> As BackupPC has been updated to 4.1.0 and the script (I believe) pulls the
> latest from github I have rerun the script to test the newer BackupPC
> version.
>
> With each VM (version 4.0.0 and now 4.1.0?) I am unable to access the "su -
> backuppc" via commandline in order to "ssh-copy-id" keys to the clients. Any
> attempt to "su - backuppc" simply returns to the 'root' user prompt as
> opposed to the 'backuppc' "$" prompt. I have even backed out of the 'root'
> user to the admin user and tried "sudo su - backuppc" with the same result,
> a return to the admin user prompt.
>
> Is there a different way I am to backuppc user login to "ssh-copy-id" with
> the newer BackupPC 4 version?
>
> Is the script not being processed properly the backuppc user account
> creation?

The backuppc user may not have a shell set in the passwd file to
prevent direct logins.   You can still
 "su -s /bin/bash - backuppc"   or "sudo su -s /bin/bash - backuppc"
if that is the case.

-- 
  Les Mikesell
    [email protected]

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to