Solved

what is suser/solaris in exec_attr ??

Posted on 2009-05-07
2
638 Views
Last Modified: 2013-12-27
What we need to use in /etc/security/exec_attr file to assign a command to a profile, in second column do I need to use 'suser' or 'solaris'? Thanks!
0
Comment
Question by:beer9
2 Comments
 
LVL 22

Accepted Solution

by:
blu earned 250 total points
Comment Utility
It depends. Here is what the man page says:

        Policies  that  are
         specific to the current release of Solaris or that  con-
         tain  privileges  should  use solaris. Policies that use
         UIDs only or  that  are  not  specific  to  the  current
         Solaris release should use suser.

So, if all you are going to do is assign executables that are going to run as uid=0, then suser is appropriate. If
you plan and using privileges, then you should use solaris.
0
 

Author Closing Comment

by:beer9
Comment Utility
Thanks blu :-)
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now