Tuesday, April 14, 2009

MAC adress using AIX command

To locate the MAC (Media Access Control) address (in the form ff:ff:ff:ff:ff:ff) using AIX use the command:

netstat -v |pg



Look for the section starting ETHERNET STATISTICS (interface) - underneath this will be the Hardware Address. This netstat command may return more than one entry - to identify the appropriate interface use the command:

netstat -i

This command will list the interface name, network, and address. The interface name should match the one presented above.

Friday, April 3, 2009

To run TADDM as a root user

you would need to check control script , there is something like:

# Do not allow this to run as root
#
uidNumber=`id |sed -e "s/^uid=//" -e "s/(.*//"`
if [ "$uidNumber" -eq "0" ]
then
show_msg control.E.3
exit 1
fi

comment these lines from conrol file under /etc/collation.properties