Saturday, November 14, 2009

0

How to set up backuppc in ubuntu client

Posted in

1. Generate SSH keys

First, become the root user and generate SSH keys. If you already have SSH keys (id_rsa and id_rsa.pub) in /root/.ssh/, then you can skip the first 2 commands.
sudo -i
ssh-keygen -t rsa
It will ask for where to store the file and passphrase. Do not enter anything and just keep pressing enter. Now let's make a copy of the public key for the server.
cd ~/.ssh
ls
The above is to make sure you have id_rsa & id_rsa.pub
cp id_rsa.pub clientname_id_rsa.pub
clientname is the name of your computer (which appears in your terminal; eg linus@linusbox:~$ - in this case linusbox is your computer name). I am assuming that you have a unique computer name on your network. The private key file (id_rsa) is something that you must guard with your life! (ok i'm exaggerating) Let's make sure that it's non-readable by anyone else but the root;
chown root:root id_rsa
chmod 600 id_rsa

2. Exchange SSH keys with Server

Email 'clientname_id_rsa.pub' to the administrator so that they can put it in the server's .ssh directory.

To allow the server access to your computer, obtain the public SSH key of the server from the administrator.

Once you have the server public key (BackupPC_id_rsa.pub), you must add it to the authorized key list. If you already have a file named 'authorized_keys2' in your /root/.ssh directory, you can skip the third command.
sudo -i
cd /root/.ssh/
touch authorized_keys2
mv /location/of/the/file/BackupPC_id_rsa.pub /root/.ssh/
cat BackupPC_id_rsa.pub >> authorized_keys2
/location/of/the/file/ is obviously where you downloaded and placed the file. Now for additional security, we want to limit the allowed host to the backup server. Note that I use the text editor gedit, but you can use vi, nano, kate, or anything else.
gedit /root/.ssh/authorized_keys2
Add the address of the server at the beginning of the file to make the file look like this: (bolded part)
from="xxx.xxx.xxx.xxx" ssh-rsa [base64 key, eg: ABwBCEAIIALyoqa8....]
Make sure again the permission is set correctly.
chmod -R go-rwx /root/.ssh

3. Create Config File

Now in your home directory as the regular user, create your configuration file named 'clientname.pl' where clientname is the name of your computer.
gedit clientname.pl
Copy and paste the following.
$Conf{XferMethod} = 'rsync';
$Conf{BackupFilesExclude} = ['/tmp', '/media', '/mnt', '/floppy', '/stuff/unwanted'];
$Conf{ClientNameAlias} = 'xxx.xxx.xxx.xxx';
This file assumes that you want to back up everything in your harddrive except for the directories specified in the config file. To add more directories to be excluded, simple add the paths to the directories in the second line following the syntax shown above (ie wrap the path with '' and have a comma and a space in between).
If you wish to back up only the specified files, then replace the second line with the following and likewise add desired directory paths to that line following the syntax.
$Conf{BackupFilesOnly} = ['/myFiles', '/important', '/home/linus/stuff'];

4. Submit Files to Administrator

Now let us send the following files to the administrator (by email or whatever) if you have not dones so already.
  1. clientname_id_rsa.pub
  2. clientname.pl

Thursday, November 12, 2009

0

Clinton asked to speak on Arroyo’s rights record

Posted in
MANILA, Philippines—Militant groups have challenged US Secretary of State Hillary Clinton to "take a stand on the human rights record of the Arroyo administration."

"What does she have to say about the government-instigated extrajudicial killings of activists, the involuntary disappearances and torture even of an American citizen like Melisssa Roxas under the Arroyo administration? What does she have to say about the climate of impunity that continues to prevail?" asked the Alliance of Concerned Teachers (ACT).

League of Filipino Students (LFS) head Terry Ridon asked Washington to "cease supporting Arroyo's criminal government marked by human rights violations."
Ma. Christina Guverra, president of the Students Christian Movement of the Philippines, said, "Clinton has claimed she wants to personally see the destruction brought by the typhoons."

"We can only wish they will see the greater destruction brought by the continuous plunder of our nation's resources," Guevarra added.
Foreign Affairs Secretary Alberto Romulo said the Arroyo government was not shirking from its duty to protect its citizens’ human rights.
He said the government "remains fully committed and determined to address issues in relation to the protection and promotion of human rights."

"The Philippine government has been recognized by both the Obama administration and the US Congress for its efforts in addressing human rights," Romulo noted.Washington "recently requested for the deletion of the conditions on the $2 million in security assistance (to Manila) in the 2009 Appropriations Act in recognition of the significant progress made by the Philippines in addressing human rights concerns," he disclosed.

According to Anakbayan secretary-general Ken Ramos, Clinton’s real agenda is to save the Visiting Forces Agreement (VFA) from abrogation and ensure "US domination in Philippine affairs."Ramos said Clinton's visit "signals continuity, if not an increase in American intervention, considering mounting opposition to the VFA during the past two months."

Clinton "should realize they have no business here and any attempt to meddle in the coming polls, among others, no matter how covert, will be thwarted by people's movements," he added.

Clinton is scheduled to visit the country on November 12-13 before joining US President Barack Obama at the Asia-Pacific Economic Cooperation (Apec) summit in Singapore in the next two days.

Left-leaning groups like ACT and LFS have repeatedly expressed concern over the activities of visiting US troops in the country.
Similar concerns from other sectors and vague provisions in the VFA prompted the Senate in September to pass a resolution urging Arroyo to notify the US of the government's desire to renegotiate the accord, and if Washington refuses, to scrap it altogether.

Deputy presidential spokesmen Anthony Golez and Gary Olivar both declined to comment on whether the VFA would be on the agenda of a meeting between the President and her American counterpart on the sidelines of the Apec summit.
It will be Clinton's second visit to the country. The first was in 1996 during the Apec summit at the Subic Freeport in Zambales as US First Lady. She was then accompanying her husband, then President Bill Clinton.

This will be her second visit to Southeast Asia since being named Obama's secretary of state.

Arroyo and Clinton also met early in 2009 during the President's trip to Washington.

During their 30-minute talk at the State Department, they discussed issues that revolved around the Muslim insurgency in Mindanao and the effects of the global financial meltdown, among other issues.

According to Press Secretary Cerge Remonde, Arroyo and Clinton would discuss, among other things, the May 2010 elections during the latter's visit this week.
The Palace said it was ready to welcome Clinton, calling her visit an affirmation of the close diplomatic relations between Manila and Washington.

Last weekend, Clinton said her trip to the Philippines would be US way to show solidarity with the storm-battered country, just after her visits to Singapore and Berlin.

During her two-day trip here, Clinton "will hold consultations with senior Filipino officials, highlighting the US-Philippines treaty alliance," according to Ian Kelly, Clinton's spokesman.
0

Father Sinnott freed by abductors

Posted in
UPDATE) MANILA, Philippines -- Irish priest Fr. Michael Sinnot was freed by his captors at dawn today in Zamboanga City, authorities said.

