#!/bin/sh # # $Id: r.rbac 551 2013-04-12 22:28:02Z elkner $ # # CDDL HEADER START # # The contents of this file are subject to the terms of the # Common Development and Distribution License (the "License"). # You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. # See the License for the specific language governing permissions # and limitations under the License. # # When distributing Covered Code, include this CDDL HEADER in each # file and include the License file at usr/src/OPENSOLARIS.LICENSE. # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [yyyy] [name of copyright owner] # # CDDL HEADER END # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Portions Copyright 2013 Jens Elkner # # # class action script for "rbac" class files # installed by pkgadd # # Files in "rbac" class: # # /etc/security/{prof_attr,exec_attr,auth_attr} # /etc/user_attr # # Allowable exit codes # # 0 - success # 2 - warning or possible error condition. Installation continues. A warning # message is displayed at the time of completion. # # This script does nothing because it is not safe to unmerge the entries # i.rbac installed. However, it must exist, otherwise pkgrm would just remove # the corresponding rbac file, which would screw up the system as well. exit 0