Showing posts with label Zones. Show all posts
Showing posts with label Zones. Show all posts

Sunday, January 26, 2014

Deleting a Non-Global Zone From the System

The procedure described in this section completely deletes a zone from a system.

How to Remove a Non-Global Zone

1) Shut down the zone  agni  using one of the following methods. The zoneadm shutdown method is preferred.

global# zoneadm -z agni shutdown
agni

Using zlogin:

global# zlogin agni shutdown
agni

2) Remove the root file system for agni.

global# zoneadm -z agni uninstall -F

The -F option to force the action

3) Delete the configuration for agni.

global# zonecfg -z agni delete -F

The -F option to force the action

4) List the zones on the system, to verify that my-zone is no longer listed.

global# zoneadm list -iv

You will see a display that is similar to the following:

ID  NAME     STATUS       PATH                           BRAND      IP
 0  global   running      /                              solaris    shared

Regards
Gurudatta  N.R

Monday, January 13, 2014

How to control the root access to the system.


You can control root access to the system by setting parameters in the /etc/default/login file. The /etc/default/login file establish default parameters for users when they log in to the system.

One of the parameters you can set is CONSOLE variable. There are three possible states that restrict access to the root account:

If CONSOLE variable is commented out ( #CONSOLE=/dev/console ), the root user can log in to the system from any workstation. In other words, root access to the system is unlimited.
If CONSOLE variable is not commented ( CONSOLE=/dev/console ), the root user can log in only localy on the system console. No remote access is possible.
If CONSOLE variable does not have any value assign to it ( CONSOLE= ), then the root user cannot log in from anywhere. The only possibility how to become root user is to switch from regular user account by using su command.

Source : Net

Sunday, December 29, 2013

Unable to create file-system, Newfs is throwing error in solaris 10

Ensure file "/etc/security/exec_attr" contains line:
All:suser:cmd:::*:

Ensure file "/etc/security/prof_attr" contains line:
All:::Execute any command as the user or role:help=RtAll.html

Ensure file "/etc/user_attr" contains line:
root::::auths=solaris.*,solaris.grant;profiles=Web Console Management,All;lock_after_retries=no;min_label=admin_low;clearance=admin_high

It is due to insufficient attributes in the exec_attr(4) database

Regards
Gurudatta N.R