Sinnott, 79, was turned over by members of the GRP ceasefire committee and the Moro Islamic Liberation Front Task Force around 4:20 a.m., GRP panel head Rafael Seguis said.

"Nandito sya ngayon nagpapahinga mukhang malakas naman (He is strong and taking a rest)," Seguis told a radio interview.

He said Sinnott will be flown to Manila today and presented to President Arroyo. Maj.Gen. Benjamin Dolorfino, Army's Western Mindanao Command, said there was no ransom paid to Sinnott's abductors.

"Hindi pa rin natin na masasabi kasi ongoing pa ang investigation ng ating kapulisan about that," Dolorfino said when asked if an MILF group was indeed behind the kidnapping.

He added that a manhunt operation is now underway for the foreign missionary's kidnappers. Sinnott will be boarding a Fokker plane to Manila.

Sinnott was snatched by a group of gunmen in Pagadian City last Oct. 11.

He was released on the day of the arrival of US State Department Secretary Hillary Clinton

to Manila for a two-day meeting with President Arroyo.

Irish Foreign Minister Micheal Martin said late Wednesday the Rev. Michael Sinnott "displayed great forbearance ... in spite of his age and difficult health."

"He is clearly a man of great resilience, strength and courage and we wish him well as he seeks to recover from such a trying ordeal," said Irish President Mary McAleese, who called Sinnott's freedom the answer to the shared prayers of millions in both countries.

And Irish Prime Minister Brian Cowen said the government would help the priest enjoy "a speedy reunion with his family and friends."

In Dublin, Martin declined to detail how the priest won his freedom other than to call the achievement "the successful conclusion of a major diplomatic effort by the Irish and Philippine governments." He also credited the US government, other European Union nations with embassies in Manila, and the International Committee of the Red Cross with playing a role.

The Philippine government said it had received demands from Sinnott's captors for $2 million in ransom but, like the Irish, stressed that paying anything would only encourage more kidnappings in rebel-threatened Mindanao.

Martin said paying a ransom "would only have jeopardized the vital work of aid workers and missionaries around the world. It would also place other Irish citizens in danger."

At least two other Irish Catholic priests have been targeted by kidnappers in the southern Philippines. In 1987 a priest was held for 12 days by Islamic militants before being released unharmed, but four years later another priest was shot to death when he resisted his abductors.

In June 2007, kidnappers with links to Moro rebels held an Italian priest for 33 days.

'Kidnappers not MILF men'

Sinnott said his captors do not belong the MILF, the Muslim rebel group previously accused by authorities as the one behind the Irish priest’s abduction.

During a media briefing after his arrival in Manila, Sinnott said his kidnappers described themselves as native Lumads driven away from their lands.

He also said his kidnappers have treated him well during the one month he spent in captivity.

"They are mostly very kind to me," Sinnott added. - With AP