Sun Solaris

Install nagios-plugins-nis-debugsource on openSUSE

This package provides debug sources for package nagios-plugins-nis. Debug sources are useful when developing applications that use this package or when debugging this package.

How to Configure interface automatically with DHCP in Solaris

Solaris can request IP address and other networking information dynamically with DHCP. To permanently make an interface, for example hme0, obtain its IP address through DHCP, use the touch command to create the following two empty files as root: touch /etc/dhcp.hme0 touch /etc/hostname.hme0 When you reboot, the interface will be dynamically configured. To bring up [...]

How to configure a Simple Solaris IP Multipathing

IP multipathing consists of grouping two identical network cards together and having a live IP address be able to automatically fail over from one card to the other with no loss or degredation of service. The steps to accomplish this are as follows: 1. Ensure that both cards are seen by the system and have [...]

How to Create LACP aggregates in Solaris 10

Link Aggregation Control Protocol (LACP) allows multiple network interfaces to work together to increase bandwidth and redundancy. LACP is simlar to IPMP (IP Multipathing) however IPMP is wasteful with IP addresses and can cause problems with ssh remote execution. Whereas LACP only requires one IP address, you need to ensure that your switches support LACP. [...]

How to Find Chasis Serial Number using sneep in Sun Solaris

sneep (Serial Number in EEPROM) is a cool utility for Solaris that can retreive the Chasis Serial Number (CSN) or the Product Serial Number (PSN). This comes real handy when taking inventory or when having to work with Sun Support. sneep can also store useful information like system Assett Tag or Location into the EEPROM [...]

How to Disable remote logging in Syslog daemon

Syslog daemon in Solaris by default is enabled for remote logging and will listen on UDP port 514 for syslog messages from remote systems. Unless, the server is acting as a remote logging server, this can be a Security issue as a malicious user can launch a DenialOf Service (DoS) attack on the server. To [...]

How to access SSH without password in Sun Solaris

A Trust relationship can be established for users on multiple servers running OpenSSH to allow a password free ssh session. This is sometime important when you want to run scripts or commands remotely. Most part of this article is common for most if not all of the UNIX/LINUX flavors except the following which steps to [...]

How to Install and configure OpenSSH in Sun Solaris 9 (x86)

OpenSSH is a free opensource version of the SSH connectivity tools. OpenSSH encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other attacks unlike Telnet,rlogin or ftp where the data is not encrypted and transmitted in plain text. Additionally, OpenSSH provides secure tunneling capabilities and several authentication methods, and supports all SSH [...]

How to Disable ICMP Redirect in Sun Solaris for Security

Solaris Operating Environment by default is configured to both accept and send the ICMP Redirect messages. According to RFCs, only a router or a gateway device should send an ICMP Redirect message and any other hosts should only be able to receive the ICMP Redirects. If the Solaris server is not acting as a Router [...]

How to disable IP Forwarding in Sun Solaris

If your Sun Solaris server has multiple interfaces and is not intended to route packets between the networks it is connected to, then it is advisable to disable this option. This can be a potential target for a malicious hacker as this can potentially allow the hacker access to the network at the other side. [...]

How to Flush DNS Cache in Sun Solaris

It may be sometime required to flush your DNS Cache mostly when trying to troubleshoot a problem with your name service or when there was an invalid DNS entry after a server outage. The possible solution to clear these cached invalid entries or to wait till the record expires based on its TTL (Time To [...]

How to recover/reset root password in Sun solaris

It is recommeded that the security for the physical access to the server is restricted so as to ensure that there is no unauthorized access and anyone who follows this routine is an authorized personnel. Boot the server with a Sun Solaris Operating System CD (I’m using a Solaris 10 CD but doesn’t matter really) [...]

How to Take Screenshots in Solaris

Sun Solaris X utilities uses “xwd“, an application that is standard among the X utilities can be used to take screenshots. xwd dumps the output of a window into a file that can be viewed with xwud, or converted with convert (part of ImageMagick package), xv or another tool to a more usable image type, [...]

Steps to mount an ISO image in SUN Solaris

In Sun Solaris, we can use the Loopback File driver to mount an ISO image without having to write the ISO image onto a CD or DVD. Following procedure should help you mount an ISO image in Sun Solaris Attach a Block Device sunsolaris# lofiadm -a /export/software/iso_image.iso /dev/lofi/1 Mount the ISO Image block device sunsolaris# [...]

How to find number of Physical & Virtual Processors in Solaris 10

In Solaris 10, if you want to find the processor type and the number of physical processors installed on the system and the number of Virtual Processors available on the system then the psrinfo command does job for you. To simply display the number of Physical processors, simply run the command with the -p option [...]