user_u:user_r:consoletype_t
[root@localhost utils]# ./getconlist root
root:sysadm_r:sysadm_t
[root@localhost utils]# ./getseuser meego
seuser: user_u, level (null)
Context 0 user_u:user_r:consoletype_t
[root@localhost utils]# ./getseuser root
seuser: root, level (null)
Context 0 root:sysadm_r:sysadm_t
(I dont know but the getseuser dint work until I changed the code
if (argc != 2). )
Regards
Madhu.
On Fri, Jun 24, 2011 at 3:09 PM, Stephen Smalley <sds@xxxxxxxxxxxxx> wrote:
On Fri, 2011-06-24 at 14:52 +0000, c.r.madhusudhanan@xxxxxxxxx wrote:
> attached for your reference.
What do the libselinux/utils say, e.g.:
cd libselinux/utils
./getconlist user_u system_u:system_r:local_login_t
./getseuser root system_u:system_r:local_login_t
--
Stephen Smalley
National Security Agency