Have you ever had the following error popup on your /var/adm/messages: Oct 8 12:26:14 myserver sshd: [ID 800047 auth.error] error: Could not get shadow information for NOUSER It would look like a security incident with the “nouser” system account but not so to be. The error gets written to /var/adm/messages when a user tries to […]
Installing Perl modules in Sun Solaris is not as straight forward but is not very difficult as well. Perl module installations in Sun Solaris needs GNU Make rather than the default make tool installed. And, requires using perlgcc to build the Makefile.PL than the default perl binary.
If you have a file and need to know the package that installed the file on the system then the following procedure using “pkgchk” should help.
“pkginfo” command can be useful in Solaris to give a detailed listing of a package including the details of number of installed files, pathnames, directories and executables as follows:
When you run any boot command like “boot net” or “boot -s” from the OK prompt (OBP), you may end up with the error FATAL: system is not bootable, boot command is disabled Don’t panic!!!
When you sometimes copy a file from Windows to UNIX/Solaris or even Linux systems, you can find these anooying ^M characters everywhere. This is because, the file from Windows is in DOS (ASCII) format and needs to be converted to ISO format.
In the past we have to mess around with the NDD commands and stats tools like kstat to find the network link status, speed, duplex information in Sun Solaris. With Solaris 10, this has become much easier with the dladm utility. dladm is the admin utility for Data-Link Interface which helps to display informarthe like
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
PCP is a very useful security and adminitration script that can help you quickly find Processes (PIDs) having particular TCP Port(s) open, TCP ports open by specific PIDs or even list all the TCP Ports open by all PIDs running on your system.
World Wide Name (WWN) are unique 8 byte (64-bit) identifiers in SCSI or fibre channel similar to that of MAC Addresses on a Network Interface Card (NIC). Talking about the WWN names, there are also World Wide port Name (WWpN), a WWN assigned to a port on a Fabric which is what you would be