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

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

beer9Asked:
Who is Participating?
 
Brian UtterbackPrinciple Software EngineerCommented:
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.
0
 
beer9Author Commented:
Thanks blu :-)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.