svc-rbac revision 06d0f3f39e2f7b67190578d7277d559c32191d6c
06d0f3f39e2f7b67190578d7277d559c32191d6cCasper H.S. Dik# CDDL HEADER START
06d0f3f39e2f7b67190578d7277d559c32191d6cCasper H.S. Dik# The contents of this file are subject to the terms of the
06d0f3f39e2f7b67190578d7277d559c32191d6cCasper H.S. Dik# Common Development and Distribution License (the "License").
06d0f3f39e2f7b67190578d7277d559c32191d6cCasper H.S. Dik# You may not use this file except in compliance with the License.
06d0f3f39e2f7b67190578d7277d559c32191d6cCasper H.S. Dik# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
06d0f3f39e2f7b67190578d7277d559c32191d6cCasper H.S. Dik# or http://www.opensolaris.org/os/licensing.
06d0f3f39e2f7b67190578d7277d559c32191d6cCasper H.S. Dik# See the License for the specific language governing permissions
06d0f3f39e2f7b67190578d7277d559c32191d6cCasper H.S. Dik# and limitations under the License.
06d0f3f39e2f7b67190578d7277d559c32191d6cCasper H.S. Dik# When distributing Covered Code, include this CDDL HEADER in each
06d0f3f39e2f7b67190578d7277d559c32191d6cCasper H.S. Dik# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
06d0f3f39e2f7b67190578d7277d559c32191d6cCasper H.S. Dik# If applicable, add the following below this CDDL HEADER, with the
06d0f3f39e2f7b67190578d7277d559c32191d6cCasper H.S. Dik# fields enclosed by brackets "[]" replaced with your own identifying
06d0f3f39e2f7b67190578d7277d559c32191d6cCasper H.S. Dik# information: Portions Copyright [yyyy] [name of copyright owner]
06d0f3f39e2f7b67190578d7277d559c32191d6cCasper H.S. Dik# CDDL HEADER END
06d0f3f39e2f7b67190578d7277d559c32191d6cCasper H.S. Dik# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
06d0f3f39e2f7b67190578d7277d559c32191d6cCasper H.S. Dik# Use is subject to license terms.
06d0f3f39e2f7b67190578d7277d559c32191d6cCasper H.S. Dikfiles='/etc/user_attr /etc/security/auth_attr /etc/security/exec_attr
06d0f3f39e2f7b67190578d7277d559c32191d6cCasper H.S. Dik echo "${irbac}: not found."
06d0f3f39e2f7b67190578d7277d559c32191d6cCasper H.S. Dik echo "Usage: $0 { start | refresh | stop }"
06d0f3f39e2f7b67190578d7277d559c32191d6cCasper H.S. Dik if [ ! -d ${d} ]
06d0f3f39e2f7b67190578d7277d559c32191d6cCasper H.S. Dik # No directory, nothing to do
06d0f3f39e2f7b67190578d7277d559c32191d6cCasper H.S. Dik # List all the files in the directory and the destination file
06d0f3f39e2f7b67190578d7277d559c32191d6cCasper H.S. Dik # in the order of their timestamp. Most recent files are
06d0f3f39e2f7b67190578d7277d559c32191d6cCasper H.S. Dik # displayed first. When we find the destination file, we're
06d0f3f39e2f7b67190578d7277d559c32191d6cCasper H.S. Dik # done as the rest of the files are older and they are already
06d0f3f39e2f7b67190578d7277d559c32191d6cCasper H.S. Dik # incorporated.