coreutils is installed, cannot su -, and cannot add user still running as root
Antonio Olivares
olivares14031 at yahoo.com
Thu Apr 24 23:11:21 UTC 2008
--- Will Woods <wwoods at redhat.com> wrote:
> On Mon, 2008-04-07 at 05:46 -0700, Antonio Olivares
> wrote:
> > Dear all,
> >
> > I have run the updates on this machine, the fedora
> 7
> > machine updated to rawhide. I cannot add users
> and
> > still cannot add users to troubleshoot errors.
>
> If you upgraded from F7 you may have hit this bug:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=443852
> "..users have user_u instead of unconfined_u (su
> "missing")"
>
> Run "id -Z"; if it says "user_u" then you hit this
> bug.
>
> To fix the problem, you can run:
> semanage login -m -s unconfined_u -r
> SystemLow-SystemHigh __default__
>
> A fixed selinux-policy package will be available
> soon.
>
> -w
>
>
>
>
> > --
> fedora-test-list mailing list
> fedora-test-list at redhat.com
> To unsubscribe:
>
https://www.redhat.com/mailman/listinfo/fedora-test-list
Will,
Thanks for letting me know. Dan told me to do the
following:
I would try the following commands, they should have
executed during
the
upgrade.
# semanage user -a -S targeted -P user -R
"unconfined_r system_r" -r
s0-s0:c0.c1023 unconfined_u
# semanage login -m -S targeted -P user -s
"unconfined_u" -r
s0-s0:c0.c1023 __default__
# semanage login -m -S targeted -P user -s
"unconfined_u" -r
s0-s0:c0.c1023 root
It since has cured the problem. Selinux got in the
way, I never suspected it. Machine has been running
beautifully since.
Regards,
Antonio
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
More information about the fedora-test-list
mailing list