Tag Archives: solaris
Create a tar.gz File in a Single Command in Solaris
Solaris does not ship with the GNU tar and by default, the tar command in Solaris does not allow you to create gzip or bzip2 files, but only pure tarballs. You will need to create a tar file first and then compress the tarball with the gzip command.
Enable IP Routing On Solaris
IP routing or IP forwarding is the process of routing packets between the network interfaces on a system with routing capabilities. While routing is usually the job of a network router, a server running on any recent version of UNIX can perform this action as well.
How to Login to an Expired root Account in Solaris
If your organisation has password aging policy set for your UNIX servers, there is a possibility that the root account may also get locked out due to the existence of an expiry date set in the /etc/shadow file. Once the root account is locked, all jobs (cron, etc) that require root privileges may start to fail. To unlock the root account on a SUN SPARC machine, you will need to:
Switch Between 32-bit and 64-bit Kernel in Solaris
Solaris, by default, loads a 64-bit kernel during boot up, if the hardware supports it.
If, for whatever reason, you need to load Solaris in 32-bit mode, the following commands can be used to switch between the 32-bit and 64-bit kernels.