1 |
Hi, when I'm in enforcing mode as a root and I try to change my role to |
2 |
portage_r, I get this: |
3 |
|
4 |
root # newrole -r portage_r |
5 |
Authenticating root. |
6 |
Password: |
7 |
newrole: incorrect password for root |
8 |
|
9 |
there is no avc message in dmesg regarding this, changing to other roles |
10 |
works smoothly. Also if I turn back to permissive mode, change the role |
11 |
to portage_r and then turn on the enforcing mode again, it works. |
12 |
|
13 |
I guess I just totally misunderstood the whole idea about portage_r or |
14 |
is something else wrong? It seems that by default I can't change role |
15 |
once in portage_r role ( bash: /usr/bin/newrole: Permission denied ). |
16 |
|
17 |
Also I'd like to ask how do I add the root:portage_t:portage_r context |
18 |
to the contexts available straight during login? |
19 |
|
20 |
--jd |
21 |
|
22 |
PS: I'm sorry for raising these beginners questions, but I've looked up |
23 |
some docs regarding selinux and didn't find an answer - is there some |
24 |
"how to start with selinux" apart the docs at gentoo-hardened pages and |
25 |
the outdated faq at nsa's web? |
26 |
|
27 |
-- |
28 |
gentoo-hardened@g.o mailing list |