Thank for your suggestion! could you tell me detail! or a link relate it!
2014-05-28 0:57 GMT+07:00 Stephen Smalley <sds@xxxxxxxxxxxxx>:
On 05/27/2014 01:45 PM, toản cù wrote:> when I checked context of user by command *# id,* i have context of
> 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)
> selinux user :> *context=staff_u:staff_r:staff_t:s0-s0:c0.c1023*
> uid=502(ToanCu) gid=503(ToanCu) groups=503(ToanCu)
>
> I want to change the context above to : *context:
> staff_u:sysadm_r:staff_t:s0-s0:c0.c1023*
>newrole -r sysadm_r
> Look forward your help!
>
> Thanks!
or
sudo -r sysadm_r <command>
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
_______________________________________________ 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.