Adam Sroka wrote:

Adam Sroka wrote:

Makurin Roman wrote:

Hi All!
It`s my first post to this list so be patient :)
I`ve got a problem with sys-apps/shadow, I can`t
modify /etc/passwd or /etc/group files with groupadd and
adduser therefore I can`t merge all apps that trying to alter
those files(like hal, pmount, etc.....)

I convert default-2005.1 profile to selinux and do all steps like in selinux handbook

What I need to do to fix that problem ?

Thanks

PS: Sorry for my english

What is the error that you are getting?


Assuming that SELinux is enabled, and that the error you are getting is something like "can't open file..." Try this:

restorecon /etc/group
restorecon /etc/passwd
restorecon /etc/shadow

P.S. And if that works, DO NOT edit any of these files by hand in the future or the same thing will happen.

--
[email protected] mailing list

Reply via email to