summaryrefslogtreecommitdiff
path: root/usr/src/lib/libsecdb
diff options
context:
space:
mode:
authorDavid Powell <David.Powell@sun.com>2008-09-29 03:46:02 -0700
committerDavid Powell <David.Powell@sun.com>2008-09-29 03:46:02 -0700
commitdfac3eb25a53097b94643fa6f32bb2fc1107df0c (patch)
tree71472f2c5f58bd34ffd7a7f581d6258e3478af4a /usr/src/lib/libsecdb
parent23b4d00c19075d9d50f296d4437a3f48579b483d (diff)
downloadillumos-joyent-dfac3eb25a53097b94643fa6f32bb2fc1107df0c.tar.gz
6751138 libc's lint library is missing definition for __assert_c99
6751161 PSARC 2008/551 coreadm configuration refinements
Diffstat (limited to 'usr/src/lib/libsecdb')
-rw-r--r--usr/src/lib/libsecdb/auth_attr.txt2
-rw-r--r--usr/src/lib/libsecdb/exec_attr.txt3
-rw-r--r--usr/src/lib/libsecdb/help/auths/Makefile2
-rw-r--r--usr/src/lib/libsecdb/help/auths/SmfCoreadmStates.html37
-rw-r--r--usr/src/lib/libsecdb/help/auths/SmfValueCoreadm.html37
-rw-r--r--usr/src/lib/libsecdb/prof_attr.txt2
6 files changed, 80 insertions, 3 deletions
diff --git a/usr/src/lib/libsecdb/auth_attr.txt b/usr/src/lib/libsecdb/auth_attr.txt
index 42ec91a1b1..36e39c55fa 100644
--- a/usr/src/lib/libsecdb/auth_attr.txt
+++ b/usr/src/lib/libsecdb/auth_attr.txt
@@ -116,6 +116,7 @@ solaris.smf.modify.framework:::Modify Framework Type Properties::help=SmfModifyF
solaris.smf.manage.:::Manage All SMF Service States::help=SmfManageHeader.html
solaris.smf.manage.autofs:::Manage Automount Service States::help=SmfAutofsStates.html
solaris.smf.manage.bind:::Manage DNS Service States::help=BindStates.html
+solaris.smf.manage.coreadm:::Manage Coreadm Service States::help=SmfCoreadmStates.html
solaris.smf.manage.cron:::Manage Cron Service States::help=SmfCronStates.html
solaris.smf.manage.discovery.printers.snmp:::Manage Network Attached Device Discovery Service States::help=SmfNADDStates.html
solaris.smf.manage.extended-accounting.flow:::Manage Flow Extended Accounting Service States::help=SmfExAcctFlowStates.html
@@ -145,6 +146,7 @@ solaris.smf.manage.vt:::Manage Virtual Console Service States::help=SmfVtStates.
solaris.smf.manage.wpa:::Manage WPA Service States::help=SmfWpaStates.html
solaris.smf.manage.ndmp:::Manage NDMP Service States::help=SmfNDMPStates.html
solaris.smf.value.:::Change Values of SMF Service Properties::help=SmfValueHeader.html
+solaris.smf.value.coreadm:::Change Values of SMF Coreadm Properties::help=SmfValueCoreadm.html
solaris.smf.value.discovery.printers.snmp:::Manage Network Attached Device Discovery Service Properties::help=SmfValueNADD.html
solaris.smf.value.extended-accounting.flow:::Change Values of Flow Extended Accounting Service Properties::help=SmfValueExAcctFlow.html
solaris.smf.value.extended-accounting.process:::Change Values of Process Extended Accounting Service Properties::help=SmfValueExAcctProcess.html
diff --git a/usr/src/lib/libsecdb/exec_attr.txt b/usr/src/lib/libsecdb/exec_attr.txt
index a41c0ace1c..fbe2e93f75 100644
--- a/usr/src/lib/libsecdb/exec_attr.txt
+++ b/usr/src/lib/libsecdb/exec_attr.txt
@@ -130,8 +130,7 @@ Mail Management:suser:cmd:::/usr/sbin/makemap:euid=0
Mail Management:suser:cmd:::/usr/sbin/newaliases:euid=0
Maintenance and Repair:solaris:cmd:::/usr/bin/mdb:privs=all
Maintenance and Repair:suser:cmd:::/usr/bin/mdb:euid=0
-Maintenance and Repair:solaris:cmd:::/usr/bin/coreadm:euid=0;\
- privs=sys_config,proc_owner
+Maintenance and Repair:solaris:cmd:::/usr/bin/coreadm:euid=0;privs=proc_owner
Maintenance and Repair:suser:cmd:::/usr/bin/date:euid=0
Maintenance and Repair:suser:cmd:::/usr/bin/ldd:euid=0
Maintenance and Repair:suser:cmd:::/usr/bin/vmstat:euid=0
diff --git a/usr/src/lib/libsecdb/help/auths/Makefile b/usr/src/lib/libsecdb/help/auths/Makefile
index af16336769..2b73d4216f 100644
--- a/usr/src/lib/libsecdb/help/auths/Makefile
+++ b/usr/src/lib/libsecdb/help/auths/Makefile
@@ -65,6 +65,7 @@ HTMLENTS = \
DhcpmgrWrite.html \
BindStates.html \
SmfAutofsStates.html \
+ SmfCoreadmStates.html \
SmfCronStates.html \
SmfExAcctFlowStates.html \
SmfExAcctProcessStates.html \
@@ -88,6 +89,7 @@ HTMLENTS = \
SmfSendmailStates.html \
SmfSshStates.html \
SmfSyslogStates.html \
+ SmfValueCoreadm.html \
SmfValueExAcctFlow.html \
SmfValueExAcctProcess.html \
SmfValueExAcctTask.html \
diff --git a/usr/src/lib/libsecdb/help/auths/SmfCoreadmStates.html b/usr/src/lib/libsecdb/help/auths/SmfCoreadmStates.html
new file mode 100644
index 0000000000..86c2985f70
--- /dev/null
+++ b/usr/src/lib/libsecdb/help/auths/SmfCoreadmStates.html
@@ -0,0 +1,37 @@
+<HTML>
+<!--
+ 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 2008 Sun Microsystems, Inc. All rights reserved.
+Use is subject to license terms.
+-->
+<!--
+ <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
+-->
+<BODY>
+When Manage Coreadm Service States is in the Authorizations Included
+column, it grants the authorization to enable, disable, or restart the
+coreadm service.
+<p>
+If Manage Coreadm Service States is grayed, then you are not entitled to
+Add or Remove this authorization.
+<BR>&nbsp;
+</BODY>
+</HTML>
diff --git a/usr/src/lib/libsecdb/help/auths/SmfValueCoreadm.html b/usr/src/lib/libsecdb/help/auths/SmfValueCoreadm.html
new file mode 100644
index 0000000000..2f75b95f8d
--- /dev/null
+++ b/usr/src/lib/libsecdb/help/auths/SmfValueCoreadm.html
@@ -0,0 +1,37 @@
+<HTML>
+<!--
+ 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 2008 Sun Microsystems, Inc. All rights reserved.
+Use is subject to license terms.
+-->
+<!--
+ <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
+-->
+<BODY>
+When Change Values of SMF Coreadm Properties is in the Authorizations Include
+column, it grants the the authorization to change coreadm service property
+values.
+<P>
+If Change Values of SMF Coreadm Properties is grayed, then you are not
+entitled to Add or Remove this authorization.
+<BR>&nbsp;
+</BODY>
+</HTML>
diff --git a/usr/src/lib/libsecdb/prof_attr.txt b/usr/src/lib/libsecdb/prof_attr.txt
index 2fb7504a67..f3d16f89fa 100644
--- a/usr/src/lib/libsecdb/prof_attr.txt
+++ b/usr/src/lib/libsecdb/prof_attr.txt
@@ -51,7 +51,7 @@ Idmap Name Mapping Management:::Manage Name-based Mapping Rules of Identity Mapp
Idmap Service Management:::Manage Identity Mapping Service:auths=solaris.smf.manage.idmap,solaris.smf.value.idmap;help=RtIdmapMngmnt.html
Inetd Management:::Manage inetd configuration parameters:auths=solaris.smf.manage.inetd,solaris.smf.value.inetd;help=RtInetdMngmnt.html
Mail Management:::Manage sendmail & queues:auths=solaris.smf.manage.sendmail;help=RtMailMngmnt.html
-Maintenance and Repair:::Maintain and repair a system:auths=solaris.smf.manage.system-log,solaris.label.range;help=RtMaintAndRepair.html
+Maintenance and Repair:::Maintain and repair a system:auths=solaris.smf.manage.system-log,solaris.label.range,solaris.smf.manage.coreadm,solaris.smf.value.coreadm;help=RtMaintAndRepair.html
Media Backup:::Backup files and file systems:profiles=NDMP Management;help=RtMediaBkup.html
Media Restore:::Restore files and file systems from backups:profiles=NDMP Management;help=RtMediaRestore.html
MMS Administrator:::MMS Media Manager Administrator:auths=solaris.smf.manage.mms,solaris.smf.modify.mms,solaris.smf.value.mms,solaris.mms.*