Friday, December 31, 2010

last day of 2010

Well its the last day of 2010 and i'm just reflecting on life i am thankful for getting to live to see another day and a another year come to a close. So many projects coming up in 2011 i cannot wait im so excited. spending more time with unix/linux learning some new stuff and really perfecting my craft. i'm even thinking about getting into some cisco as well. well really thats all i have to say right now. im off to get some wine for the new year.

Saturday, December 18, 2010

Solaris still rocks

I'm going to be truthful i was kinda worried about the future of Solaris when Oracle bought the company. now after reading through the results of the fiscal year 2011. Think that solaris still has a fighting chance. I love it IBM and HP can kick rocks lol :). After reading the following url:

http://www.theregister.co.uk/2010/12/17/oracle_q2_f2011_numbers/

Oracle Corporation (NASDAQ: ORCL) today announced both fiscal 2011 Q2 GAAP and non-GAAP total revenues were up 47% to $8.6 billion. Both GAAP and non-GAAP new software license revenues were up 21% to $2.0 billion. GAAP software license updates and product support revenues were up 12% to $3.6 billion, while non-GAAP software license updates and product support revenues were up 12% to $3.7 billion. Both GAAP and non-GAAP hardware systems products revenues were $1.1 billion. GAAP operating income was up 27% to $2.8 billion, and GAAP operating margin was 32%. Non- GAAP operating income was up 33% to $3.8 billion, and non-GAAP operating margin was 44%. GAAP net income was up 28% to $1.9 billion, while non-GAAP net income was up 34% to $2.6 billion. GAAP earnings per share were $0.37, up 27% compared to last year while non-GAAP earnings per share were up 33% to $0.51. GAAP operating cash flow on a trailing twelve-month basis was $9.1 billion.

How to Fix No hostname when using DHCP in Solaris

Good Morning all, sorry for the late blog you guys just been busy with life and other projects but since things are slowing down for me i just want to write a quick tutorial on how to make sure that your solaris box uses the hostname that you pick when running solaris as a dhcp client.

#######################
#Disclaimer #
#######################

This configuration was what i used to make dhcp client hostname work for me im not saying that this will definitly work for you b/c i dont know you setup so use this tutorial at your own risk :)


Ok with that out of the way lets begin.


If you are using DHCP to receive IP Address for your Sun Solaris system, you may end up with no hostname assigned to the system. This can be confirmed when there is no hostname at the prompt or if the output for the command “hostname” is as follows:

# hostname
unknown

or the /etc/hosts file has an entry as follows:

# cat /etc/hosts
#
# Internet host table
#
127.0.0.1 localhost
192.168.0.3 unknown # Added by DHCP


This happens when the DHCP server doesn’t provide a hostname for your server. Most of the DHCP Servers or routers acting as a DHCP Server doesn’t provide a hostname and Solaris DHCP agent relies on the DHCP server for its hostname.To fix this problem, edit the dhcpagent config and set it not to request a Hostname from the DHCP server and then add a hostname to the /etc/hosts & /etc/nodename file.



Edit DHCPAGENT config

[For Solaris 10, this is not required as setting the hostname in /etc/nodename overrides the hostname provided by the DHCP Server. Move onto the next step]

Edit the dhcpagent config file /etc/default/dhcpagent with your favorite editor

# vi /etc/default/dhcpagent

and look for

PARAM_REQUEST_LIST=1,3,6,12,15,28,43

and remove the Parameter “12″ from the above to look as follows:

PARAM_REQUEST_LIST=1,3,6,15,28,43

and save the file.

Now, add the hostname to the /etc/nodename & /etc/hosts as follows

# vi /etc/nodename

and add the hostname you want it to have (solarisserver for me)

# cat /etc/nodename
solarisserver

and edit the /etc/hosts file

# vi /etc/hosts

and add the line similar to the following

192.168.0.3 solarisserver loghost

Now,reboot the server and you should be all fine with hostname set for the system.

# init 6

Cracking Kerberos Service Tickets (TGS) Using Kerberoasting

As of late I've been spending a lot of time researching and learning different techniques when it comes to attacking Active Directory En...