Monday, June 06, 2011

Swarnamali Stupa Wandanawa on June 4, 5 2011

I was so delightful to attend the 'Swarnamali Stupa Wandanawa' held at the Ruwanwelisaya on June 4th & 5th 2011, to commemorate 2600 Sambuddha Jayanthi and 60th Annivesary of Sri Kalyani Yogashrama . This was organized by the Sri Kalyani Yogashrama Sanstha with the guidance of Most Venerable Nauyane Ariyadhamma Maha Thero. Huge crowd gathered.

swarnamali stupa ruwanwelisaya sri lanka


To commemorate the 2500th Buddha Jayanthi Ven. Kadawedduwe Sri Jinawansa Thera founded the Kalyana Yogashrama Sanstha on 18th June 1951. Nimalawa Aranya Senasanaya in Kirinda was selected as the first aranya of a number of aranya senasana that was to be named Kalyana Yogashrama Sansthawa. With the passage of time the fame of Kalyana Yogashrama grew. People in many walks of life flowed in to the Aranya in search of the authentic way of meditation. But setting up the Kalyana Yogashrama Sanstha was no easy task. Although most ley persons were attracted to Ven. Kadawedduwe Sri Jinawansa Theras extremely eloquent sermons, there were people, the ley and monks alike who resented and envied his success. But thanks to his conviction the Kalyana Yogashrama Sanstha now has over 150 Aranya with over 1500 monks.(2007 figures) All the monks in all the Aranya belonging to the Yogashrama Sanstha, work according to the same time table. They all worship three times a day. They start the day at four a.m. and meditate for an hour. Unlike in temples of today the main focus of an Aranya is meditation.

Sri Kalyani Yogashrama is an independent part of the Sri Lankan Ramañña Nikāya Buddhist ordination line, with their headquarters in Galduva. They are keeping a strict standard of Vinaya (commentarial interpretation), recognised as the strictest standard of any major organisation in Sri Lanka. It is the largest forest sect of the Sri Lankan Sangha. Their monks are easily recognised by the palm-leaf umbrella they are using and by the habit of wearing the Sanghati (double robe) whenever they walk outside the monastery boundaries. Remarkably for Sri Lanka, all castes are accepted for ordination. Foreign monks, who wish to become resident at one of their monasteries, are usually expected to undergo the so called "Dalhi-Kamma" at Galduva, a short ceremony meant to reconfirm the validity of their original Upasampada according to Galduva standard. After that they are accepted according to their normal seniority. Source:http://en.wikipedia.org/wiki/Sri_Kalyani_Yogasrama_Samstha







websites:

http://ariyainfo.org




Monday, February 21, 2011

Migrate user accounts from old Linux server Fedora to a new CentOS Linux server including mails and passwords.

Migrate user accounts from old Linux server(Fedora 13) to a new Cent OS Linux server including mails and passwords.

Why do I write this blogpost?
I'm using Sendmail + Squirrelmail + Dovecot since 2002 under Fedora Linux. But now i must switch my System to CentOS (orRHEL) 'cos my squirrel mail change password plugin was not work. Got a lot of trouble installing SuSE, Fedora 14 & Ubuntu. After testing those OS's I found that CentOS is the best solution for this.

I AM NOT RESPONSIBLE FOR ANY DAMAGES INCURRED DUE TO ACTIONS TAKEN BASED ON THIS DOCUMENT..........

What do i need to migrate?
1. Time
2. A lot of Coffee
3. Some Cigaretts (optional)
4. Take your wife/family out for a night or weekend

First login to our Mailserver(Fedora 13)

Create a directory
# mkdir /root/newusers.bak
# cp /etc/passwd /etc/shadow /etc/group /etc/gshadow /root/newusers.bak
# cd /root/newusers.bak
# mv passwd passwd.mig
# mv group group.mig
# mv shadow shadow.mig

(rarely used)
# cp /etc/gshadow /root/newusers.bak/
# mv gshadow gshadow.mig

Then delete entries from top (root) to userID 500 in every above 3 files. This bring our Useraccounts, passwords & their groups.

Use rsync, scp or usb pen or tape to copy /root/newusers.bak to a new Linux system.(CentOS)

# scp -r /root/newusers.bak/* user@172.16.1.254:/root/sandun/newusers/

Now login to our New mail server (CentOS)

First, make a backup of current users and passwords:
# mkdir /root/users.bak
# cp /etc/passwd /etc/shadow /etc/group /etc/gshadow /root/users.bak

Now restore passwd and other files in /etc/
# cd /root/sandun/newusers/
# cat passwd.mig >> /etc/passwd
# cat group.mig >> /etc/group
# cat shadow.mig >> /etc/shadow

Now copy and extract /home/ and /var/mail/ to new Server's /home/ & /var/mail/

<<<< Change the user ID to 500 if you migrate Suze Linux
vi /etc/login.pref
UID_MIN 500 >>>>

# rsync -ave ssh /home/ root@172.16.1.254:/home/
# rsync -ave ssh /var/mail/ root@172.16.1.254:/var/mail/

Single user(ex:- sandun)
# rsync -ave ssh /home/sandun root@172.16.1.254:/home/
# rsync -ave ssh /var/mail/sandun root@172.16.1.254:/var/mail/

Voila, now login to the new system using old server username and password.....

+++++++++++++++++++++++++++++++++
(we can filter out system account using 'awk')
# awk -v LIMIT=$UGIDLIMIT -F: '($3>=LIMIT) && ($3!=65534)' /etc/passwd > /root/move/passwd.mig

source: http://www.cyberciti.biz/faq/howto-move-migrate-user-accounts-old-to-new-server/