how does euid, eguid, uid, guid mentioned in /etc/security/exec_attr affect the RBAC ?

Posted on 2009-04-26
Last Modified: 2013-12-27
If a command like /usr/sbin/auditd is assigned to the role auditrole, What would be the uid, euid in all the three condition mentioned if the command /usr/sbin/auditd is being run from role's shell. Thanks!
#cat /etc/security/exec_attr 

Audit User:suser:cmd:::/usr/sbin/auditd:uid=0

Audit User:suser:cmd:::/usr/sbin/auditd:euid=0

Audit User:suser:cmd:::/usr/sbin/auditd:uid=0,euid=0

Open in new window

Question by:beer9
    LVL 22

    Accepted Solution

    Using uid=0 sets both the euid and the uid to 0 in the process. Setting euid=0 only sets the euid and leaves the
    uid alone. The last one is redundant, since uid=0 implies euid=0 as well.

    Author Closing Comment

    Thanks blu :-)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    About FreeBSD Jails In FreeBSD, jails are a way of doing operating system level virtualization.  The basis of FreeBSD jails is chroot (, which changes the root directory of processes.  As a…
    Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
    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…
    In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

    737 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

    22 Experts available now in Live!

    Get 1:1 Help Now