BackupPC-users

Re: [BackupPC-users] Almost working

2008-10-13 04:39:32
Subject: Re: [BackupPC-users] Almost working
From: "Nils Breunese (Lemonbit)" <nils AT lemonbit DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 13 Oct 2008 10:34:03 +0200
Adam Goryachev wrote:

>> [root@Archiver ~]# su backuppc
>> bash-3.2$            <== This doesn't look as expected
>
> Actually, yes, this is the default prompt, which is usually modified  
> in
> your ~/.bashrc or ~/.bash_profile files, but the backuppc user doesn't
> have/use these files....

Correct.

> After you su - backuppc do:
> mkdir /var/lib/backuppc/.ssh
> chmod 0700 /var/lib/backuppc/.ssh
> Possibly ssh-keygen doesn't bother to try and create the directory  
> if it
> is missing.

I believe that is that case, yes.

> PS, bonus hint, run the command "id" (see "man id" for more info and
> flags) to see what user you are logged in as/currently.

Or 'whoami'.

Also: you didn't really need to change the login shell for the  
backuppc user. You could have used 'su -s /bin/bash - backuppc' to  
specify bash as the one-time shell.

Nils.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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/