Sudo (super user do) command is a program for Unix / Linux Operating Systems that allows users to run programs with the security privileges of another user (can be the superuser i.e root or any other user in the system). The sudo utility allows users defined in the /etc/sudoers configuration file to have temporary access to run commands they would not normally note be able to. The commands can be run as user "root" or as any other user, as defined in the /etc/sudoers file. The privileged … [Read more...] about How to install and configure sudo in solaris 10 (SPARC and x86/x64)
Archives for December 2015
Solaris : How to scan new storage LUNs (scsi/iscsi/fc/sas)
Storage requirements for servers (and applications) is constantly changing. It becomes very important to be able to allocate or deallocate space without interruption to service. This document provides some approaches to discovering new storage, without performing a reconfiguration reboot. This applies to internal and external disk drives as well as virtual disks. Most of the times the disks are detected automatically without doing anything. The devfsadmd daemon will be running in the background … [Read more...] about Solaris : How to scan new storage LUNs (scsi/iscsi/fc/sas)
How to add and set new locale in solaris
A locale is a collection of files, data and sometimes code which contain the necessary information to adapt Solaris to a specific geographical market. A locale is essentially a "bundle", containing information such as: 1. the messages displayed to the user (localized messages) 2. codesets 3. date and time formatting conventions 4. monetary conventions decimal formatting conventions 5. collation (sort) order 6. fonts and/or other writing specific information. The default naming … [Read more...] about How to add and set new locale in solaris
How to determine link status (up/down) of network interfaces in Solaris
There are several different ways to check the link status(up/down) in solaris. Below are several methods, with examples, to check network link status of Ethernet interfaces in Solaris. Some of the methods like dladm were not available in solaris 8 and 9. In that case we can use kstat and ndd commands. 1. Checking /var/adm/messages file for errors Most of the times, link down messages are logged in the /var/adm/messages file. You just have to search through the file for the right error. Sep … [Read more...] about How to determine link status (up/down) of network interfaces in Solaris
RHEL 7 – RHCSA Notes – System documentation including man, info, and files in /usr/share/doc
RHEL 7 – RHCSA Notes (Cheat Sheets) Using man To find a command using a keyword : # man -k [keyword] When you know the exact command to be used, you can use the man page for that command as : # man [command] There are several sections within a man page. Most commonly used sections are listed below : Section Description 1 User Commands 4 Special files 5 system configuration files 8 system administration commands So to find configuration file … [Read more...] about RHEL 7 – RHCSA Notes – System documentation including man, info, and files in /usr/share/doc
RHEL 7 – RHCSA Notes – vi/vim editor
RHEL 7 – RHCSA Notes (Cheat Sheets) The vim editor Inserting text CommandAction iInsert text before current cursor position aAppend text after current cursor position AAppend text at the end of the current line oOpen new line below the current line OOpen new line above the current line Navigating in vi CommandAction left arrow / hmove left 1 character right arrow / lmore right 1 character up arrow / kmove up 1 line down arrow / jmove down 1 line $move to the end … [Read more...] about RHEL 7 – RHCSA Notes – vi/vim editor
RHEL 7 – RHCSA Notes (Cheat Sheets)
Red Hat Certified System Administrator better known as RHCSA exam is one of the well-known certification exam in Linux world. I've tried to write together notes that I used in my preparation of RHEL 7 RHCSA. Remember that, these are not explanatory notes, but a quick cheat sheet. The post includes links to all exam objectives for the RHCSA exam. Understand and use essential tools Access a shell prompt and issue commands with correct syntax. Use input-output redirection (>, >>, |, 2>, … [Read more...] about RHEL 7 – RHCSA Notes (Cheat Sheets)