How to determine the role of a user
Anurup Mishra
anurupmishra1 at yahoo.com
Tue Apr 13 21:09:00 UTC 2004
Hi,
I am new to SELinux and recently I am able to install
Fedora Core 2 test 2 on on machine.
I want to implement a role based access control in one
of my Java Stand Alone application.
During experimentation, when I tried to find the
context of an another user as root, I got following
message:
[root at v60x-1 root]# id --context n1gsps
id: cannot display context when selinux not enabled or
when displaying the id of a different user
Now my first question is how do I figure out the role
of another user. Do I need to tweak the policy to
achieve this?? Could someone please navigate me on
this.
Second, how do I figure out the role of a user from a
Java Application. As of now I am trying id command
from java exec. Please suggest if you know any better
alternative.
warm regards,
Anurup Mishra
__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html
More information about the fedora-selinux-list
mailing list