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 [...]
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 [...]
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 [...]
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. [...]
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 [...]
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) [...]
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, [...]
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# [...]
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 [...]
The Default Gateway or the Default Router is the IP address (IPv4) to which all the traffic to any target destination(s) which does not have a route in the Routing Table of the server will be forwarded. This Default Gateway is maintained in the file /etc/defaultrouter [IPv4 only] This IP Address should be in the [...]
The default time for which a dynamically learnt Route entry in the routing table is 20mins (1200000ms) To Display current Route holding time To display the current time interval to hold a route entry In Solaris 8/9/10 sunsolaris# ndd -get /dev/ip ip_ire_arp_interval 1200000 In earlier versions to Solaris 8 sunsolaris# ndd -get /dev/ip ip_ire_flush_interval To [...]
Setting up a Sun Solaris Server to receive its IP address from a DHCP Server is fairly straight forward and is infact just a matter of setting up files on your Solaris Server. Ensure that every interface that is up and connects to a network has a file /etc/hostname.interface file created say /etc/hostname.pcn0 where pcn0 [...]
E-Mail delivery can be invoked by issuing the command “sendmail -q”. For those who are interested in what sendmail actually does, “sendmail -q -v” will give a more verbose version of the delivery process.
It is very convenient to automate the process of e-mail delivery. A tool commonly used for this process is cron.
Another interface monitoring tool that logs and keeps track of past traffic usage and statistics is VnStat.Â VnStat is a console-based long-term traffic monitoring utility that makes use monitors traffic usage and details and stores them into flat database for future comparison and statistical purpose. VnStat does not require root access and privilege to do [...]