Saturday, August 13, 2016

Bus trip on 632 & 580 rapidKL

It's always wonderful to explore things in a bus of not knowing where you are going to end and what will you do at the destination.

Yes it's always interesting and a never ending entertainment when you go on these kind of road (bus) trips ...

The bus #632 is always is one of our targets for me and venki (esp venki) not knowing where it goes and where it ends we just got inside and it went on and reached the destination awan basar. 

Awan basar is a beautiful picadelli where you have both the bus and train stations with beautiful sky scrapers condominiums around which is more of a newly built ones on a small hill (bukit)

Spent some time there in an Indian restaurant where in we had telur roti and hot lemon tea each and then checked into a small super market where in we can get local made cookies for a cheaper cost ..  Then roamed around the place and  came back to the bus station waiting to catch the next bus back home ..

Got our daily office route  bus 580  to get back home via a break at endah parade JD mess for dinner .. the bus route was pretty messy and was knowing the complexity of the route .. we will never curse the bus driver henceforth for being late to our bus stop ..😆

Waiting for the bus  venki explored new routes like 651 which will be next week's plan😉

Friday, August 12, 2016

Nerve movie review

Watched the movie nerve yesterday. It revolves around the cyber and hacking world and open source gaming technologies

The movie was just not gimmicks but with logical thinking aswell in it with fun and drama with full Josh

The graph of the movie was pretty awesome like a DJ music which has high a low in one go . I would rate the movie 3/5

#NerveMovie

Monday, May 17, 2010

SUDOERS RPM INSTALLATION in AIX

1. Download the rpm file needed to install the sudoers package in AIX
http://www.bullfreeware.com/download/wpar_tt/listaixopensourcerpms.html
Search for the file sudo-1.6.7p5-3.aix5.1.ppc.rpm and download it

2. Copy the downloaded file to the AIX servers /tmp/SUDO directory

3. change the permission to chmod 777

4.smitty install-> Install and Update Software-> Install Software-->INPUT device / directory for software [.]#current directory
SOFTWARE to install (Press Esc+F4 which displays the rpm file in the directory)
ACCEPT new license agreements? Yes
and press enter to install the rpm File on your machine

5. Configuring logs for Sudo

vi /etc/sudoers

place an entry @ the end of the file

Defaults log_year,logfile=/var/log/sudo.log

SUDOERS FILE SAMPLE

# visudo

------------------------------------------------------------------------------------------
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
#

# Host alias specification

# User alias specification

# Cmnd alias specification

# Defaults specification

# User privilege specification
root ALL=(ALL) ALL
sound ALL=(ALL) ALL
uday ALL=(ALL) ALL
sandeep ALL=(ALL) ALL
neha ALL=(ALL) ALL

# Uncomment to allow people in group wheel to run all commands
# %wheel ALL=(ALL) ALL

# Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL

# Samples
# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users localhost=/sbin/shutdown -h now

Defaults log_year,logfile=/var/log/sudo.log

#Defaults syslog=auth

----------------------------------------------------------------------------------------------------

6.Enter visudo command to view and putting an entry of the users in the /etc/sudoers quit it by saving it.
7. Login into the userlogin by opening a duplicate session of su and enter sudo -s for sudo -s login credentials.
8. Finally check the log file

# more /var/log/sudo.log
May 14 18:37:20 2010 : sound1 : TTY=pts/1 ; PWD=/home/sound1 ; USER=root ; COMMAND=/usr/bin/ksh
May 14 18:50:06 2010 : uday : TTY=pts/0 ; PWD=/ ; USER=root ; COMMAND=/bin/bsh
May 14 19:23:34 2010 : sound1 : TTY=pts/3 ; PWD=/home/sound1 ; USER=root ; COMMAND=/usr/bin/ksh
May 17 14:23:05 2010 : sound1 : TTY=pts/2 ; PWD=/home/sound1 ; USER=root ; COMMAND=/usr/bin/ksh
May 17 14:27:56 2010 : neha : TTY=pts/2 ; PWD=/home/neha ; USER=root ; COMMAND=/usr/bin/ksh
May 17 14:30:45 2010 : neha : TTY=pts/2 ; PWD=/home/neha ; USER=root ; COMMAND=/usr/bin/ksh
May 17 14:31:49 2010 : sandeep : TTY=pts/2 ; PWD=/home/sandeep ; USER=root ; COMMAND=/usr/bin/ksh

This is the way to use the sudoers in AIX.

Wednesday, April 7, 2010

simple script to zip / rar it in command line




#########################################################
# Script to ZIP the file and NULL the previous Log file #
#########################################################

ZIPing the file

cd "D:\Program Files\WinZip\"
winzip32 -min -a -en -r C:\Backup1\rbb__%date:~7,2%-%date:~4,2%-%date:~10,4%.zip C:\Backup1\rbb.txt
cat /dev/null > C:\Backup1\rbb.txt


RARing the file

cd "C:\Program Files\WinRAR"
Rar a D:\rob__%date:~7,2%-%date:~4,2%-%date:~10,4%.rar D:\rob.txt
cat /dev/null > D:\robocopy.txt

Friday, January 15, 2010

ROLLBACK SCRIPT ON AIX





AIX TL/ML Reject Script ( In applied state)

Rollback
D=/tmp;installp -s | awk '{print $1"\t" $3 }'>$D/AIX.REJ;installp -rgX -f $D/AIX.REJ;rm $D/AIX.REJ &

Rollback Preview
D=/tmp;installp -s | awk '{print $1"\t" $3 }'>$D/AIX.REJ;installp -rpg -f $D/AIX.REJ;rm $D/AIX.REJ &

Details of the Script
# Assigning tmp directory to D
# Moving the file list in applied state to AIX.REJ file by filtering 1st and 3rd column of the output installp -s in tmp directory
# Rollback with the help of the command with the file list available in AIX.REJ
# Removing the file AIX.REJ

Thursday, December 24, 2009

Installing & Rejecting in AIX




Installing and Rejecting

Preview of Installation

a=>APplied state
p==>Preview
g==>support softwares
X==>Extend filesystem if needed

installp -apgX -d '.' all

Installation
a=>APplied state
g==>support softwares
X==>Extend filesystem if needed

installp -agX -d '.' all

---------------------------------------------------------------

Rejecting applied state softwares in AIX

Create a reject list using installp -s(lists the applied state softwares)and moving the output to rejectlist

#installp -s >rejectlist

Reject the list by using installp -rgf (g=>support softwares,f filelist)

#installp -rgf rejectlist

Friday, November 27, 2009

VM with Virtual Server 2005 R





It was a nice experience creating a Virtual Machine using MS Virtual Server 2005 R..
It was so simple.. Logging into the Virtual Server URL and then clicking the Create link and entering the Server Name, RAM size,Disk Space, and then selecting External Ethernet adapter in the adapter menu and clicking Ok.
Once done the server is created,So inorder to configure the device details for installing the OS click the Configure link in the menu of the home page and u'l find a sub menu with the list of servers created, Click the server recently created server name.Here in the page u'l find the details of the server. Now click Cd rom in the page
and here select the Image file of the OS for installation.So Once it is done,minimise the IE and click on the VM host icon on the desktop. here u'l see the servers on the VM. Click on the recently created server image, It'l start to boot and ask for normal installation of the OS. Just Install the OS and its done.. Hot to serve for the people.. Kewl Job Done on VM.

Kewl Experience on VM .. Learn more..