How to add a Static Route (persistent) in Sun Solaris

March 19, 2008 · Filed Under Networking, Solaris 10, Solaris 7, Solaris 8, Solaris 9 · 4 Comments 

To add a Static Route in Sun Solaris operating system, you can use the route command. This will dynamically update the Kernel IP Routing table. However, when a server is restarted, these routes will be lost. To prevent this from happening, add a startup script S76static-routes with all the route commands for the static route that needs to persist. This will ensure that the route gets added at boot time.

Read more

How to disable IP Forwarding in Sun Solaris

March 19, 2008 · Filed Under Solaris 10, Solaris 7, Solaris 8, Solaris 9, security · Comment 

IP packet forwarding is the process of routing packets between network interfaces on one system. A packet arriving on one network interface and addressed to a host on a different network is forwarded to the appropriate interface. While this is a job for the network router, Servers with multiple interfaces connected to different network can perform this action as well. This behaviour as a router is a default in Sun Solaris Operating Systems.

Read more

How to recover/reset root password in Sun solaris (SPARC)

January 21, 2008 · Filed Under General, Solaris 10, Solaris 7, Solaris 8, Solaris 9 · 2 Comments 

There is every little chance that one loses or rather forgets the root password of his Sun Solaris servers. In the event, this happens, there is a way out of it. Well the way and infact the only way is to reset the password as there is no way to recover it. Recovering/restting the password involves booting the server in Single User mode and mounting the root file system.

Read more

SSH access without password in Sun Solaris

January 11, 2008 · Filed Under SSH, Solaris 10, Solaris 7, Solaris 8, Solaris 9 · 1 Comment 

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.

Read more

Disable remote logging in Syslog daemon

January 10, 2008 · Filed Under Solaris 10, Solaris 7, Solaris 8, Solaris 9 · Comment 

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 Denial Of Service (DoS) attack on the server.

Read more