7 More Discussions You Might Find Interesting
1. Solaris
Hi,
I'm new to Solaris. I have an issue with ssh service. When I restart the service it exits with an exit status of 0
$svcadm restart svc:/network/ssh:default
$echo $?
0
$
However, the service goes into maintenance mode after restart. I'm able to connect even though the service is in... (3 Replies)
Discussion started by: maverick_here
3 Replies
2. Shell Programming and Scripting
Hello everyone!
I am new here and by new i don't mean only in this place, but in this shell scripting area. I started learning about Operation Systems only 2 months ago.
I want to learn more but i found a problem which I don't really know how to solve. :confused:
I have a directory with 4... (2 Replies)
Discussion started by: Stripes07
2 Replies
3. Infrastructure Monitoring
on my sol10x86 10/08 box, i needed to remove the native snmp agent (sma) for net-snmp-5.4.2.1. once net-snmp was configured and installed, i reconfigured the appropriate files of smf and attempted to restart. service was put into maintenance mode:
... (1 Reply)
Discussion started by: pupp
1 Replies
4. Red Hat
Hi,
Can you please clear me the difference between restarting the daemon and the service. To be more clear,
/etc/init.d/mysqld restart
and
/etc/init.d/mysqld restart
What is the difference on this both two?..... (4 Replies)
Discussion started by: gsiva
4 Replies
5. UNIX for Dummies Questions & Answers
Hi,
Im wondering, if I do a restart of my lpd service, will it clear the print queue? Or will the file in queue will still be there after the restart?
Thank you (1 Reply)
Discussion started by: Nayas
1 Replies
6. UNIX for Dummies Questions & Answers
Write a nawk script that will produce the following report:
***FIRST QUARTERLY REPORT***
***CAMPAIGN 2004 CONTRIBUTIONS***
-------------------------------------------------------------------------
NAME PHONE Jan | ... (5 Replies)
Discussion started by: p.palakj.shah
5 Replies
7. Shell Programming and Scripting
I want to pass arguments to a sh program and I want to use these arguments in the program as variables?
Will I use argc and argv in a main function can anyone around me write the full code please
for example when I write in th command
sh myprogram.sh argument1 argument2
I want to use... (1 Reply)
Discussion started by: walnut
1 Replies
smf_security(5) Standards, Environments, and Macros smf_security(5)
NAME
smf_security - service management facility security behavior
DESCRIPTION
The configuration subsystem for the service management facility, smf(5), requires privilege to modify the configuration of a service. Priv-
ileges are granted to a user by associating the authorizations described below to the user through user_attr(4) and prof_attr(4). See
rbac(5).
The following authorization is used to manipulate services and service instances.
solaris.smf.modify Authorized to add, delete, or modify services, service instances, or their properties.
Property Group Authorizations
The smf(5) configuration subsystem associates properties with each service and service instance. Related properties are grouped. Groups may
represent an execution method, credential information, application data, or restarter state. The ability to create or modify property
groups can cause smf(5) components to perform actions that may require operating system privilege. Accordingly, the framework requires
appropriate authorization to manipulate property groups.
Each property group has a type corresponding to its purpose. The core property group types are method, dependency, application, and frame-
work. Additional property group types can be introduced, provided they conform to the extended naming convention in smf(5). The following
basic authorizations, however, apply only to the core property group types:
solaris.smf.modify.method
Authorized to change values or create, delete, or modify a property group of type method.
solaris.smf.modify.dependency
Authorized to change values or create, delete, or modify a property group of type dependency.
solaris.smf.modify.application
Authorized to change values or create, delete, or modify a property group of type application.
solaris.smf.modify.framework
Authorized to change values or create, delete, or modify a property group of type framework.
solaris.smf.modify
Authorized to add, delete, or modify services, service instances, or their properties.
Property group-specific authorization can be specified by properties contained in the property group.
modify_authorization Authorizations allow the addition, deletion, or modification of properties within the property group.
value_authorization Authorizations allow changing the values of any property of the property group except modify_authorization.
The above authorization properties are only used if they have type astring. If an instance property group does not have one of the proper-
ties, but the instance's service has a property group of the same name with the property, its values are used.
Service Action Authorization
Certain actions on service instances may result in service interruption or deactivation. These actions require an authorization to ensure
that any denial of service is a deliberate administrative action. Such actions include a request for execution of the refresh or restart
methods, or placement of a service instance in the maintenance or other non-operational state. The following authorization allows such
actions to be requested:
solaris.smf.manage Authorized to request restart, refresh, or other state modification of any service instance.
In addition, the general/action_authorization property can specify additional authorizations that permit service actions to be requested
for that service instance. The solaris.smf.manage authorization is required to modify this property.
Defined Rights Profiles
Two rights profiles are included that offer grouped authorizations for manipulating typical smf(5) operations.
Service Management
A service manager can manipulate any service in the repository in any way. It corresponds to the solaris.smf.manage and
solaris.smf.modify authorizations.
The service management profile is the minimum required to use the pkgadd(1M) or pkgrm(1M) commands to add or remove software packages
that contain an inventory of services in its service manifest.
Service Operator
A service operator has the ability to enable or disable any service instance on the system, as well as request that its restart or
refresh method be executed. It corresponds to the solaris.smf.manage and solaris.smf.modify.framework authorizations.
Sites can define additional rights profiles customized to their needs.
Remote Repository Modification
Remote repository servers may deny modification attempts due to additional privilege checks. See NOTES.
SEE ALSO
auths(1), profiles(1), pkgadd(1M), pkgrm(1M), prof_attr(4), user_attr(4), rbac(5), smf(5)
NOTES
The present version of smf(5) does not support remote repositories.
SunOS 5.10 2 Dec 04 smf_security(5)