Login with Facebook
Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Thursday, May 17, 2012

Enable root access to SSH sessions in Solaris

When  Solaris 10 or 11 is installed, by default root can not login from remote machine but normal users can login and can choose to switch to admin using su or sudo.

Root users remote access is disabled on the SSH daemon SSHD level, so simple modify sshd_config file located in /etc/ssh/sshd_config

Locate a line with PermitRootLogin no and replace it with  PermitRootLogin yes

Then restart SSHD by the command below

#svcadm restart svc:/network/ssh:default

Now: you can access Solaris system with root account remotely

Wednesday, May 5, 2010

VERITAS Cluster Service Quick reference

This quick reference give you a quick view about the commands that you can use to deal with Veritas Cluster Service using different commands like hagrp, hares, haagent and hauser

Basic VCS Commands
SERVICE GROUPS AND RESOURCE OPERATIONS
BASIC CONFIGURATION OPERATIONS
STATUS AND VERIFICATION
COMMUNICATION
ADMINISTERATION

http://eval.veritas.com/downloads/van/vcs_quickref.pdf

Saturday, January 3, 2009

Installing SNMP Agent on Linux RedHad EL 4.7

locate the RPM in the installation DVD then go directory /media/cdrom/redhat/rpms

locate the files then execute them by double click or by running command like rpm –i packename

1-package net-snmp-5;1;2;13.el4.i386.rpm needed to install the SNMP agent.

2-package net-snmp-utils-5;1;2;13.el4.i386.rpm needed to installing the Tools like snmpget or snmpwalk.

so you can run command like snmpwalk

snmpwalk –v 1 –community public localhost

To configuring snmp agent settings like community and ACLs edit

/etc/snmp/snmpd.conf file