Solaris Kernel Patching Recommended Patch

Check out this article about Solaris Kernel Patching Recommended Patch. Please tell me what you think about it. You can contact me anytime!

Here’s another Kernel patching of Solaris. I know there are tons of this type of post in the internet but another reference for the one who needs it, is I guess ok.

To be honest, this is the steps that really made me understood the steps and procedure and the concept behind the 10_Recommended patch for solaris kernel.

Continue reading »

KSH Script Basics | Special Shell Variables

Check out this article about KSH Script Basics | Special Shell Variables. Please tell me what you think about it. You can contact me anytime!

Just deleted tons of stale, unsused user accounts. Here are some KSH shell basics and special shell variable. I need to Google them up myself to get reminded that ‘$?’ is the output variable for script execution. That is, it’s 0 for successful execution and 1 if there is any error.

Continue reading »

Looking for SAE j1708?

Check out this article about Looking for SAE j1708?. Please tell me what you think about it. You can contact me anytime!

J1708 or by it’s complete name SAE J1708, is a standard used for serial communications between ECUs on a heavy duty vehicle and also between a computer and the vehicle.

If you’re familiar with data communication or networking, the SAE J1708 is categorized in the Physical layer of the Open System Interconnection model (OSI).

Common higher layer protocols that operate on top of J1708 are SAE J1587 and SAE J1922.

This post is under ‘gadget’ since I was looking for a way to interconnect my GPS device to my car a few months back.

The standard defines a 2-wire 18 gauge wire cable that can run up to 130 feet (40 m) and operates at 9600 bit/s. A message is composed of up to 21 characters, unless the engine is stopped and the vehicle is not moving in which case transmitters are allowed to exceed the 21 byte max message length. Messages start with a Message ID (MID) character and finish with a checksum at the end. Characters are transmitted in the common 8N1 format.

SSH Tectia: Setup Public-Key Authentication

Check out this article about SSH Tectia: Setup Public-Key Authentication. Please tell me what you think about it. You can contact me anytime!

A quick post on how to setup a public-key authentication on an SSH client server, product by SSH Tectia.

Summary: User instruction on how to setup public-key authentication.

In setting up the ssh public-key authentication between servers, local and remote, we have to generate the key pairs and transfer it to the remote/server.

Client Side

