How to determine the role of a user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux