BackupPC-users

Re: [BackupPC-users] cannot "su - backuppc" after script

2017-03-26 10:46:39
Subject: Re: [BackupPC-users] cannot "su - backuppc" after script
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: Robert Wooden <bob AT donelsontrophy DOT net>, "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Sun, 26 Mar 2017 09:46:13 -0500
On Sun, Mar 26, 2017 at 8:57 AM, Bob of Donelson Trophy
<bob AT donelsontrophy DOT net> 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
    lesmikesell AT gmail DOT com

------------------------------------------------------------------------------
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
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>