The publickey authentication method is enabled by the SSHtectia package by default. A functional ID’s key pair can be generated using the ‘generate_keys’ script (may be located in /export/opt/SSHtectia//util/ or depending on your installation). That script, ‘generate_keys’, is use to generate user key pairs: id_dsa_2048_a and id_dsa_2048_a.pub (default names) in the centralized key location:

/etc/opt/SSHtectia/keys/

The script also creates an ‘identification’ file in /etc/opt/SSHtectial/keys/ that contains the name of the private keys:

# more identification
# SSH Tectia private key
IdKey /etc/opt/SSHtectia/keys/%U/id_dsa_2048_a

# OpenSSH private key
IdKey /etc/opt/SSHtectia/keys/%U/id_dsa

Don’t forget to substitute the private key filename for ‘id_dsa_2048_a’ or ‘id_dsa’ if you are using a different naming convention. If several key pairs are used, list private keys on a separate lines.

Server Side

The publickey authentication method is enabled for functional IDs ONLY by the SSHtectia package (how do we know if an account is such?).

Copy the public key file (i.e. id_dsa_2048_a.pub) to the server, to the centralized key location. You can use sftp, copy paste or any other method to do this.

Also copy the ‘authorization’ file (created by the ‘generate_keys’ script) from the cliet to the server’s centralized key location.

Test the connection.. it should work.. It worked on mine.

Cannot find required executable /usr/bin/7za

Check out this article about Cannot find required executable /usr/bin/7za. Please tell me what you think about it. You can contact me anytime!

The complete error actually is:

Cannot find required executable /usr/bin/7za
pkgadd: ERROR: class action script din not complete successfully

That was the error message displaced when I tried installing two Sun packages as requested by a user, SUNWeu8os and SUNWeulof.

Packages can be found in tge Solaris 10 disk release 5/08. When i tried installing the package I got the error above.

There are two ways you can get that binary and one of them is by using the installation disk of Solaris 10 5/08.

Another one is by installing patch 137321-01 for sparc and 137322-01 for x86

Welcome to Freindster | Freindster.com

Check out this article about Welcome to Freindster | Freindster.com. Please tell me what you think about it. You can contact me anytime!


Freindster* is one of the most popular global social network in the internet today. Just like any other social networking site, Freindster is all about connecting to people and making friends. Search for old friends and classmates, stay in better touch with friends, share photos and videos, and so much more!

*Misspelling of Friendster was intended.

Continue reading »

iPad Spoof

Check out this article about iPad Spoof. Please tell me what you think about it. You can contact me anytime!

Apple had open their system for pre-order of their much awaited iPad. April 3 is the start of shipping of the iPad.

It feels like everyone is very much looking forward for this neat device. Although the device is getting tons of positive buzz, there will always be some flaws on that ‘perfect product’.

Check out this spoof video, an ipad parody of the missing features of the IpAd such as a built-in camera, printing support, voice and others.

Funny.

Continue reading »

getfacl and setfacl – Unix Access Control (acl) Tool

Check out this article about getfacl and setfacl – Unix Access Control (acl) Tool. Please tell me what you think about it. You can contact me anytime!

Today’s topic is all about Access List… For Unix and Unix-like system, the usual command to set the file permission is the ‘chmod’ command. However there are instances that we need more flexibility in giving access and control for files and folders. Get it? Access and Control? In this situation, there is a file utility built in Unix called ‘getfacl‘ and ‘setfacl‘.


getfacl
is a file utility for viewing the access control list information associated with a file or directory.

For a memory aid, you can think of ‘getfacl’ as “Get File ACL“.. ACL being Access Control List.

Access control lists are extended attributes added to most major file systems in the 2.6 kernel to improve ability to control the access of files. They allow permissions to be set for individual groups and users and not just the owning user, owning group, and all other users.

setfacl is a command that allows you to set the Access Control List information for a file or directory.

Access control lists are extended attributes added to most major file systems in the 2.6 kernel to improve ability to control the access of files. They allow permissions to be set for individual groups and users and not just the owning user, owning group, and all other users.

You can read man pages for both getfacl and setfacl for more information.

getfacl and setfacl example….

Here’s an example of using the basic funtion of getfacl and setfacl

# getfacl

#setfacl

setfacl -m default:user::rwx,default:group::r-x,default:other:r-x,default:mask:rwx /u06/OneSource/datapump_dbdump

setfacl -m default:user:rcodapp1:r-x,default:group:r-x,default:other:—,default:mas:rwx /u06/OneSouce/datapump_dbdump

ZFS Cheat Sheet Including Zpool, Quotas and Reservations

Check out this article about ZFS Cheat Sheet Including Zpool, Quotas and Reservations. Please tell me what you think about it. You can contact me anytime!

Sorry for the long title post. I just want to easily distinguish this post from my other ZFS post. The reason? For this week, I’ll be working on a server with ZFS filesystem and looks like the SAs for the servers is not yet familiar with the filesystem. I am the newest member of the UNIX team and there’s this request to grow a filesystem that is directly mounted from a disk slice.. Told the guy that we may need to modify the disk geometry and we may have to repartition the disk.. Then I noticed that there is a 140G disk under ZFS partition. I will convince the user to use that spare disk for his project.

And here are the cheat sheet for ZFS/zpool that is related to this week’s project.

Continue reading »

Limesurvey PHPSurveyor

Check out this article about Limesurvey PHPSurveyor. Please tell me what you think about it. You can contact me anytime!

LimeSurvey (formerly PHPSurveyor) is a Webapplication that interacts with MySQL, MSSQL, orPostgres to develop surveys, publish surveys, andcollect responses to surveys.

Once a survey has been created, data can be inserted into the survey either by a “pretty” public screen which presents each question one at a time, or by a quick and nasty data entry screen. It includes the capacity to generate individualized “tokens”, so that invitation can be issued to participants. It also has the capacity to set conditions on whether questions will display (branching), numerous question types, and a basic statistics function. Changes: A Malay translation was added, several minor bugs were fixed, and translations were updated.