change selinux user's roles

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

 



Hi all!

I want to change a selinux user's role 
Examble: 
   Linux account: ToanCu and relation with SELinux user staff_u (staff_u can access a number of roles staff_r, system_r, unconfiled_r, sysadm_r
when I checked context of user by command # id, i have context of selinux user : 
uid=502(ToanCu) gid=503(ToanCu) groups=503(ToanCu) context=staff_u:staff_r:staff_t:s0-s0:c0.c1023

I want to change the context above to : context: staff_u:sysadm_r:staff_t:s0-s0:c0.c1023

Look forward your help!

Thanks!

--
Mr.Toan-Cu Xuan

School of Electronics and Telecommunications

Hanoi University of Science and Technology

1 Dai Co Viet, Ha noi, Viet nam.

Phone: 01656228762

Email:xuantoanbkfet@xxxxxxxxx

_______________________________________________
Selinux mailing list
Selinux@xxxxxxxxxxxxx
To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx.
To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux