In Oracle Solaris 11, /etc/nodename file is replaced with the config/nodename property of the svc:/system/identity:node service. So in order to change hostname in Solaris 11, we need to change the property to the new hostname and restart the service. Current hostname - geeklab New hostname - geekserver 1. To list the current hostname (i.e. config/nodename property) : # svccfg -s system/identity:node listprop config config application config/enable_mapping … [Read more...] about How to change hostname in Solaris 11
Archives for January 2014
There are 3 special permission that are available for executable files and directories. These are : 1. SUID permission 2. SGID permission 3. Sticky bit Set-user Identification (SUID) Have you ever thought, how a non-root user can change his own password when he does not have write permission to the /etc/shadow file. hmmm... interesting isn't it? Well to understand the trick check for the permission of /usr/bin/passwd command : # ls -lrt /usr/bin/passwd -r-sr-sr-x 1 root sys … [Read more...] about What is SUID, SGID and Sticky bit ?
How to change hostname in Solaris 11 There are basically 2 ways to change the hostname in Solaris 10 and below. The post describes both these methods and also how to change hostname or IP address in Non-Global zones. 1. Using the sys-unconfig Command sys-unconfig command restores the system's configuration to an "as-manufactured" state, ready to be reconfigured again. This includes IP address, hostname, Name resolution choice, Time zone etc. # sys-unconfig The system needs to reboot … [Read more...] about How to change hostname in Solaris 8, 9 and 10
The snoop command can come very handy to monitor the network traffic to troubleshoot any network related issues like packet drops, high network latency etc. Snoop command can be run to see the real time network traffic or can be saved to a file and can be viewed at a later time. Note : - If the system is "shared-IP zone", then you need to get snoop on the physical interface on the global zone. - If the system is "exclusive-IP zone", then you need to get snoop on the non-global zone. - If … [Read more...] about Solaris Snoop : 15 Awesome practical examples for packet sniffing
Sometimes it becomes too difficult to troubleshoot sendmail problems. Here are some of the most commonly faced sendmail issues. Sendmail Configuration files /etc/mail/sendmail.cfDefines environment for sendmail /etc/mail/submit.cfDefines environment for MSP (Mail submission program) Sendmail Daemons Solaris 9 uses 2 queue paradigm and thus there are 2 sendmail daemons /usr/lib/sendmail -Ac -q15m /usr/lib/sendmail -bd -q15m In Solaris 8 and below, there is 1 queue and 1 … [Read more...] about The ultimate Solaris sendmail troubleshooting guide
What's NFS Network File System (NFS) is a protocol which allows file systems on one system to be made available on a remote system on the network. NFS works on the server-client model with server sharing the resource and client mounting it. NFS versions The 3 major versions of NFS are : NFSv2 (very rarely used today. Allows maximum file size of 2GB) NFSv3 (used in solaris 8 and 9) NFSv4 (was introduced in solaris 10 ) All three versions utilizes a collection of RPC protocols and … [Read more...] about Solaris beginners guide to NFS