BackupPC-users

Re: [BackupPC-users] Testing the mail function from BackupPC

2010-01-28 11:24:42
Subject: Re: [BackupPC-users] Testing the mail function from BackupPC
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Thu, 28 Jan 2010 10:23:25 -0600
On 1/28/2010 5:01 AM, Tony Molloy wrote:
>
>> I wanted to test the mail function with BackupPC as described on
>> http://webserveraddress/backuppc/html/doc/BackupPC.html#step_8__checking_em
>> ail_delivery, but got the below error message. I installed BackupPC
>>   according to the CentOS-BackupPC wiki at
>>   http://wiki.centos.org/HowTos/BackupPC.
>>
>> Could anyone offer any insights on this? I though the backuppc-account was
>>   a nologin (or some such) account, thus a su isn't possible.
>>
>> root@mach012 ~/ [0]# su backuppc
>
> Try su - backuppc
>
> to get backuppc's environment.

The problem here is that the backuppc user added by the rpm package 
doesn't have a shell in the /etc/passwd file (which you need for this 
sort of testing and testing the ssh keys).  Either fix this and be done 
with it or use 'su -s /bin/bash backuppc' every time.

-- 
   Les Mikesell
    lesmikesell AT gmail DOT com

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
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/