>From your 4.4.0 documentation I see:
For security purposes you might choose to configure the BackupPC user with
the shell set to /bin/false. Since you might need to run some BackupPC
programs as the BackupPC user for testing purposes, you can use the -s
option to su to explicitly run a shell, eg:
su -s /bin/bash __BACKUPPCUSER__
If the -s option is not available on your operating system, you can specify
the -m option to use your login shell as invoked shell:
su -m __BACKUPPCUSER__
I tried it with the $ perfix but it still didn't work.
In setting BackupPC up to run as a service (backuppc.service file), I had
to change all the references from__WHATEVER__ to the actual file names
including paths if necessary. The substitution of the variables did not
work.
Tom.
On Sun, Aug 30, 2020 at 7:28 PM Tim Evans <[email protected]> wrote:
> On 8/30/20 6:47 PM, Tom Cada wrote:
>
> > All of the various BackupPC environment variables such as
> > __BACKUPPCUSER__ or __TOPDIR__ are missing.
> >
> > If I try as suggested in your documentation
> >
> > $ sudo su - __BACKUPPCUSER__
> > I get the error
> > su: user __BACKUPPCUSER__ does not exist
>
> Not sure those variables would be set for a non-BackupPC user, but, in
> any case, shouldn't that be:
>
> $ su - $__BACKUPPCUSER__
>
> (i.e., variables are referenced in most cases with the preceding dollar
> sign.)
>
> --
> Tim Evans | 5 Chestnut Court
> | Owings Mills, MD 21117
> | 443-394-3864
>
>
> _______________________________________________
> BackupPC-users mailing list
> [email protected]
> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki: https://github.com/backuppc/backuppc/wiki
> Project: https://backuppc.github.io/backuppc/
>
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/